 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.341857 -3.057136)', '2026-08-04 14:22:23', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341976 -3.057082)'), GeomFromEWKT('SRID=4674;POINT (-39.341857 -3.057136)'))) / (select extract(epoch from '2026-08-04 14:22:23'::timestamp) - extract(epoch from '2026-08-04 14:22:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341976 -3.057082)'), GeomFromEWKT('SRID=4674;POINT (-39.341857 -3.057136)'))) / (select extract(epoch from '2026-08-04 14:22:23'::timestamp) - extract(epoch from '2026-08-04 14: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'), 48166, 'SRID=4674;POINT (-39.341736 -3.057183)', '2026-08-04 14:22:30', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341857 -3.057136)'), GeomFromEWKT('SRID=4674;POINT (-39.341736 -3.057183)'))) / (select extract(epoch from '2026-08-04 14:22:30'::timestamp) - extract(epoch from '2026-08-04 14:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341857 -3.057136)'), GeomFromEWKT('SRID=4674;POINT (-39.341736 -3.057183)'))) / (select extract(epoch from '2026-08-04 14:22:30'::timestamp) - extract(epoch from '2026-08-04 14:22: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'), 48166, 'SRID=4674;POINT (-39.341641 -3.05724)', '2026-08-04 14:22:37', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341736 -3.057183)'), GeomFromEWKT('SRID=4674;POINT (-39.341641 -3.05724)'))) / (select extract(epoch from '2026-08-04 14:22:37'::timestamp) - extract(epoch from '2026-08-04 14:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341736 -3.057183)'), GeomFromEWKT('SRID=4674;POINT (-39.341641 -3.05724)'))) / (select extract(epoch from '2026-08-04 14:22:37'::timestamp) - extract(epoch from '2026-08-04 14: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'), 48166, 'SRID=4674;POINT (-39.341567 -3.057285)', '2026-08-04 14:22:44', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341641 -3.05724)'), GeomFromEWKT('SRID=4674;POINT (-39.341567 -3.057285)'))) / (select extract(epoch from '2026-08-04 14:22:44'::timestamp) - extract(epoch from '2026-08-04 14:22:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341641 -3.05724)'), GeomFromEWKT('SRID=4674;POINT (-39.341567 -3.057285)'))) / (select extract(epoch from '2026-08-04 14:22:44'::timestamp) - extract(epoch from '2026-08-04 14: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'), 48166, 'SRID=4674;POINT (-39.341461 -3.057328)', '2026-08-04 14:22:52', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341567 -3.057285)'), GeomFromEWKT('SRID=4674;POINT (-39.341461 -3.057328)'))) / (select extract(epoch from '2026-08-04 14:22:52'::timestamp) - extract(epoch from '2026-08-04 14:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341567 -3.057285)'), GeomFromEWKT('SRID=4674;POINT (-39.341461 -3.057328)'))) / (select extract(epoch from '2026-08-04 14:22:52'::timestamp) - extract(epoch from '2026-08-04 14:22: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'), 48166, 'SRID=4674;POINT (-39.34144 -3.05733)', '2026-08-04 14:22:53', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341461 -3.057328)'), GeomFromEWKT('SRID=4674;POINT (-39.34144 -3.05733)'))) / (select extract(epoch from '2026-08-04 14:22:53'::timestamp) - extract(epoch from '2026-08-04 14:22:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341461 -3.057328)'), GeomFromEWKT('SRID=4674;POINT (-39.34144 -3.05733)'))) / (select extract(epoch from '2026-08-04 14:22:53'::timestamp) - extract(epoch from '2026-08-04 14: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'), 48166, 'SRID=4674;POINT (-39.341375 -3.057335)', '2026-08-04 14:22:57', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34144 -3.05733)'), GeomFromEWKT('SRID=4674;POINT (-39.341375 -3.057335)'))) / (select extract(epoch from '2026-08-04 14:22:57'::timestamp) - extract(epoch from '2026-08-04 14:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34144 -3.05733)'), GeomFromEWKT('SRID=4674;POINT (-39.341375 -3.057335)'))) / (select extract(epoch from '2026-08-04 14:22:57'::timestamp) - extract(epoch from '2026-08-04 14:22:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.3413 -3.057333)', '2026-08-04 14:23:03', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341375 -3.057335)'), GeomFromEWKT('SRID=4674;POINT (-39.3413 -3.057333)'))) / (select extract(epoch from '2026-08-04 14:23:03'::timestamp) - extract(epoch from '2026-08-04 14:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341375 -3.057335)'), GeomFromEWKT('SRID=4674;POINT (-39.3413 -3.057333)'))) / (select extract(epoch from '2026-08-04 14:23:03'::timestamp) - extract(epoch from '2026-08-04 14: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'), 48166, 'SRID=4674;POINT (-39.341238 -3.057351)', '2026-08-04 14:23:09', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3413 -3.057333)'), GeomFromEWKT('SRID=4674;POINT (-39.341238 -3.057351)'))) / (select extract(epoch from '2026-08-04 14:23:09'::timestamp) - extract(epoch from '2026-08-04 14:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3413 -3.057333)'), GeomFromEWKT('SRID=4674;POINT (-39.341238 -3.057351)'))) / (select extract(epoch from '2026-08-04 14:23:09'::timestamp) - extract(epoch from '2026-08-04 14:23:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.341164 -3.05735)', '2026-08-04 14:23:15', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341238 -3.057351)'), GeomFromEWKT('SRID=4674;POINT (-39.341164 -3.05735)'))) / (select extract(epoch from '2026-08-04 14:23:15'::timestamp) - extract(epoch from '2026-08-04 14:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341238 -3.057351)'), GeomFromEWKT('SRID=4674;POINT (-39.341164 -3.05735)'))) / (select extract(epoch from '2026-08-04 14:23:15'::timestamp) - extract(epoch from '2026-08-04 14:23: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'), 48166, 'SRID=4674;POINT (-39.341151 -3.05735)', '2026-08-04 14:23:21', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341164 -3.05735)'), GeomFromEWKT('SRID=4674;POINT (-39.341151 -3.05735)'))) / (select extract(epoch from '2026-08-04 14:23:21'::timestamp) - extract(epoch from '2026-08-04 14:23:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341164 -3.05735)'), GeomFromEWKT('SRID=4674;POINT (-39.341151 -3.05735)'))) / (select extract(epoch from '2026-08-04 14:23:21'::timestamp) - extract(epoch from '2026-08-04 14:23:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.341155 -3.057335)', '2026-08-04 14:23:31', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341151 -3.05735)'), GeomFromEWKT('SRID=4674;POINT (-39.341155 -3.057335)'))) / (select extract(epoch from '2026-08-04 14:23:31'::timestamp) - extract(epoch from '2026-08-04 14:23:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341151 -3.05735)'), GeomFromEWKT('SRID=4674;POINT (-39.341155 -3.057335)'))) / (select extract(epoch from '2026-08-04 14:23:31'::timestamp) - extract(epoch from '2026-08-04 14:23: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'), 48166, 'SRID=4674;POINT (-39.3412 -3.057332)', '2026-08-04 14:23:37', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341155 -3.057335)'), GeomFromEWKT('SRID=4674;POINT (-39.3412 -3.057332)'))) / (select extract(epoch from '2026-08-04 14:23:37'::timestamp) - extract(epoch from '2026-08-04 14:23:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341155 -3.057335)'), GeomFromEWKT('SRID=4674;POINT (-39.3412 -3.057332)'))) / (select extract(epoch from '2026-08-04 14:23:37'::timestamp) - extract(epoch from '2026-08-04 14:23: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'), 48166, 'SRID=4674;POINT (-39.341227 -3.057317)', '2026-08-04 14:23:43', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3412 -3.057332)'), GeomFromEWKT('SRID=4674;POINT (-39.341227 -3.057317)'))) / (select extract(epoch from '2026-08-04 14:23:43'::timestamp) - extract(epoch from '2026-08-04 14:23:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3412 -3.057332)'), GeomFromEWKT('SRID=4674;POINT (-39.341227 -3.057317)'))) / (select extract(epoch from '2026-08-04 14:23:43'::timestamp) - extract(epoch from '2026-08-04 14: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'), 48166, 'SRID=4674;POINT (-39.341285 -3.057326)', '2026-08-04 14:23:52', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341227 -3.057317)'), GeomFromEWKT('SRID=4674;POINT (-39.341285 -3.057326)'))) / (select extract(epoch from '2026-08-04 14:23:52'::timestamp) - extract(epoch from '2026-08-04 14:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341227 -3.057317)'), GeomFromEWKT('SRID=4674;POINT (-39.341285 -3.057326)'))) / (select extract(epoch from '2026-08-04 14:23:52'::timestamp) - extract(epoch from '2026-08-04 14:23:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.341315 -3.057334)', '2026-08-04 14:23:58', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341285 -3.057326)'), GeomFromEWKT('SRID=4674;POINT (-39.341315 -3.057334)'))) / (select extract(epoch from '2026-08-04 14:23:58'::timestamp) - extract(epoch from '2026-08-04 14:23:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341285 -3.057326)'), GeomFromEWKT('SRID=4674;POINT (-39.341315 -3.057334)'))) / (select extract(epoch from '2026-08-04 14:23:58'::timestamp) - extract(epoch from '2026-08-04 14: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'), 48166, 'SRID=4674;POINT (-39.341352 -3.057338)', '2026-08-04 14:24:04', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341315 -3.057334)'), GeomFromEWKT('SRID=4674;POINT (-39.341352 -3.057338)'))) / (select extract(epoch from '2026-08-04 14:24:04'::timestamp) - extract(epoch from '2026-08-04 14:23:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341315 -3.057334)'), GeomFromEWKT('SRID=4674;POINT (-39.341352 -3.057338)'))) / (select extract(epoch from '2026-08-04 14:24:04'::timestamp) - extract(epoch from '2026-08-04 14:23:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.341384 -3.057347)', '2026-08-04 14:24:11', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341352 -3.057338)'), GeomFromEWKT('SRID=4674;POINT (-39.341384 -3.057347)'))) / (select extract(epoch from '2026-08-04 14:24:11'::timestamp) - extract(epoch from '2026-08-04 14:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341352 -3.057338)'), GeomFromEWKT('SRID=4674;POINT (-39.341384 -3.057347)'))) / (select extract(epoch from '2026-08-04 14:24:11'::timestamp) - extract(epoch from '2026-08-04 14:24: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'), 48166, 'SRID=4674;POINT (-39.341439 -3.057327)', '2026-08-04 14:24:19', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341384 -3.057347)'), GeomFromEWKT('SRID=4674;POINT (-39.341439 -3.057327)'))) / (select extract(epoch from '2026-08-04 14:24:19'::timestamp) - extract(epoch from '2026-08-04 14:24:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341384 -3.057347)'), GeomFromEWKT('SRID=4674;POINT (-39.341439 -3.057327)'))) / (select extract(epoch from '2026-08-04 14:24:19'::timestamp) - extract(epoch from '2026-08-04 14:24: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'), 48166, 'SRID=4674;POINT (-39.341469 -3.057305)', '2026-08-04 14:24:26', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341439 -3.057327)'), GeomFromEWKT('SRID=4674;POINT (-39.341469 -3.057305)'))) / (select extract(epoch from '2026-08-04 14:24:26'::timestamp) - extract(epoch from '2026-08-04 14:24:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341439 -3.057327)'), GeomFromEWKT('SRID=4674;POINT (-39.341469 -3.057305)'))) / (select extract(epoch from '2026-08-04 14:24:26'::timestamp) - extract(epoch from '2026-08-04 14:24:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.341499 -3.057284)', '2026-08-04 14:24:33', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341469 -3.057305)'), GeomFromEWKT('SRID=4674;POINT (-39.341499 -3.057284)'))) / (select extract(epoch from '2026-08-04 14:24:33'::timestamp) - extract(epoch from '2026-08-04 14:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341469 -3.057305)'), GeomFromEWKT('SRID=4674;POINT (-39.341499 -3.057284)'))) / (select extract(epoch from '2026-08-04 14:24:33'::timestamp) - extract(epoch from '2026-08-04 14:24: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'), 48166, 'SRID=4674;POINT (-39.341538 -3.057273)', '2026-08-04 14:24:40', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341499 -3.057284)'), GeomFromEWKT('SRID=4674;POINT (-39.341538 -3.057273)'))) / (select extract(epoch from '2026-08-04 14:24:40'::timestamp) - extract(epoch from '2026-08-04 14:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341499 -3.057284)'), GeomFromEWKT('SRID=4674;POINT (-39.341538 -3.057273)'))) / (select extract(epoch from '2026-08-04 14:24:40'::timestamp) - extract(epoch from '2026-08-04 14: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'), 48166, 'SRID=4674;POINT (-39.341573 -3.057268)', '2026-08-04 14:24:47', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341538 -3.057273)'), GeomFromEWKT('SRID=4674;POINT (-39.341573 -3.057268)'))) / (select extract(epoch from '2026-08-04 14:24:47'::timestamp) - extract(epoch from '2026-08-04 14:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341538 -3.057273)'), GeomFromEWKT('SRID=4674;POINT (-39.341573 -3.057268)'))) / (select extract(epoch from '2026-08-04 14:24:47'::timestamp) - extract(epoch from '2026-08-04 14:24: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'), 48166, 'SRID=4674;POINT (-39.341627 -3.057257)', '2026-08-04 14:24:54', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341573 -3.057268)'), GeomFromEWKT('SRID=4674;POINT (-39.341627 -3.057257)'))) / (select extract(epoch from '2026-08-04 14:24:54'::timestamp) - extract(epoch from '2026-08-04 14:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341573 -3.057268)'), GeomFromEWKT('SRID=4674;POINT (-39.341627 -3.057257)'))) / (select extract(epoch from '2026-08-04 14:24:54'::timestamp) - extract(epoch from '2026-08-04 14:24: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'), 48166, 'SRID=4674;POINT (-39.341641 -3.057249)', '2026-08-04 14:24:57', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341627 -3.057257)'), GeomFromEWKT('SRID=4674;POINT (-39.341641 -3.057249)'))) / (select extract(epoch from '2026-08-04 14:24:57'::timestamp) - extract(epoch from '2026-08-04 14:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341627 -3.057257)'), GeomFromEWKT('SRID=4674;POINT (-39.341641 -3.057249)'))) / (select extract(epoch from '2026-08-04 14:24:57'::timestamp) - extract(epoch from '2026-08-04 14:24:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.34165 -3.057234)', '2026-08-04 14:25:01', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341641 -3.057249)'), GeomFromEWKT('SRID=4674;POINT (-39.34165 -3.057234)'))) / (select extract(epoch from '2026-08-04 14:25:01'::timestamp) - extract(epoch from '2026-08-04 14:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341641 -3.057249)'), GeomFromEWKT('SRID=4674;POINT (-39.34165 -3.057234)'))) / (select extract(epoch from '2026-08-04 14:25:01'::timestamp) - extract(epoch from '2026-08-04 14:24:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.341691 -3.057226)', '2026-08-04 14:25:10', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34165 -3.057234)'), GeomFromEWKT('SRID=4674;POINT (-39.341691 -3.057226)'))) / (select extract(epoch from '2026-08-04 14:25:10'::timestamp) - extract(epoch from '2026-08-04 14:25:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34165 -3.057234)'), GeomFromEWKT('SRID=4674;POINT (-39.341691 -3.057226)'))) / (select extract(epoch from '2026-08-04 14:25:10'::timestamp) - extract(epoch from '2026-08-04 14:25:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.341741 -3.057207)', '2026-08-04 14:25:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341691 -3.057226)'), GeomFromEWKT('SRID=4674;POINT (-39.341741 -3.057207)'))) / (select extract(epoch from '2026-08-04 14:25:16'::timestamp) - extract(epoch from '2026-08-04 14:25:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341691 -3.057226)'), GeomFromEWKT('SRID=4674;POINT (-39.341741 -3.057207)'))) / (select extract(epoch from '2026-08-04 14:25:16'::timestamp) - extract(epoch from '2026-08-04 14:25: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'), 48166, 'SRID=4674;POINT (-39.341764 -3.057188)', '2026-08-04 14:25:22', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341741 -3.057207)'), GeomFromEWKT('SRID=4674;POINT (-39.341764 -3.057188)'))) / (select extract(epoch from '2026-08-04 14:25:22'::timestamp) - extract(epoch from '2026-08-04 14:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341741 -3.057207)'), GeomFromEWKT('SRID=4674;POINT (-39.341764 -3.057188)'))) / (select extract(epoch from '2026-08-04 14:25:22'::timestamp) - extract(epoch from '2026-08-04 14:25:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.34178 -3.05716)', '2026-08-04 14:25:30', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341764 -3.057188)'), GeomFromEWKT('SRID=4674;POINT (-39.34178 -3.05716)'))) / (select extract(epoch from '2026-08-04 14:25:30'::timestamp) - extract(epoch from '2026-08-04 14:25:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341764 -3.057188)'), GeomFromEWKT('SRID=4674;POINT (-39.34178 -3.05716)'))) / (select extract(epoch from '2026-08-04 14:25:30'::timestamp) - extract(epoch from '2026-08-04 14:25: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'), 48166, 'SRID=4674;POINT (-39.341821 -3.057143)', '2026-08-04 14:25:37', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34178 -3.05716)'), GeomFromEWKT('SRID=4674;POINT (-39.341821 -3.057143)'))) / (select extract(epoch from '2026-08-04 14:25:37'::timestamp) - extract(epoch from '2026-08-04 14:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34178 -3.05716)'), GeomFromEWKT('SRID=4674;POINT (-39.341821 -3.057143)'))) / (select extract(epoch from '2026-08-04 14:25:37'::timestamp) - extract(epoch from '2026-08-04 14:25:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.341857 -3.057122)', '2026-08-04 14:25:43', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341821 -3.057143)'), GeomFromEWKT('SRID=4674;POINT (-39.341857 -3.057122)'))) / (select extract(epoch from '2026-08-04 14:25:43'::timestamp) - extract(epoch from '2026-08-04 14:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341821 -3.057143)'), GeomFromEWKT('SRID=4674;POINT (-39.341857 -3.057122)'))) / (select extract(epoch from '2026-08-04 14:25:43'::timestamp) - extract(epoch from '2026-08-04 14:25: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'), 48166, 'SRID=4674;POINT (-39.341889 -3.05713)', '2026-08-04 14:25:50', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341857 -3.057122)'), GeomFromEWKT('SRID=4674;POINT (-39.341889 -3.05713)'))) / (select extract(epoch from '2026-08-04 14:25:50'::timestamp) - extract(epoch from '2026-08-04 14:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341857 -3.057122)'), GeomFromEWKT('SRID=4674;POINT (-39.341889 -3.05713)'))) / (select extract(epoch from '2026-08-04 14:25:50'::timestamp) - extract(epoch from '2026-08-04 14:25:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.341896 -3.057118)', '2026-08-04 14:25:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341889 -3.05713)'), GeomFromEWKT('SRID=4674;POINT (-39.341896 -3.057118)'))) / (select extract(epoch from '2026-08-04 14:25:57'::timestamp) - extract(epoch from '2026-08-04 14:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341889 -3.05713)'), GeomFromEWKT('SRID=4674;POINT (-39.341896 -3.057118)'))) / (select extract(epoch from '2026-08-04 14:25:57'::timestamp) - extract(epoch from '2026-08-04 14:25:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.341926 -3.057101)', '2026-08-04 14:26:06', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341896 -3.057118)'), GeomFromEWKT('SRID=4674;POINT (-39.341926 -3.057101)'))) / (select extract(epoch from '2026-08-04 14:26:06'::timestamp) - extract(epoch from '2026-08-04 14:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341896 -3.057118)'), GeomFromEWKT('SRID=4674;POINT (-39.341926 -3.057101)'))) / (select extract(epoch from '2026-08-04 14:26:06'::timestamp) - extract(epoch from '2026-08-04 14: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'), 48166, 'SRID=4674;POINT (-39.34196 -3.05708)', '2026-08-04 14:26:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341926 -3.057101)'), GeomFromEWKT('SRID=4674;POINT (-39.34196 -3.05708)'))) / (select extract(epoch from '2026-08-04 14:26:12'::timestamp) - extract(epoch from '2026-08-04 14:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341926 -3.057101)'), GeomFromEWKT('SRID=4674;POINT (-39.34196 -3.05708)'))) / (select extract(epoch from '2026-08-04 14:26:12'::timestamp) - extract(epoch from '2026-08-04 14:26:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342004 -3.057057)', '2026-08-04 14:26:19', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34196 -3.05708)'), GeomFromEWKT('SRID=4674;POINT (-39.342004 -3.057057)'))) / (select extract(epoch from '2026-08-04 14:26:19'::timestamp) - extract(epoch from '2026-08-04 14:26:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34196 -3.05708)'), GeomFromEWKT('SRID=4674;POINT (-39.342004 -3.057057)'))) / (select extract(epoch from '2026-08-04 14:26:19'::timestamp) - extract(epoch from '2026-08-04 14:26:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342062 -3.057034)', '2026-08-04 14:26:27', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342004 -3.057057)'), GeomFromEWKT('SRID=4674;POINT (-39.342062 -3.057034)'))) / (select extract(epoch from '2026-08-04 14:26:27'::timestamp) - extract(epoch from '2026-08-04 14:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342004 -3.057057)'), GeomFromEWKT('SRID=4674;POINT (-39.342062 -3.057034)'))) / (select extract(epoch from '2026-08-04 14:26:27'::timestamp) - extract(epoch from '2026-08-04 14: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'), 48166, 'SRID=4674;POINT (-39.342049 -3.057034)', '2026-08-04 14:26:35', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342062 -3.057034)'), GeomFromEWKT('SRID=4674;POINT (-39.342049 -3.057034)'))) / (select extract(epoch from '2026-08-04 14:26:35'::timestamp) - extract(epoch from '2026-08-04 14:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342062 -3.057034)'), GeomFromEWKT('SRID=4674;POINT (-39.342049 -3.057034)'))) / (select extract(epoch from '2026-08-04 14:26:35'::timestamp) - extract(epoch from '2026-08-04 14:26:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342049 -3.05705)', '2026-08-04 14:26:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342049 -3.057034)'), GeomFromEWKT('SRID=4674;POINT (-39.342049 -3.05705)'))) / (select extract(epoch from '2026-08-04 14:26:45'::timestamp) - extract(epoch from '2026-08-04 14:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342049 -3.057034)'), GeomFromEWKT('SRID=4674;POINT (-39.342049 -3.05705)'))) / (select extract(epoch from '2026-08-04 14:26:45'::timestamp) - extract(epoch from '2026-08-04 14:26: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'), 48166, 'SRID=4674;POINT (-39.342054 -3.057075)', '2026-08-04 14:26:53', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342049 -3.05705)'), GeomFromEWKT('SRID=4674;POINT (-39.342054 -3.057075)'))) / (select extract(epoch from '2026-08-04 14:26:53'::timestamp) - extract(epoch from '2026-08-04 14:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342049 -3.05705)'), GeomFromEWKT('SRID=4674;POINT (-39.342054 -3.057075)'))) / (select extract(epoch from '2026-08-04 14:26:53'::timestamp) - extract(epoch from '2026-08-04 14: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'), 48166, 'SRID=4674;POINT (-39.342058 -3.057087)', '2026-08-04 14:27:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342054 -3.057075)'), GeomFromEWKT('SRID=4674;POINT (-39.342058 -3.057087)'))) / (select extract(epoch from '2026-08-04 14:27:00'::timestamp) - extract(epoch from '2026-08-04 14:26:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342054 -3.057075)'), GeomFromEWKT('SRID=4674;POINT (-39.342058 -3.057087)'))) / (select extract(epoch from '2026-08-04 14:27:00'::timestamp) - extract(epoch from '2026-08-04 14:26: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'), 48166, 'SRID=4674;POINT (-39.342004 -3.057097)', '2026-08-04 14:27:07', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342058 -3.057087)'), GeomFromEWKT('SRID=4674;POINT (-39.342004 -3.057097)'))) / (select extract(epoch from '2026-08-04 14:27:07'::timestamp) - extract(epoch from '2026-08-04 14:27:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342058 -3.057087)'), GeomFromEWKT('SRID=4674;POINT (-39.342004 -3.057097)'))) / (select extract(epoch from '2026-08-04 14:27:07'::timestamp) - extract(epoch from '2026-08-04 14:27: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'), 48166, 'SRID=4674;POINT (-39.341966 -3.057109)', '2026-08-04 14:27:14', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342004 -3.057097)'), GeomFromEWKT('SRID=4674;POINT (-39.341966 -3.057109)'))) / (select extract(epoch from '2026-08-04 14:27:14'::timestamp) - extract(epoch from '2026-08-04 14:27:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342004 -3.057097)'), GeomFromEWKT('SRID=4674;POINT (-39.341966 -3.057109)'))) / (select extract(epoch from '2026-08-04 14:27:14'::timestamp) - extract(epoch from '2026-08-04 14: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'), 48166, 'SRID=4674;POINT (-39.341964 -3.057116)', '2026-08-04 14:27:21', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341966 -3.057109)'), GeomFromEWKT('SRID=4674;POINT (-39.341964 -3.057116)'))) / (select extract(epoch from '2026-08-04 14:27:21'::timestamp) - extract(epoch from '2026-08-04 14:27:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341966 -3.057109)'), GeomFromEWKT('SRID=4674;POINT (-39.341964 -3.057116)'))) / (select extract(epoch from '2026-08-04 14:27:21'::timestamp) - extract(epoch from '2026-08-04 14: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'), 48166, 'SRID=4674;POINT (-39.341998 -3.057136)', '2026-08-04 14:27:30', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341964 -3.057116)'), GeomFromEWKT('SRID=4674;POINT (-39.341998 -3.057136)'))) / (select extract(epoch from '2026-08-04 14:27:30'::timestamp) - extract(epoch from '2026-08-04 14:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341964 -3.057116)'), GeomFromEWKT('SRID=4674;POINT (-39.341998 -3.057136)'))) / (select extract(epoch from '2026-08-04 14:27:30'::timestamp) - extract(epoch from '2026-08-04 14:27: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'), 48166, 'SRID=4674;POINT (-39.342021 -3.057144)', '2026-08-04 14:27:38', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341998 -3.057136)'), GeomFromEWKT('SRID=4674;POINT (-39.342021 -3.057144)'))) / (select extract(epoch from '2026-08-04 14:27:38'::timestamp) - extract(epoch from '2026-08-04 14:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341998 -3.057136)'), GeomFromEWKT('SRID=4674;POINT (-39.342021 -3.057144)'))) / (select extract(epoch from '2026-08-04 14:27:38'::timestamp) - extract(epoch from '2026-08-04 14:27: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'), 48166, 'SRID=4674;POINT (-39.34203 -3.057142)', '2026-08-04 14:27:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342021 -3.057144)'), GeomFromEWKT('SRID=4674;POINT (-39.34203 -3.057142)'))) / (select extract(epoch from '2026-08-04 14:27:44'::timestamp) - extract(epoch from '2026-08-04 14:27:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342021 -3.057144)'), GeomFromEWKT('SRID=4674;POINT (-39.34203 -3.057142)'))) / (select extract(epoch from '2026-08-04 14:27:44'::timestamp) - extract(epoch from '2026-08-04 14: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'), 48166, 'SRID=4674;POINT (-39.342055 -3.05715)', '2026-08-04 14:28:19', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34203 -3.057142)'), GeomFromEWKT('SRID=4674;POINT (-39.342055 -3.05715)'))) / (select extract(epoch from '2026-08-04 14:28:19'::timestamp) - extract(epoch from '2026-08-04 14:27:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34203 -3.057142)'), GeomFromEWKT('SRID=4674;POINT (-39.342055 -3.05715)'))) / (select extract(epoch from '2026-08-04 14:28:19'::timestamp) - extract(epoch from '2026-08-04 14: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'), 48166, 'SRID=4674;POINT (-39.342059 -3.057148)', '2026-08-04 14:28:32', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342055 -3.05715)'), GeomFromEWKT('SRID=4674;POINT (-39.342059 -3.057148)'))) / (select extract(epoch from '2026-08-04 14:28:32'::timestamp) - extract(epoch from '2026-08-04 14:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342055 -3.05715)'), GeomFromEWKT('SRID=4674;POINT (-39.342059 -3.057148)'))) / (select extract(epoch from '2026-08-04 14:28:32'::timestamp) - extract(epoch from '2026-08-04 14:28:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342059 -3.057175)', '2026-08-04 14:28:44', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342059 -3.057148)'), GeomFromEWKT('SRID=4674;POINT (-39.342059 -3.057175)'))) / (select extract(epoch from '2026-08-04 14:28:44'::timestamp) - extract(epoch from '2026-08-04 14:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342059 -3.057148)'), GeomFromEWKT('SRID=4674;POINT (-39.342059 -3.057175)'))) / (select extract(epoch from '2026-08-04 14:28:44'::timestamp) - extract(epoch from '2026-08-04 14:28: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'), 48166, 'SRID=4674;POINT (-39.342049 -3.057177)', '2026-08-04 14:29:30', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342059 -3.057175)'), GeomFromEWKT('SRID=4674;POINT (-39.342049 -3.057177)'))) / (select extract(epoch from '2026-08-04 14:29:30'::timestamp) - extract(epoch from '2026-08-04 14:28:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342059 -3.057175)'), GeomFromEWKT('SRID=4674;POINT (-39.342049 -3.057177)'))) / (select extract(epoch from '2026-08-04 14:29:30'::timestamp) - extract(epoch from '2026-08-04 14: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'), 48166, 'SRID=4674;POINT (-39.342008 -3.057184)', '2026-08-04 14:29:39', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342049 -3.057177)'), GeomFromEWKT('SRID=4674;POINT (-39.342008 -3.057184)'))) / (select extract(epoch from '2026-08-04 14:29:39'::timestamp) - extract(epoch from '2026-08-04 14:29:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342049 -3.057177)'), GeomFromEWKT('SRID=4674;POINT (-39.342008 -3.057184)'))) / (select extract(epoch from '2026-08-04 14:29:39'::timestamp) - extract(epoch from '2026-08-04 14:29:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.341984 -3.057176)', '2026-08-04 14:30:34', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342008 -3.057184)'), GeomFromEWKT('SRID=4674;POINT (-39.341984 -3.057176)'))) / (select extract(epoch from '2026-08-04 14:30:34'::timestamp) - extract(epoch from '2026-08-04 14:29:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342008 -3.057184)'), GeomFromEWKT('SRID=4674;POINT (-39.341984 -3.057176)'))) / (select extract(epoch from '2026-08-04 14:30:34'::timestamp) - extract(epoch from '2026-08-04 14: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'), 48166, 'SRID=4674;POINT (-39.341975 -3.057171)', '2026-08-04 14:30:40', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341984 -3.057176)'), GeomFromEWKT('SRID=4674;POINT (-39.341975 -3.057171)'))) / (select extract(epoch from '2026-08-04 14:30:40'::timestamp) - extract(epoch from '2026-08-04 14:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341984 -3.057176)'), GeomFromEWKT('SRID=4674;POINT (-39.341975 -3.057171)'))) / (select extract(epoch from '2026-08-04 14:30:40'::timestamp) - extract(epoch from '2026-08-04 14:30: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'), 48166, 'SRID=4674;POINT (-39.341973 -3.057156)', '2026-08-04 14:30:46', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341975 -3.057171)'), GeomFromEWKT('SRID=4674;POINT (-39.341973 -3.057156)'))) / (select extract(epoch from '2026-08-04 14:30:46'::timestamp) - extract(epoch from '2026-08-04 14:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341975 -3.057171)'), GeomFromEWKT('SRID=4674;POINT (-39.341973 -3.057156)'))) / (select extract(epoch from '2026-08-04 14:30:46'::timestamp) - extract(epoch from '2026-08-04 14:30: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'), 48166, 'SRID=4674;POINT (-39.341977 -3.057142)', '2026-08-04 14:31:17', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341973 -3.057156)'), GeomFromEWKT('SRID=4674;POINT (-39.341977 -3.057142)'))) / (select extract(epoch from '2026-08-04 14:31:17'::timestamp) - extract(epoch from '2026-08-04 14:30:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341973 -3.057156)'), GeomFromEWKT('SRID=4674;POINT (-39.341977 -3.057142)'))) / (select extract(epoch from '2026-08-04 14:31:17'::timestamp) - extract(epoch from '2026-08-04 14: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'), 48166, 'SRID=4674;POINT (-39.341985 -3.057121)', '2026-08-04 14:31:22', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341977 -3.057142)'), GeomFromEWKT('SRID=4674;POINT (-39.341985 -3.057121)'))) / (select extract(epoch from '2026-08-04 14:31:22'::timestamp) - extract(epoch from '2026-08-04 14:31:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341977 -3.057142)'), GeomFromEWKT('SRID=4674;POINT (-39.341985 -3.057121)'))) / (select extract(epoch from '2026-08-04 14:31:22'::timestamp) - extract(epoch from '2026-08-04 14:31: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'), 48166, 'SRID=4674;POINT (-39.341978 -3.057101)', '2026-08-04 14:31:33', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341985 -3.057121)'), GeomFromEWKT('SRID=4674;POINT (-39.341978 -3.057101)'))) / (select extract(epoch from '2026-08-04 14:31:33'::timestamp) - extract(epoch from '2026-08-04 14:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341985 -3.057121)'), GeomFromEWKT('SRID=4674;POINT (-39.341978 -3.057101)'))) / (select extract(epoch from '2026-08-04 14:31:33'::timestamp) - extract(epoch from '2026-08-04 14: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'), 48166, 'SRID=4674;POINT (-39.34199 -3.05711)', '2026-08-04 14:31:40', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341978 -3.057101)'), GeomFromEWKT('SRID=4674;POINT (-39.34199 -3.05711)'))) / (select extract(epoch from '2026-08-04 14:31:40'::timestamp) - extract(epoch from '2026-08-04 14:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341978 -3.057101)'), GeomFromEWKT('SRID=4674;POINT (-39.34199 -3.05711)'))) / (select extract(epoch from '2026-08-04 14:31:40'::timestamp) - extract(epoch from '2026-08-04 14: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'), 48166, 'SRID=4674;POINT (-39.341989 -3.057176)', '2026-08-04 14:32:52', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34199 -3.05711)'), GeomFromEWKT('SRID=4674;POINT (-39.341989 -3.057176)'))) / (select extract(epoch from '2026-08-04 14:32:52'::timestamp) - extract(epoch from '2026-08-04 14:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34199 -3.05711)'), GeomFromEWKT('SRID=4674;POINT (-39.341989 -3.057176)'))) / (select extract(epoch from '2026-08-04 14:32:52'::timestamp) - extract(epoch from '2026-08-04 14:31: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'), 48166, 'SRID=4674;POINT (-39.341992 -3.057184)', '2026-08-04 14:33:00', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341989 -3.057176)'), GeomFromEWKT('SRID=4674;POINT (-39.341992 -3.057184)'))) / (select extract(epoch from '2026-08-04 14:33:00'::timestamp) - extract(epoch from '2026-08-04 14:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341989 -3.057176)'), GeomFromEWKT('SRID=4674;POINT (-39.341992 -3.057184)'))) / (select extract(epoch from '2026-08-04 14:33:00'::timestamp) - extract(epoch from '2026-08-04 14:32: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'), 48166, 'SRID=4674;POINT (-39.341994 -3.057219)', '2026-08-04 14:33:11', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341992 -3.057184)'), GeomFromEWKT('SRID=4674;POINT (-39.341994 -3.057219)'))) / (select extract(epoch from '2026-08-04 14:33:11'::timestamp) - extract(epoch from '2026-08-04 14:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341992 -3.057184)'), GeomFromEWKT('SRID=4674;POINT (-39.341994 -3.057219)'))) / (select extract(epoch from '2026-08-04 14:33:11'::timestamp) - extract(epoch from '2026-08-04 14:33: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'), 48166, 'SRID=4674;POINT (-39.341987 -3.057221)', '2026-08-04 14:33:17', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341994 -3.057219)'), GeomFromEWKT('SRID=4674;POINT (-39.341987 -3.057221)'))) / (select extract(epoch from '2026-08-04 14:33:17'::timestamp) - extract(epoch from '2026-08-04 14:33:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341994 -3.057219)'), GeomFromEWKT('SRID=4674;POINT (-39.341987 -3.057221)'))) / (select extract(epoch from '2026-08-04 14:33:17'::timestamp) - extract(epoch from '2026-08-04 14: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'), 48166, 'SRID=4674;POINT (-39.341987 -3.057206)', '2026-08-04 14:33:23', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341987 -3.057221)'), GeomFromEWKT('SRID=4674;POINT (-39.341987 -3.057206)'))) / (select extract(epoch from '2026-08-04 14:33:23'::timestamp) - extract(epoch from '2026-08-04 14:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341987 -3.057221)'), GeomFromEWKT('SRID=4674;POINT (-39.341987 -3.057206)'))) / (select extract(epoch from '2026-08-04 14:33:23'::timestamp) - extract(epoch from '2026-08-04 14: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'), 48166, 'SRID=4674;POINT (-39.34199 -3.057187)', '2026-08-04 14:33:29', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341987 -3.057206)'), GeomFromEWKT('SRID=4674;POINT (-39.34199 -3.057187)'))) / (select extract(epoch from '2026-08-04 14:33:29'::timestamp) - extract(epoch from '2026-08-04 14:33:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341987 -3.057206)'), GeomFromEWKT('SRID=4674;POINT (-39.34199 -3.057187)'))) / (select extract(epoch from '2026-08-04 14:33:29'::timestamp) - extract(epoch from '2026-08-04 14:33:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.341992 -3.057194)', '2026-08-04 14:33:59', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34199 -3.057187)'), GeomFromEWKT('SRID=4674;POINT (-39.341992 -3.057194)'))) / (select extract(epoch from '2026-08-04 14:33:59'::timestamp) - extract(epoch from '2026-08-04 14:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34199 -3.057187)'), GeomFromEWKT('SRID=4674;POINT (-39.341992 -3.057194)'))) / (select extract(epoch from '2026-08-04 14:33:59'::timestamp) - extract(epoch from '2026-08-04 14:33: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'), 48166, 'SRID=4674;POINT (-39.342009 -3.057205)', '2026-08-04 14:34:15', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341992 -3.057194)'), GeomFromEWKT('SRID=4674;POINT (-39.342009 -3.057205)'))) / (select extract(epoch from '2026-08-04 14:34:15'::timestamp) - extract(epoch from '2026-08-04 14:33:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341992 -3.057194)'), GeomFromEWKT('SRID=4674;POINT (-39.342009 -3.057205)'))) / (select extract(epoch from '2026-08-04 14:34:15'::timestamp) - extract(epoch from '2026-08-04 14:33:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342023 -3.057221)', '2026-08-04 14:34:20', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342009 -3.057205)'), GeomFromEWKT('SRID=4674;POINT (-39.342023 -3.057221)'))) / (select extract(epoch from '2026-08-04 14:34:20'::timestamp) - extract(epoch from '2026-08-04 14:34:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342009 -3.057205)'), GeomFromEWKT('SRID=4674;POINT (-39.342023 -3.057221)'))) / (select extract(epoch from '2026-08-04 14:34:20'::timestamp) - extract(epoch from '2026-08-04 14:34: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'), 48166, 'SRID=4674;POINT (-39.342039 -3.057222)', '2026-08-04 14:34:34', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342023 -3.057221)'), GeomFromEWKT('SRID=4674;POINT (-39.342039 -3.057222)'))) / (select extract(epoch from '2026-08-04 14:34:34'::timestamp) - extract(epoch from '2026-08-04 14:34:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342023 -3.057221)'), GeomFromEWKT('SRID=4674;POINT (-39.342039 -3.057222)'))) / (select extract(epoch from '2026-08-04 14:34:34'::timestamp) - extract(epoch from '2026-08-04 14:34:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342038 -3.057225)', '2026-08-04 14:34:40', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342039 -3.057222)'), GeomFromEWKT('SRID=4674;POINT (-39.342038 -3.057225)'))) / (select extract(epoch from '2026-08-04 14:34:40'::timestamp) - extract(epoch from '2026-08-04 14:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342039 -3.057222)'), GeomFromEWKT('SRID=4674;POINT (-39.342038 -3.057225)'))) / (select extract(epoch from '2026-08-04 14:34:40'::timestamp) - extract(epoch from '2026-08-04 14:34:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342024 -3.05724)', '2026-08-04 14:34:50', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342038 -3.057225)'), GeomFromEWKT('SRID=4674;POINT (-39.342024 -3.05724)'))) / (select extract(epoch from '2026-08-04 14:34:50'::timestamp) - extract(epoch from '2026-08-04 14:34:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342038 -3.057225)'), GeomFromEWKT('SRID=4674;POINT (-39.342024 -3.05724)'))) / (select extract(epoch from '2026-08-04 14:34:50'::timestamp) - extract(epoch from '2026-08-04 14:34:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342007 -3.057229)', '2026-08-04 14:35:29', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342024 -3.05724)'), GeomFromEWKT('SRID=4674;POINT (-39.342007 -3.057229)'))) / (select extract(epoch from '2026-08-04 14:35:29'::timestamp) - extract(epoch from '2026-08-04 14:34:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342024 -3.05724)'), GeomFromEWKT('SRID=4674;POINT (-39.342007 -3.057229)'))) / (select extract(epoch from '2026-08-04 14:35:29'::timestamp) - extract(epoch from '2026-08-04 14:34: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'), 48166, 'SRID=4674;POINT (-39.342014 -3.057216)', '2026-08-04 14:36:10', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342007 -3.057229)'), GeomFromEWKT('SRID=4674;POINT (-39.342014 -3.057216)'))) / (select extract(epoch from '2026-08-04 14:36:10'::timestamp) - extract(epoch from '2026-08-04 14:35:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342007 -3.057229)'), GeomFromEWKT('SRID=4674;POINT (-39.342014 -3.057216)'))) / (select extract(epoch from '2026-08-04 14:36:10'::timestamp) - extract(epoch from '2026-08-04 14:35: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'), 48166, 'SRID=4674;POINT (-39.341985 -3.057219)', '2026-08-04 14:36:18', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342014 -3.057216)'), GeomFromEWKT('SRID=4674;POINT (-39.341985 -3.057219)'))) / (select extract(epoch from '2026-08-04 14:36:18'::timestamp) - extract(epoch from '2026-08-04 14:36:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342014 -3.057216)'), GeomFromEWKT('SRID=4674;POINT (-39.341985 -3.057219)'))) / (select extract(epoch from '2026-08-04 14:36:18'::timestamp) - extract(epoch from '2026-08-04 14:36:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.341972 -3.057217)', '2026-08-04 14:36:30', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341985 -3.057219)'), GeomFromEWKT('SRID=4674;POINT (-39.341972 -3.057217)'))) / (select extract(epoch from '2026-08-04 14:36:30'::timestamp) - extract(epoch from '2026-08-04 14:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341985 -3.057219)'), GeomFromEWKT('SRID=4674;POINT (-39.341972 -3.057217)'))) / (select extract(epoch from '2026-08-04 14:36:30'::timestamp) - extract(epoch from '2026-08-04 14:36:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.341971 -3.057212)', '2026-08-04 14:36:36', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341972 -3.057217)'), GeomFromEWKT('SRID=4674;POINT (-39.341971 -3.057212)'))) / (select extract(epoch from '2026-08-04 14:36:36'::timestamp) - extract(epoch from '2026-08-04 14:36:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341972 -3.057217)'), GeomFromEWKT('SRID=4674;POINT (-39.341971 -3.057212)'))) / (select extract(epoch from '2026-08-04 14:36:36'::timestamp) - extract(epoch from '2026-08-04 14:36:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.341978 -3.057188)', '2026-08-04 14:36:46', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341971 -3.057212)'), GeomFromEWKT('SRID=4674;POINT (-39.341978 -3.057188)'))) / (select extract(epoch from '2026-08-04 14:36:46'::timestamp) - extract(epoch from '2026-08-04 14:36:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341971 -3.057212)'), GeomFromEWKT('SRID=4674;POINT (-39.341978 -3.057188)'))) / (select extract(epoch from '2026-08-04 14:36:46'::timestamp) - extract(epoch from '2026-08-04 14:36:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.341994 -3.057166)', '2026-08-04 14:37:07', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341978 -3.057188)'), GeomFromEWKT('SRID=4674;POINT (-39.341994 -3.057166)'))) / (select extract(epoch from '2026-08-04 14:37:07'::timestamp) - extract(epoch from '2026-08-04 14:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341978 -3.057188)'), GeomFromEWKT('SRID=4674;POINT (-39.341994 -3.057166)'))) / (select extract(epoch from '2026-08-04 14:37:07'::timestamp) - extract(epoch from '2026-08-04 14:36: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'), 48166, 'SRID=4674;POINT (-39.341996 -3.057162)', '2026-08-04 14:37:19', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341994 -3.057166)'), GeomFromEWKT('SRID=4674;POINT (-39.341996 -3.057162)'))) / (select extract(epoch from '2026-08-04 14:37:19'::timestamp) - extract(epoch from '2026-08-04 14:37:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341994 -3.057166)'), GeomFromEWKT('SRID=4674;POINT (-39.341996 -3.057162)'))) / (select extract(epoch from '2026-08-04 14:37:19'::timestamp) - extract(epoch from '2026-08-04 14:37: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'), 48166, 'SRID=4674;POINT (-39.342008 -3.057169)', '2026-08-04 14:37:30', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341996 -3.057162)'), GeomFromEWKT('SRID=4674;POINT (-39.342008 -3.057169)'))) / (select extract(epoch from '2026-08-04 14:37:30'::timestamp) - extract(epoch from '2026-08-04 14:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341996 -3.057162)'), GeomFromEWKT('SRID=4674;POINT (-39.342008 -3.057169)'))) / (select extract(epoch from '2026-08-04 14:37:30'::timestamp) - extract(epoch from '2026-08-04 14:37: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'), 48166, 'SRID=4674;POINT (-39.342005 -3.057182)', '2026-08-04 14:37:37', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342008 -3.057169)'), GeomFromEWKT('SRID=4674;POINT (-39.342005 -3.057182)'))) / (select extract(epoch from '2026-08-04 14:37:37'::timestamp) - extract(epoch from '2026-08-04 14:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342008 -3.057169)'), GeomFromEWKT('SRID=4674;POINT (-39.342005 -3.057182)'))) / (select extract(epoch from '2026-08-04 14:37:37'::timestamp) - extract(epoch from '2026-08-04 14:37:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342 -3.057189)', '2026-08-04 14:38:13', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342005 -3.057182)'), GeomFromEWKT('SRID=4674;POINT (-39.342 -3.057189)'))) / (select extract(epoch from '2026-08-04 14:38:13'::timestamp) - extract(epoch from '2026-08-04 14:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342005 -3.057182)'), GeomFromEWKT('SRID=4674;POINT (-39.342 -3.057189)'))) / (select extract(epoch from '2026-08-04 14:38:13'::timestamp) - extract(epoch from '2026-08-04 14:37:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.341985 -3.057175)', '2026-08-04 14:38:40', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342 -3.057189)'), GeomFromEWKT('SRID=4674;POINT (-39.341985 -3.057175)'))) / (select extract(epoch from '2026-08-04 14:38:40'::timestamp) - extract(epoch from '2026-08-04 14:38:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342 -3.057189)'), GeomFromEWKT('SRID=4674;POINT (-39.341985 -3.057175)'))) / (select extract(epoch from '2026-08-04 14:38:40'::timestamp) - extract(epoch from '2026-08-04 14:38: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'), 48166, 'SRID=4674;POINT (-39.342003 -3.057176)', '2026-08-04 14:39:14', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341985 -3.057175)'), GeomFromEWKT('SRID=4674;POINT (-39.342003 -3.057176)'))) / (select extract(epoch from '2026-08-04 14:39:14'::timestamp) - extract(epoch from '2026-08-04 14:38:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341985 -3.057175)'), GeomFromEWKT('SRID=4674;POINT (-39.342003 -3.057176)'))) / (select extract(epoch from '2026-08-04 14:39:14'::timestamp) - extract(epoch from '2026-08-04 14:38: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'), 48166, 'SRID=4674;POINT (-39.342038 -3.057156)', '2026-08-04 14:39:31', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342003 -3.057176)'), GeomFromEWKT('SRID=4674;POINT (-39.342038 -3.057156)'))) / (select extract(epoch from '2026-08-04 14:39:31'::timestamp) - extract(epoch from '2026-08-04 14:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342003 -3.057176)'), GeomFromEWKT('SRID=4674;POINT (-39.342038 -3.057156)'))) / (select extract(epoch from '2026-08-04 14:39:31'::timestamp) - extract(epoch from '2026-08-04 14:39:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342068 -3.05713)', '2026-08-04 14:39:53', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342038 -3.057156)'), GeomFromEWKT('SRID=4674;POINT (-39.342068 -3.05713)'))) / (select extract(epoch from '2026-08-04 14:39:53'::timestamp) - extract(epoch from '2026-08-04 14:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342038 -3.057156)'), GeomFromEWKT('SRID=4674;POINT (-39.342068 -3.05713)'))) / (select extract(epoch from '2026-08-04 14:39:53'::timestamp) - extract(epoch from '2026-08-04 14:39:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342072 -3.057124)', '2026-08-04 14:40:02', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342068 -3.05713)'), GeomFromEWKT('SRID=4674;POINT (-39.342072 -3.057124)'))) / (select extract(epoch from '2026-08-04 14:40:02'::timestamp) - extract(epoch from '2026-08-04 14:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342068 -3.05713)'), GeomFromEWKT('SRID=4674;POINT (-39.342072 -3.057124)'))) / (select extract(epoch from '2026-08-04 14:40:02'::timestamp) - extract(epoch from '2026-08-04 14:39: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'), 48166, 'SRID=4674;POINT (-39.342076 -3.057098)', '2026-08-04 14:40:08', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342072 -3.057124)'), GeomFromEWKT('SRID=4674;POINT (-39.342076 -3.057098)'))) / (select extract(epoch from '2026-08-04 14:40:08'::timestamp) - extract(epoch from '2026-08-04 14:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342072 -3.057124)'), GeomFromEWKT('SRID=4674;POINT (-39.342076 -3.057098)'))) / (select extract(epoch from '2026-08-04 14:40:08'::timestamp) - extract(epoch from '2026-08-04 14:40:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342077 -3.057102)', '2026-08-04 14:40:21', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342076 -3.057098)'), GeomFromEWKT('SRID=4674;POINT (-39.342077 -3.057102)'))) / (select extract(epoch from '2026-08-04 14:40:21'::timestamp) - extract(epoch from '2026-08-04 14:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342076 -3.057098)'), GeomFromEWKT('SRID=4674;POINT (-39.342077 -3.057102)'))) / (select extract(epoch from '2026-08-04 14:40:21'::timestamp) - extract(epoch from '2026-08-04 14:40: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'), 48166, 'SRID=4674;POINT (-39.342057 -3.057081)', '2026-08-04 14:40:44', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342077 -3.057102)'), GeomFromEWKT('SRID=4674;POINT (-39.342057 -3.057081)'))) / (select extract(epoch from '2026-08-04 14:40:44'::timestamp) - extract(epoch from '2026-08-04 14:40:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342077 -3.057102)'), GeomFromEWKT('SRID=4674;POINT (-39.342057 -3.057081)'))) / (select extract(epoch from '2026-08-04 14:40:44'::timestamp) - extract(epoch from '2026-08-04 14:40: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'), 48166, 'SRID=4674;POINT (-39.342049 -3.057051)', '2026-08-04 14:40:55', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342057 -3.057081)'), GeomFromEWKT('SRID=4674;POINT (-39.342049 -3.057051)'))) / (select extract(epoch from '2026-08-04 14:40:55'::timestamp) - extract(epoch from '2026-08-04 14:40:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342057 -3.057081)'), GeomFromEWKT('SRID=4674;POINT (-39.342049 -3.057051)'))) / (select extract(epoch from '2026-08-04 14:40:55'::timestamp) - extract(epoch from '2026-08-04 14:40:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342066 -3.05706)', '2026-08-04 14:41:02', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342049 -3.057051)'), GeomFromEWKT('SRID=4674;POINT (-39.342066 -3.05706)'))) / (select extract(epoch from '2026-08-04 14:41:02'::timestamp) - extract(epoch from '2026-08-04 14:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342049 -3.057051)'), GeomFromEWKT('SRID=4674;POINT (-39.342066 -3.05706)'))) / (select extract(epoch from '2026-08-04 14:41:02'::timestamp) - extract(epoch from '2026-08-04 14:40: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'), 48166, 'SRID=4674;POINT (-39.342066 -3.057074)', '2026-08-04 14:41:12', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342066 -3.05706)'), GeomFromEWKT('SRID=4674;POINT (-39.342066 -3.057074)'))) / (select extract(epoch from '2026-08-04 14:41:12'::timestamp) - extract(epoch from '2026-08-04 14:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342066 -3.05706)'), GeomFromEWKT('SRID=4674;POINT (-39.342066 -3.057074)'))) / (select extract(epoch from '2026-08-04 14:41:12'::timestamp) - extract(epoch from '2026-08-04 14:41:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342061 -3.057091)', '2026-08-04 14:41:17', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342066 -3.057074)'), GeomFromEWKT('SRID=4674;POINT (-39.342061 -3.057091)'))) / (select extract(epoch from '2026-08-04 14:41:17'::timestamp) - extract(epoch from '2026-08-04 14:41:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342066 -3.057074)'), GeomFromEWKT('SRID=4674;POINT (-39.342061 -3.057091)'))) / (select extract(epoch from '2026-08-04 14:41:17'::timestamp) - extract(epoch from '2026-08-04 14:41:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342059 -3.057098)', '2026-08-04 14:41:26', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342061 -3.057091)'), GeomFromEWKT('SRID=4674;POINT (-39.342059 -3.057098)'))) / (select extract(epoch from '2026-08-04 14:41:26'::timestamp) - extract(epoch from '2026-08-04 14:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342061 -3.057091)'), GeomFromEWKT('SRID=4674;POINT (-39.342059 -3.057098)'))) / (select extract(epoch from '2026-08-04 14:41:26'::timestamp) - extract(epoch from '2026-08-04 14:41:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342052 -3.057094)', '2026-08-04 14:41:58', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342059 -3.057098)'), GeomFromEWKT('SRID=4674;POINT (-39.342052 -3.057094)'))) / (select extract(epoch from '2026-08-04 14:41:58'::timestamp) - extract(epoch from '2026-08-04 14:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342059 -3.057098)'), GeomFromEWKT('SRID=4674;POINT (-39.342052 -3.057094)'))) / (select extract(epoch from '2026-08-04 14:41:58'::timestamp) - extract(epoch from '2026-08-04 14:41: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'), 48166, 'SRID=4674;POINT (-39.342015 -3.057095)', '2026-08-04 14:42:06', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342052 -3.057094)'), GeomFromEWKT('SRID=4674;POINT (-39.342015 -3.057095)'))) / (select extract(epoch from '2026-08-04 14:42:06'::timestamp) - extract(epoch from '2026-08-04 14:41:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342052 -3.057094)'), GeomFromEWKT('SRID=4674;POINT (-39.342015 -3.057095)'))) / (select extract(epoch from '2026-08-04 14:42:06'::timestamp) - extract(epoch from '2026-08-04 14:41:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342006 -3.057085)', '2026-08-04 14:42:17', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342015 -3.057095)'), GeomFromEWKT('SRID=4674;POINT (-39.342006 -3.057085)'))) / (select extract(epoch from '2026-08-04 14:42:17'::timestamp) - extract(epoch from '2026-08-04 14:42:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342015 -3.057095)'), GeomFromEWKT('SRID=4674;POINT (-39.342006 -3.057085)'))) / (select extract(epoch from '2026-08-04 14:42:17'::timestamp) - extract(epoch from '2026-08-04 14:42: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'), 48166, 'SRID=4674;POINT (-39.342041 -3.057094)', '2026-08-04 14:42:30', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342006 -3.057085)'), GeomFromEWKT('SRID=4674;POINT (-39.342041 -3.057094)'))) / (select extract(epoch from '2026-08-04 14:42:30'::timestamp) - extract(epoch from '2026-08-04 14:42:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342006 -3.057085)'), GeomFromEWKT('SRID=4674;POINT (-39.342041 -3.057094)'))) / (select extract(epoch from '2026-08-04 14:42:30'::timestamp) - extract(epoch from '2026-08-04 14:42: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'), 48166, 'SRID=4674;POINT (-39.342037 -3.057078)', '2026-08-04 14:42:42', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342041 -3.057094)'), GeomFromEWKT('SRID=4674;POINT (-39.342037 -3.057078)'))) / (select extract(epoch from '2026-08-04 14:42:42'::timestamp) - extract(epoch from '2026-08-04 14:42:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342041 -3.057094)'), GeomFromEWKT('SRID=4674;POINT (-39.342037 -3.057078)'))) / (select extract(epoch from '2026-08-04 14:42:42'::timestamp) - extract(epoch from '2026-08-04 14:42: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'), 48166, 'SRID=4674;POINT (-39.34204 -3.057067)', '2026-08-04 14:42:48', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342037 -3.057078)'), GeomFromEWKT('SRID=4674;POINT (-39.34204 -3.057067)'))) / (select extract(epoch from '2026-08-04 14:42:48'::timestamp) - extract(epoch from '2026-08-04 14:42:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342037 -3.057078)'), GeomFromEWKT('SRID=4674;POINT (-39.34204 -3.057067)'))) / (select extract(epoch from '2026-08-04 14:42:48'::timestamp) - extract(epoch from '2026-08-04 14:42: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'), 48166, 'SRID=4674;POINT (-39.34207 -3.057092)', '2026-08-04 14:43:02', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34204 -3.057067)'), GeomFromEWKT('SRID=4674;POINT (-39.34207 -3.057092)'))) / (select extract(epoch from '2026-08-04 14:43:02'::timestamp) - extract(epoch from '2026-08-04 14:42:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34204 -3.057067)'), GeomFromEWKT('SRID=4674;POINT (-39.34207 -3.057092)'))) / (select extract(epoch from '2026-08-04 14:43:02'::timestamp) - extract(epoch from '2026-08-04 14:42:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342073 -3.057094)', '2026-08-04 14:43:07', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34207 -3.057092)'), GeomFromEWKT('SRID=4674;POINT (-39.342073 -3.057094)'))) / (select extract(epoch from '2026-08-04 14:43:07'::timestamp) - extract(epoch from '2026-08-04 14:43:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34207 -3.057092)'), GeomFromEWKT('SRID=4674;POINT (-39.342073 -3.057094)'))) / (select extract(epoch from '2026-08-04 14:43:07'::timestamp) - extract(epoch from '2026-08-04 14:43:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342087 -3.057117)', '2026-08-04 14:43:37', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342073 -3.057094)'), GeomFromEWKT('SRID=4674;POINT (-39.342087 -3.057117)'))) / (select extract(epoch from '2026-08-04 14:43:37'::timestamp) - extract(epoch from '2026-08-04 14:43:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342073 -3.057094)'), GeomFromEWKT('SRID=4674;POINT (-39.342087 -3.057117)'))) / (select extract(epoch from '2026-08-04 14:43:37'::timestamp) - extract(epoch from '2026-08-04 14:43:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342098 -3.057104)', '2026-08-04 14:43:56', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342087 -3.057117)'), GeomFromEWKT('SRID=4674;POINT (-39.342098 -3.057104)'))) / (select extract(epoch from '2026-08-04 14:43:56'::timestamp) - extract(epoch from '2026-08-04 14:43:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342087 -3.057117)'), GeomFromEWKT('SRID=4674;POINT (-39.342098 -3.057104)'))) / (select extract(epoch from '2026-08-04 14:43:56'::timestamp) - extract(epoch from '2026-08-04 14:43: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'), 48166, 'SRID=4674;POINT (-39.342117 -3.057081)', '2026-08-04 14:44:35', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342098 -3.057104)'), GeomFromEWKT('SRID=4674;POINT (-39.342117 -3.057081)'))) / (select extract(epoch from '2026-08-04 14:44:35'::timestamp) - extract(epoch from '2026-08-04 14:43:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342098 -3.057104)'), GeomFromEWKT('SRID=4674;POINT (-39.342117 -3.057081)'))) / (select extract(epoch from '2026-08-04 14:44:35'::timestamp) - extract(epoch from '2026-08-04 14:43: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'), 48166, 'SRID=4674;POINT (-39.342119 -3.057076)', '2026-08-04 14:44:41', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342117 -3.057081)'), GeomFromEWKT('SRID=4674;POINT (-39.342119 -3.057076)'))) / (select extract(epoch from '2026-08-04 14:44:41'::timestamp) - extract(epoch from '2026-08-04 14:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342117 -3.057081)'), GeomFromEWKT('SRID=4674;POINT (-39.342119 -3.057076)'))) / (select extract(epoch from '2026-08-04 14:44:41'::timestamp) - extract(epoch from '2026-08-04 14:44:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.34212 -3.057052)', '2026-08-04 14:45:09', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342119 -3.057076)'), GeomFromEWKT('SRID=4674;POINT (-39.34212 -3.057052)'))) / (select extract(epoch from '2026-08-04 14:45:09'::timestamp) - extract(epoch from '2026-08-04 14:44:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342119 -3.057076)'), GeomFromEWKT('SRID=4674;POINT (-39.34212 -3.057052)'))) / (select extract(epoch from '2026-08-04 14:45:09'::timestamp) - extract(epoch from '2026-08-04 14:44:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342125 -3.057036)', '2026-08-04 14:45:25', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34212 -3.057052)'), GeomFromEWKT('SRID=4674;POINT (-39.342125 -3.057036)'))) / (select extract(epoch from '2026-08-04 14:45:25'::timestamp) - extract(epoch from '2026-08-04 14:45:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34212 -3.057052)'), GeomFromEWKT('SRID=4674;POINT (-39.342125 -3.057036)'))) / (select extract(epoch from '2026-08-04 14:45:25'::timestamp) - extract(epoch from '2026-08-04 14:45: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'), 48166, 'SRID=4674;POINT (-39.342113 -3.057019)', '2026-08-04 14:46:12', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342125 -3.057036)'), GeomFromEWKT('SRID=4674;POINT (-39.342113 -3.057019)'))) / (select extract(epoch from '2026-08-04 14:46:12'::timestamp) - extract(epoch from '2026-08-04 14:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342125 -3.057036)'), GeomFromEWKT('SRID=4674;POINT (-39.342113 -3.057019)'))) / (select extract(epoch from '2026-08-04 14:46:12'::timestamp) - extract(epoch from '2026-08-04 14:45: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'), 48166, 'SRID=4674;POINT (-39.342124 -3.057036)', '2026-08-04 14:46:33', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342113 -3.057019)'), GeomFromEWKT('SRID=4674;POINT (-39.342124 -3.057036)'))) / (select extract(epoch from '2026-08-04 14:46:33'::timestamp) - extract(epoch from '2026-08-04 14:46:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342113 -3.057019)'), GeomFromEWKT('SRID=4674;POINT (-39.342124 -3.057036)'))) / (select extract(epoch from '2026-08-04 14:46:33'::timestamp) - extract(epoch from '2026-08-04 14:46:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342106 -3.057055)', '2026-08-04 14:46:47', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342124 -3.057036)'), GeomFromEWKT('SRID=4674;POINT (-39.342106 -3.057055)'))) / (select extract(epoch from '2026-08-04 14:46:47'::timestamp) - extract(epoch from '2026-08-04 14:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342124 -3.057036)'), GeomFromEWKT('SRID=4674;POINT (-39.342106 -3.057055)'))) / (select extract(epoch from '2026-08-04 14:46:47'::timestamp) - extract(epoch from '2026-08-04 14:46: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'), 48166, 'SRID=4674;POINT (-39.342105 -3.057074)', '2026-08-04 14:46:53', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342106 -3.057055)'), GeomFromEWKT('SRID=4674;POINT (-39.342105 -3.057074)'))) / (select extract(epoch from '2026-08-04 14:46:53'::timestamp) - extract(epoch from '2026-08-04 14:46:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342106 -3.057055)'), GeomFromEWKT('SRID=4674;POINT (-39.342105 -3.057074)'))) / (select extract(epoch from '2026-08-04 14:46:53'::timestamp) - extract(epoch from '2026-08-04 14:46: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'), 48166, 'SRID=4674;POINT (-39.342067 -3.057055)', '2026-08-04 14:47:04', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342105 -3.057074)'), GeomFromEWKT('SRID=4674;POINT (-39.342067 -3.057055)'))) / (select extract(epoch from '2026-08-04 14:47:04'::timestamp) - extract(epoch from '2026-08-04 14:46:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342105 -3.057074)'), GeomFromEWKT('SRID=4674;POINT (-39.342067 -3.057055)'))) / (select extract(epoch from '2026-08-04 14:47:04'::timestamp) - extract(epoch from '2026-08-04 14:46: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'), 48166, 'SRID=4674;POINT (-39.342077 -3.057077)', '2026-08-04 14:47:18', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342067 -3.057055)'), GeomFromEWKT('SRID=4674;POINT (-39.342077 -3.057077)'))) / (select extract(epoch from '2026-08-04 14:47:18'::timestamp) - extract(epoch from '2026-08-04 14:47:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342067 -3.057055)'), GeomFromEWKT('SRID=4674;POINT (-39.342077 -3.057077)'))) / (select extract(epoch from '2026-08-04 14:47:18'::timestamp) - extract(epoch from '2026-08-04 14:47:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.34208 -3.057079)', '2026-08-04 14:47:30', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342077 -3.057077)'), GeomFromEWKT('SRID=4674;POINT (-39.34208 -3.057079)'))) / (select extract(epoch from '2026-08-04 14:47:30'::timestamp) - extract(epoch from '2026-08-04 14:47:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342077 -3.057077)'), GeomFromEWKT('SRID=4674;POINT (-39.34208 -3.057079)'))) / (select extract(epoch from '2026-08-04 14:47:30'::timestamp) - extract(epoch from '2026-08-04 14:47:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342098 -3.057052)', '2026-08-04 14:48:03', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34208 -3.057079)'), GeomFromEWKT('SRID=4674;POINT (-39.342098 -3.057052)'))) / (select extract(epoch from '2026-08-04 14:48:03'::timestamp) - extract(epoch from '2026-08-04 14:47:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34208 -3.057079)'), GeomFromEWKT('SRID=4674;POINT (-39.342098 -3.057052)'))) / (select extract(epoch from '2026-08-04 14:48:03'::timestamp) - extract(epoch from '2026-08-04 14:47: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'), 48166, 'SRID=4674;POINT (-39.342079 -3.057032)', '2026-08-04 14:48:13', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342098 -3.057052)'), GeomFromEWKT('SRID=4674;POINT (-39.342079 -3.057032)'))) / (select extract(epoch from '2026-08-04 14:48:13'::timestamp) - extract(epoch from '2026-08-04 14:48:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342098 -3.057052)'), GeomFromEWKT('SRID=4674;POINT (-39.342079 -3.057032)'))) / (select extract(epoch from '2026-08-04 14:48:13'::timestamp) - extract(epoch from '2026-08-04 14:48: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'), 48166, 'SRID=4674;POINT (-39.342049 -3.057034)', '2026-08-04 14:48:21', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342079 -3.057032)'), GeomFromEWKT('SRID=4674;POINT (-39.342049 -3.057034)'))) / (select extract(epoch from '2026-08-04 14:48:21'::timestamp) - extract(epoch from '2026-08-04 14:48:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342079 -3.057032)'), GeomFromEWKT('SRID=4674;POINT (-39.342049 -3.057034)'))) / (select extract(epoch from '2026-08-04 14:48:21'::timestamp) - extract(epoch from '2026-08-04 14:48: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'), 48166, 'SRID=4674;POINT (-39.342034 -3.05704)', '2026-08-04 14:48:31', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342049 -3.057034)'), GeomFromEWKT('SRID=4674;POINT (-39.342034 -3.05704)'))) / (select extract(epoch from '2026-08-04 14:48:31'::timestamp) - extract(epoch from '2026-08-04 14:48:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342049 -3.057034)'), GeomFromEWKT('SRID=4674;POINT (-39.342034 -3.05704)'))) / (select extract(epoch from '2026-08-04 14:48:31'::timestamp) - extract(epoch from '2026-08-04 14:48: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'), 48166, 'SRID=4674;POINT (-39.342042 -3.057038)', '2026-08-04 14:48:33', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342034 -3.05704)'), GeomFromEWKT('SRID=4674;POINT (-39.342042 -3.057038)'))) / (select extract(epoch from '2026-08-04 14:48:33'::timestamp) - extract(epoch from '2026-08-04 14:48:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342034 -3.05704)'), GeomFromEWKT('SRID=4674;POINT (-39.342042 -3.057038)'))) / (select extract(epoch from '2026-08-04 14:48:33'::timestamp) - extract(epoch from '2026-08-04 14:48: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'), 48166, 'SRID=4674;POINT (-39.342045 -3.057045)', '2026-08-04 14:48:39', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342042 -3.057038)'), GeomFromEWKT('SRID=4674;POINT (-39.342045 -3.057045)'))) / (select extract(epoch from '2026-08-04 14:48:39'::timestamp) - extract(epoch from '2026-08-04 14:48:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342042 -3.057038)'), GeomFromEWKT('SRID=4674;POINT (-39.342045 -3.057045)'))) / (select extract(epoch from '2026-08-04 14:48:39'::timestamp) - extract(epoch from '2026-08-04 14:48: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'), 48166, 'SRID=4674;POINT (-39.342053 -3.057028)', '2026-08-04 14:48:52', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342045 -3.057045)'), GeomFromEWKT('SRID=4674;POINT (-39.342053 -3.057028)'))) / (select extract(epoch from '2026-08-04 14:48:52'::timestamp) - extract(epoch from '2026-08-04 14:48:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342045 -3.057045)'), GeomFromEWKT('SRID=4674;POINT (-39.342053 -3.057028)'))) / (select extract(epoch from '2026-08-04 14:48:52'::timestamp) - extract(epoch from '2026-08-04 14:48: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'), 48166, 'SRID=4674;POINT (-39.342074 -3.057014)', '2026-08-04 14:49:36', 25, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342053 -3.057028)'), GeomFromEWKT('SRID=4674;POINT (-39.342074 -3.057014)'))) / (select extract(epoch from '2026-08-04 14:49:36'::timestamp) - extract(epoch from '2026-08-04 14:48:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342053 -3.057028)'), GeomFromEWKT('SRID=4674;POINT (-39.342074 -3.057014)'))) / (select extract(epoch from '2026-08-04 14:49:36'::timestamp) - extract(epoch from '2026-08-04 14:48: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'), 48166, 'SRID=4674;POINT (-39.342036 -3.05703)', '2026-08-04 14:49:46', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342074 -3.057014)'), GeomFromEWKT('SRID=4674;POINT (-39.342036 -3.05703)'))) / (select extract(epoch from '2026-08-04 14:49:46'::timestamp) - extract(epoch from '2026-08-04 14:49:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342074 -3.057014)'), GeomFromEWKT('SRID=4674;POINT (-39.342036 -3.05703)'))) / (select extract(epoch from '2026-08-04 14:49:46'::timestamp) - extract(epoch from '2026-08-04 14:49: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'), 48166, 'SRID=4674;POINT (-39.34202 -3.057028)', '2026-08-04 14:49:54', 25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342036 -3.05703)'), GeomFromEWKT('SRID=4674;POINT (-39.34202 -3.057028)'))) / (select extract(epoch from '2026-08-04 14:49:54'::timestamp) - extract(epoch from '2026-08-04 14:49:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342036 -3.05703)'), GeomFromEWKT('SRID=4674;POINT (-39.34202 -3.057028)'))) / (select extract(epoch from '2026-08-04 14:49:54'::timestamp) - extract(epoch from '2026-08-04 14:49:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342019 -3.057026)', '2026-08-04 14:50:10', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34202 -3.057028)'), GeomFromEWKT('SRID=4674;POINT (-39.342019 -3.057026)'))) / (select extract(epoch from '2026-08-04 14:50:10'::timestamp) - extract(epoch from '2026-08-04 14:49:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34202 -3.057028)'), GeomFromEWKT('SRID=4674;POINT (-39.342019 -3.057026)'))) / (select extract(epoch from '2026-08-04 14:50:10'::timestamp) - extract(epoch from '2026-08-04 14:49: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'), 48166, 'SRID=4674;POINT (-39.342012 -3.057028)', '2026-08-04 14:50:33', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342019 -3.057026)'), GeomFromEWKT('SRID=4674;POINT (-39.342012 -3.057028)'))) / (select extract(epoch from '2026-08-04 14:50:33'::timestamp) - extract(epoch from '2026-08-04 14:50:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342019 -3.057026)'), GeomFromEWKT('SRID=4674;POINT (-39.342012 -3.057028)'))) / (select extract(epoch from '2026-08-04 14:50:33'::timestamp) - extract(epoch from '2026-08-04 14:50: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'), 48166, 'SRID=4674;POINT (-39.342009 -3.057035)', '2026-08-04 14:50:44', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342012 -3.057028)'), GeomFromEWKT('SRID=4674;POINT (-39.342009 -3.057035)'))) / (select extract(epoch from '2026-08-04 14:50:44'::timestamp) - extract(epoch from '2026-08-04 14:50:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342012 -3.057028)'), GeomFromEWKT('SRID=4674;POINT (-39.342009 -3.057035)'))) / (select extract(epoch from '2026-08-04 14:50:44'::timestamp) - extract(epoch from '2026-08-04 14:50:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342042 -3.057036)', '2026-08-04 14:50:57', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342009 -3.057035)'), GeomFromEWKT('SRID=4674;POINT (-39.342042 -3.057036)'))) / (select extract(epoch from '2026-08-04 14:50:57'::timestamp) - extract(epoch from '2026-08-04 14:50:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342009 -3.057035)'), GeomFromEWKT('SRID=4674;POINT (-39.342042 -3.057036)'))) / (select extract(epoch from '2026-08-04 14:50:57'::timestamp) - extract(epoch from '2026-08-04 14:50:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342035 -3.05704)', '2026-08-04 14:51:07', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342042 -3.057036)'), GeomFromEWKT('SRID=4674;POINT (-39.342035 -3.05704)'))) / (select extract(epoch from '2026-08-04 14:51:07'::timestamp) - extract(epoch from '2026-08-04 14:50:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342042 -3.057036)'), GeomFromEWKT('SRID=4674;POINT (-39.342035 -3.05704)'))) / (select extract(epoch from '2026-08-04 14:51:07'::timestamp) - extract(epoch from '2026-08-04 14:50:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342061 -3.057048)', '2026-08-04 14:51:59', 24.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342035 -3.05704)'), GeomFromEWKT('SRID=4674;POINT (-39.342061 -3.057048)'))) / (select extract(epoch from '2026-08-04 14:51:59'::timestamp) - extract(epoch from '2026-08-04 14:51:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342035 -3.05704)'), GeomFromEWKT('SRID=4674;POINT (-39.342061 -3.057048)'))) / (select extract(epoch from '2026-08-04 14:51:59'::timestamp) - extract(epoch from '2026-08-04 14:51: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'), 48166, 'SRID=4674;POINT (-39.342075 -3.057062)', '2026-08-04 14:52:06', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342061 -3.057048)'), GeomFromEWKT('SRID=4674;POINT (-39.342075 -3.057062)'))) / (select extract(epoch from '2026-08-04 14:52:06'::timestamp) - extract(epoch from '2026-08-04 14:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342061 -3.057048)'), GeomFromEWKT('SRID=4674;POINT (-39.342075 -3.057062)'))) / (select extract(epoch from '2026-08-04 14:52:06'::timestamp) - extract(epoch from '2026-08-04 14:51:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342085 -3.057069)', '2026-08-04 14:52:12', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342075 -3.057062)'), GeomFromEWKT('SRID=4674;POINT (-39.342085 -3.057069)'))) / (select extract(epoch from '2026-08-04 14:52:12'::timestamp) - extract(epoch from '2026-08-04 14:52:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342075 -3.057062)'), GeomFromEWKT('SRID=4674;POINT (-39.342085 -3.057069)'))) / (select extract(epoch from '2026-08-04 14:52:12'::timestamp) - extract(epoch from '2026-08-04 14:52:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342088 -3.057069)', '2026-08-04 14:52:18', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342085 -3.057069)'), GeomFromEWKT('SRID=4674;POINT (-39.342088 -3.057069)'))) / (select extract(epoch from '2026-08-04 14:52:18'::timestamp) - extract(epoch from '2026-08-04 14:52:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342085 -3.057069)'), GeomFromEWKT('SRID=4674;POINT (-39.342088 -3.057069)'))) / (select extract(epoch from '2026-08-04 14:52:18'::timestamp) - extract(epoch from '2026-08-04 14:52: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'), 48166, 'SRID=4674;POINT (-39.342087 -3.057052)', '2026-08-04 14:52:47', 25, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342088 -3.057069)'), GeomFromEWKT('SRID=4674;POINT (-39.342087 -3.057052)'))) / (select extract(epoch from '2026-08-04 14:52:47'::timestamp) - extract(epoch from '2026-08-04 14:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342088 -3.057069)'), GeomFromEWKT('SRID=4674;POINT (-39.342087 -3.057052)'))) / (select extract(epoch from '2026-08-04 14:52:47'::timestamp) - extract(epoch from '2026-08-04 14:52: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'), 48166, 'SRID=4674;POINT (-39.342095 -3.05706)', '2026-08-04 14:53:02', 25.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342087 -3.057052)'), GeomFromEWKT('SRID=4674;POINT (-39.342095 -3.05706)'))) / (select extract(epoch from '2026-08-04 14:53:02'::timestamp) - extract(epoch from '2026-08-04 14:52:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342087 -3.057052)'), GeomFromEWKT('SRID=4674;POINT (-39.342095 -3.05706)'))) / (select extract(epoch from '2026-08-04 14:53:02'::timestamp) - extract(epoch from '2026-08-04 14:52: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'), 48166, 'SRID=4674;POINT (-39.34208 -3.057058)', '2026-08-04 14:53:13', 24.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342095 -3.05706)'), GeomFromEWKT('SRID=4674;POINT (-39.34208 -3.057058)'))) / (select extract(epoch from '2026-08-04 14:53:13'::timestamp) - extract(epoch from '2026-08-04 14:53:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342095 -3.05706)'), GeomFromEWKT('SRID=4674;POINT (-39.34208 -3.057058)'))) / (select extract(epoch from '2026-08-04 14:53:13'::timestamp) - extract(epoch from '2026-08-04 14:53: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'), 48166, 'SRID=4674;POINT (-39.342076 -3.057053)', '2026-08-04 14:53:24', 24.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34208 -3.057058)'), GeomFromEWKT('SRID=4674;POINT (-39.342076 -3.057053)'))) / (select extract(epoch from '2026-08-04 14:53:24'::timestamp) - extract(epoch from '2026-08-04 14:53:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34208 -3.057058)'), GeomFromEWKT('SRID=4674;POINT (-39.342076 -3.057053)'))) / (select extract(epoch from '2026-08-04 14:53:24'::timestamp) - extract(epoch from '2026-08-04 14:53:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342082 -3.057064)', '2026-08-04 14:53:36', 25, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342076 -3.057053)'), GeomFromEWKT('SRID=4674;POINT (-39.342082 -3.057064)'))) / (select extract(epoch from '2026-08-04 14:53:36'::timestamp) - extract(epoch from '2026-08-04 14:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342076 -3.057053)'), GeomFromEWKT('SRID=4674;POINT (-39.342082 -3.057064)'))) / (select extract(epoch from '2026-08-04 14:53:36'::timestamp) - extract(epoch from '2026-08-04 14:53:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342091 -3.057057)', '2026-08-04 14:53:46', 25.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342082 -3.057064)'), GeomFromEWKT('SRID=4674;POINT (-39.342091 -3.057057)'))) / (select extract(epoch from '2026-08-04 14:53:46'::timestamp) - extract(epoch from '2026-08-04 14:53:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342082 -3.057064)'), GeomFromEWKT('SRID=4674;POINT (-39.342091 -3.057057)'))) / (select extract(epoch from '2026-08-04 14:53:46'::timestamp) - extract(epoch from '2026-08-04 14:53: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'), 48166, 'SRID=4674;POINT (-39.342084 -3.057096)', '2026-08-04 14:54:15', 24.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342091 -3.057057)'), GeomFromEWKT('SRID=4674;POINT (-39.342084 -3.057096)'))) / (select extract(epoch from '2026-08-04 14:54:15'::timestamp) - extract(epoch from '2026-08-04 14:53:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342091 -3.057057)'), GeomFromEWKT('SRID=4674;POINT (-39.342084 -3.057096)'))) / (select extract(epoch from '2026-08-04 14:54:15'::timestamp) - extract(epoch from '2026-08-04 14:53:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.34207 -3.057113)', '2026-08-04 14:54:28', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342084 -3.057096)'), GeomFromEWKT('SRID=4674;POINT (-39.34207 -3.057113)'))) / (select extract(epoch from '2026-08-04 14:54:28'::timestamp) - extract(epoch from '2026-08-04 14:54:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342084 -3.057096)'), GeomFromEWKT('SRID=4674;POINT (-39.34207 -3.057113)'))) / (select extract(epoch from '2026-08-04 14:54:28'::timestamp) - extract(epoch from '2026-08-04 14:54: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'), 48166, 'SRID=4674;POINT (-39.342063 -3.057109)', '2026-08-04 14:54:34', 25, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34207 -3.057113)'), GeomFromEWKT('SRID=4674;POINT (-39.342063 -3.057109)'))) / (select extract(epoch from '2026-08-04 14:54:34'::timestamp) - extract(epoch from '2026-08-04 14:54:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34207 -3.057113)'), GeomFromEWKT('SRID=4674;POINT (-39.342063 -3.057109)'))) / (select extract(epoch from '2026-08-04 14:54:34'::timestamp) - extract(epoch from '2026-08-04 14:54: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'), 48166, 'SRID=4674;POINT (-39.342069 -3.057115)', '2026-08-04 14:54:43', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342063 -3.057109)'), GeomFromEWKT('SRID=4674;POINT (-39.342069 -3.057115)'))) / (select extract(epoch from '2026-08-04 14:54:43'::timestamp) - extract(epoch from '2026-08-04 14:54:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342063 -3.057109)'), GeomFromEWKT('SRID=4674;POINT (-39.342069 -3.057115)'))) / (select extract(epoch from '2026-08-04 14:54:43'::timestamp) - extract(epoch from '2026-08-04 14:54: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'), 48166, 'SRID=4674;POINT (-39.342081 -3.057109)', '2026-08-04 14:54:49', 25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342069 -3.057115)'), GeomFromEWKT('SRID=4674;POINT (-39.342081 -3.057109)'))) / (select extract(epoch from '2026-08-04 14:54:49'::timestamp) - extract(epoch from '2026-08-04 14:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342069 -3.057115)'), GeomFromEWKT('SRID=4674;POINT (-39.342081 -3.057109)'))) / (select extract(epoch from '2026-08-04 14:54:49'::timestamp) - extract(epoch from '2026-08-04 14:54: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'), 48166, 'SRID=4674;POINT (-39.34204 -3.057145)', '2026-08-04 14:55:05', 26.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342081 -3.057109)'), GeomFromEWKT('SRID=4674;POINT (-39.34204 -3.057145)'))) / (select extract(epoch from '2026-08-04 14:55:05'::timestamp) - extract(epoch from '2026-08-04 14:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342081 -3.057109)'), GeomFromEWKT('SRID=4674;POINT (-39.34204 -3.057145)'))) / (select extract(epoch from '2026-08-04 14:55:05'::timestamp) - extract(epoch from '2026-08-04 14:54: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'), 48166, 'SRID=4674;POINT (-39.341974 -3.057164)', '2026-08-04 14:55:12', 26.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34204 -3.057145)'), GeomFromEWKT('SRID=4674;POINT (-39.341974 -3.057164)'))) / (select extract(epoch from '2026-08-04 14:55:12'::timestamp) - extract(epoch from '2026-08-04 14:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34204 -3.057145)'), GeomFromEWKT('SRID=4674;POINT (-39.341974 -3.057164)'))) / (select extract(epoch from '2026-08-04 14:55:12'::timestamp) - extract(epoch from '2026-08-04 14:55:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.34189 -3.057179)', '2026-08-04 14:55:21', 27.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341974 -3.057164)'), GeomFromEWKT('SRID=4674;POINT (-39.34189 -3.057179)'))) / (select extract(epoch from '2026-08-04 14:55:21'::timestamp) - extract(epoch from '2026-08-04 14:55:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341974 -3.057164)'), GeomFromEWKT('SRID=4674;POINT (-39.34189 -3.057179)'))) / (select extract(epoch from '2026-08-04 14:55:21'::timestamp) - extract(epoch from '2026-08-04 14:55:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.341838 -3.057163)', '2026-08-04 14:55:28', 27.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34189 -3.057179)'), GeomFromEWKT('SRID=4674;POINT (-39.341838 -3.057163)'))) / (select extract(epoch from '2026-08-04 14:55:28'::timestamp) - extract(epoch from '2026-08-04 14:55:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34189 -3.057179)'), GeomFromEWKT('SRID=4674;POINT (-39.341838 -3.057163)'))) / (select extract(epoch from '2026-08-04 14:55:28'::timestamp) - extract(epoch from '2026-08-04 14:55: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'), 48166, 'SRID=4674;POINT (-39.341786 -3.057177)', '2026-08-04 14:55:36', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341838 -3.057163)'), GeomFromEWKT('SRID=4674;POINT (-39.341786 -3.057177)'))) / (select extract(epoch from '2026-08-04 14:55:36'::timestamp) - extract(epoch from '2026-08-04 14:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341838 -3.057163)'), GeomFromEWKT('SRID=4674;POINT (-39.341786 -3.057177)'))) / (select extract(epoch from '2026-08-04 14:55:36'::timestamp) - extract(epoch from '2026-08-04 14:55: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'), 48166, 'SRID=4674;POINT (-39.341688 -3.0572)', '2026-08-04 14:55:45', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341786 -3.057177)'), GeomFromEWKT('SRID=4674;POINT (-39.341688 -3.0572)'))) / (select extract(epoch from '2026-08-04 14:55:45'::timestamp) - extract(epoch from '2026-08-04 14:55:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341786 -3.057177)'), GeomFromEWKT('SRID=4674;POINT (-39.341688 -3.0572)'))) / (select extract(epoch from '2026-08-04 14:55:45'::timestamp) - extract(epoch from '2026-08-04 14:55: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'), 48166, 'SRID=4674;POINT (-39.341569 -3.057242)', '2026-08-04 14:55:54', 28.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341688 -3.0572)'), GeomFromEWKT('SRID=4674;POINT (-39.341569 -3.057242)'))) / (select extract(epoch from '2026-08-04 14:55:54'::timestamp) - extract(epoch from '2026-08-04 14:55:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341688 -3.0572)'), GeomFromEWKT('SRID=4674;POINT (-39.341569 -3.057242)'))) / (select extract(epoch from '2026-08-04 14:55:54'::timestamp) - extract(epoch from '2026-08-04 14:55: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'), 48166, 'SRID=4674;POINT (-39.341523 -3.057248)', '2026-08-04 14:56:01', 29.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341569 -3.057242)'), GeomFromEWKT('SRID=4674;POINT (-39.341523 -3.057248)'))) / (select extract(epoch from '2026-08-04 14:56:01'::timestamp) - extract(epoch from '2026-08-04 14:55:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341569 -3.057242)'), GeomFromEWKT('SRID=4674;POINT (-39.341523 -3.057248)'))) / (select extract(epoch from '2026-08-04 14:56:01'::timestamp) - extract(epoch from '2026-08-04 14:55:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.341487 -3.05726)', '2026-08-04 14:56:08', 29.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341523 -3.057248)'), GeomFromEWKT('SRID=4674;POINT (-39.341487 -3.05726)'))) / (select extract(epoch from '2026-08-04 14:56:08'::timestamp) - extract(epoch from '2026-08-04 14:56:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341523 -3.057248)'), GeomFromEWKT('SRID=4674;POINT (-39.341487 -3.05726)'))) / (select extract(epoch from '2026-08-04 14:56:08'::timestamp) - extract(epoch from '2026-08-04 14:56:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.341458 -3.057279)', '2026-08-04 14:56:14', 29.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341487 -3.05726)'), GeomFromEWKT('SRID=4674;POINT (-39.341458 -3.057279)'))) / (select extract(epoch from '2026-08-04 14:56:14'::timestamp) - extract(epoch from '2026-08-04 14:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341487 -3.05726)'), GeomFromEWKT('SRID=4674;POINT (-39.341458 -3.057279)'))) / (select extract(epoch from '2026-08-04 14:56:14'::timestamp) - extract(epoch from '2026-08-04 14:56: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'), 48166, 'SRID=4674;POINT (-39.341413 -3.057285)', '2026-08-04 14:56:22', 30, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341458 -3.057279)'), GeomFromEWKT('SRID=4674;POINT (-39.341413 -3.057285)'))) / (select extract(epoch from '2026-08-04 14:56:22'::timestamp) - extract(epoch from '2026-08-04 14:56:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341458 -3.057279)'), GeomFromEWKT('SRID=4674;POINT (-39.341413 -3.057285)'))) / (select extract(epoch from '2026-08-04 14:56:22'::timestamp) - extract(epoch from '2026-08-04 14:56: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'), 48166, 'SRID=4674;POINT (-39.34136 -3.057296)', '2026-08-04 14:56:29', 30, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341413 -3.057285)'), GeomFromEWKT('SRID=4674;POINT (-39.34136 -3.057296)'))) / (select extract(epoch from '2026-08-04 14:56:29'::timestamp) - extract(epoch from '2026-08-04 14:56:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341413 -3.057285)'), GeomFromEWKT('SRID=4674;POINT (-39.34136 -3.057296)'))) / (select extract(epoch from '2026-08-04 14:56:29'::timestamp) - extract(epoch from '2026-08-04 14:56: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'), 48166, 'SRID=4674;POINT (-39.341276 -3.057299)', '2026-08-04 14:56:38', 29.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34136 -3.057296)'), GeomFromEWKT('SRID=4674;POINT (-39.341276 -3.057299)'))) / (select extract(epoch from '2026-08-04 14:56:38'::timestamp) - extract(epoch from '2026-08-04 14:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34136 -3.057296)'), GeomFromEWKT('SRID=4674;POINT (-39.341276 -3.057299)'))) / (select extract(epoch from '2026-08-04 14:56:38'::timestamp) - extract(epoch from '2026-08-04 14:56: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'), 48166, 'SRID=4674;POINT (-39.341228 -3.057279)', '2026-08-04 14:56:45', 29, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341276 -3.057299)'), GeomFromEWKT('SRID=4674;POINT (-39.341228 -3.057279)'))) / (select extract(epoch from '2026-08-04 14:56:45'::timestamp) - extract(epoch from '2026-08-04 14:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341276 -3.057299)'), GeomFromEWKT('SRID=4674;POINT (-39.341228 -3.057279)'))) / (select extract(epoch from '2026-08-04 14:56:45'::timestamp) - extract(epoch from '2026-08-04 14:56:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.341142 -3.057262)', '2026-08-04 14:56:56', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341228 -3.057279)'), GeomFromEWKT('SRID=4674;POINT (-39.341142 -3.057262)'))) / (select extract(epoch from '2026-08-04 14:56:56'::timestamp) - extract(epoch from '2026-08-04 14:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341228 -3.057279)'), GeomFromEWKT('SRID=4674;POINT (-39.341142 -3.057262)'))) / (select extract(epoch from '2026-08-04 14:56:56'::timestamp) - extract(epoch from '2026-08-04 14:56:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.341085 -3.057254)', '2026-08-04 14:57:01', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341142 -3.057262)'), GeomFromEWKT('SRID=4674;POINT (-39.341085 -3.057254)'))) / (select extract(epoch from '2026-08-04 14:57:01'::timestamp) - extract(epoch from '2026-08-04 14:56:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341142 -3.057262)'), GeomFromEWKT('SRID=4674;POINT (-39.341085 -3.057254)'))) / (select extract(epoch from '2026-08-04 14:57:01'::timestamp) - extract(epoch from '2026-08-04 14:56: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'), 48166, 'SRID=4674;POINT (-39.341062 -3.057268)', '2026-08-04 14:57:04', 28, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341085 -3.057254)'), GeomFromEWKT('SRID=4674;POINT (-39.341062 -3.057268)'))) / (select extract(epoch from '2026-08-04 14:57:04'::timestamp) - extract(epoch from '2026-08-04 14:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341085 -3.057254)'), GeomFromEWKT('SRID=4674;POINT (-39.341062 -3.057268)'))) / (select extract(epoch from '2026-08-04 14:57:04'::timestamp) - extract(epoch from '2026-08-04 14:57: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'), 48166, 'SRID=4674;POINT (-39.341099 -3.057302)', '2026-08-04 14:57:11', 27.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341062 -3.057268)'), GeomFromEWKT('SRID=4674;POINT (-39.341099 -3.057302)'))) / (select extract(epoch from '2026-08-04 14:57:11'::timestamp) - extract(epoch from '2026-08-04 14:57:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341062 -3.057268)'), GeomFromEWKT('SRID=4674;POINT (-39.341099 -3.057302)'))) / (select extract(epoch from '2026-08-04 14:57:11'::timestamp) - extract(epoch from '2026-08-04 14:57: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'), 48166, 'SRID=4674;POINT (-39.341145 -3.057308)', '2026-08-04 14:57:17', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341099 -3.057302)'), GeomFromEWKT('SRID=4674;POINT (-39.341145 -3.057308)'))) / (select extract(epoch from '2026-08-04 14:57:17'::timestamp) - extract(epoch from '2026-08-04 14:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341099 -3.057302)'), GeomFromEWKT('SRID=4674;POINT (-39.341145 -3.057308)'))) / (select extract(epoch from '2026-08-04 14:57:17'::timestamp) - extract(epoch from '2026-08-04 14:57: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'), 48166, 'SRID=4674;POINT (-39.341183 -3.057308)', '2026-08-04 14:57:24', 26.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341145 -3.057308)'), GeomFromEWKT('SRID=4674;POINT (-39.341183 -3.057308)'))) / (select extract(epoch from '2026-08-04 14:57:24'::timestamp) - extract(epoch from '2026-08-04 14:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341145 -3.057308)'), GeomFromEWKT('SRID=4674;POINT (-39.341183 -3.057308)'))) / (select extract(epoch from '2026-08-04 14:57:24'::timestamp) - extract(epoch from '2026-08-04 14:57: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'), 48166, 'SRID=4674;POINT (-39.341206 -3.057341)', '2026-08-04 14:57:28', 26.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341183 -3.057308)'), GeomFromEWKT('SRID=4674;POINT (-39.341206 -3.057341)'))) / (select extract(epoch from '2026-08-04 14:57:28'::timestamp) - extract(epoch from '2026-08-04 14:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341183 -3.057308)'), GeomFromEWKT('SRID=4674;POINT (-39.341206 -3.057341)'))) / (select extract(epoch from '2026-08-04 14:57:28'::timestamp) - extract(epoch from '2026-08-04 14:57: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'), 48166, 'SRID=4674;POINT (-39.341224 -3.057353)', '2026-08-04 14:57:30', 26.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341206 -3.057341)'), GeomFromEWKT('SRID=4674;POINT (-39.341224 -3.057353)'))) / (select extract(epoch from '2026-08-04 14:57:30'::timestamp) - extract(epoch from '2026-08-04 14:57:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341206 -3.057341)'), GeomFromEWKT('SRID=4674;POINT (-39.341224 -3.057353)'))) / (select extract(epoch from '2026-08-04 14:57:30'::timestamp) - extract(epoch from '2026-08-04 14:57:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.3413 -3.05744)', '2026-08-04 14:57:39', 27.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341224 -3.057353)'), GeomFromEWKT('SRID=4674;POINT (-39.3413 -3.05744)'))) / (select extract(epoch from '2026-08-04 14:57:39'::timestamp) - extract(epoch from '2026-08-04 14:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341224 -3.057353)'), GeomFromEWKT('SRID=4674;POINT (-39.3413 -3.05744)'))) / (select extract(epoch from '2026-08-04 14:57:39'::timestamp) - extract(epoch from '2026-08-04 14:57: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'), 48166, 'SRID=4674;POINT (-39.341331 -3.057516)', '2026-08-04 14:57:46', 27.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3413 -3.05744)'), GeomFromEWKT('SRID=4674;POINT (-39.341331 -3.057516)'))) / (select extract(epoch from '2026-08-04 14:57:46'::timestamp) - extract(epoch from '2026-08-04 14:57:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3413 -3.05744)'), GeomFromEWKT('SRID=4674;POINT (-39.341331 -3.057516)'))) / (select extract(epoch from '2026-08-04 14:57:46'::timestamp) - extract(epoch from '2026-08-04 14:57:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.341368 -3.05759)', '2026-08-04 14:57:53', 28, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341331 -3.057516)'), GeomFromEWKT('SRID=4674;POINT (-39.341368 -3.05759)'))) / (select extract(epoch from '2026-08-04 14:57:53'::timestamp) - extract(epoch from '2026-08-04 14:57:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341331 -3.057516)'), GeomFromEWKT('SRID=4674;POINT (-39.341368 -3.05759)'))) / (select extract(epoch from '2026-08-04 14:57:53'::timestamp) - extract(epoch from '2026-08-04 14:57: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'), 48166, 'SRID=4674;POINT (-39.341445 -3.057697)', '2026-08-04 14:58:01', 28.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341368 -3.05759)'), GeomFromEWKT('SRID=4674;POINT (-39.341445 -3.057697)'))) / (select extract(epoch from '2026-08-04 14:58:01'::timestamp) - extract(epoch from '2026-08-04 14:57:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341368 -3.05759)'), GeomFromEWKT('SRID=4674;POINT (-39.341445 -3.057697)'))) / (select extract(epoch from '2026-08-04 14:58:01'::timestamp) - extract(epoch from '2026-08-04 14:57:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.341498 -3.057817)', '2026-08-04 14:58:08', 29.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341445 -3.057697)'), GeomFromEWKT('SRID=4674;POINT (-39.341498 -3.057817)'))) / (select extract(epoch from '2026-08-04 14:58:08'::timestamp) - extract(epoch from '2026-08-04 14:58:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341445 -3.057697)'), GeomFromEWKT('SRID=4674;POINT (-39.341498 -3.057817)'))) / (select extract(epoch from '2026-08-04 14:58:08'::timestamp) - extract(epoch from '2026-08-04 14:58: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'), 48166, 'SRID=4674;POINT (-39.341594 -3.057942)', '2026-08-04 14:58:16', 29.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341498 -3.057817)'), GeomFromEWKT('SRID=4674;POINT (-39.341594 -3.057942)'))) / (select extract(epoch from '2026-08-04 14:58:16'::timestamp) - extract(epoch from '2026-08-04 14:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341498 -3.057817)'), GeomFromEWKT('SRID=4674;POINT (-39.341594 -3.057942)'))) / (select extract(epoch from '2026-08-04 14:58:16'::timestamp) - extract(epoch from '2026-08-04 14:58: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'), 48166, 'SRID=4674;POINT (-39.341704 -3.058019)', '2026-08-04 14:58:23', 30.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341594 -3.057942)'), GeomFromEWKT('SRID=4674;POINT (-39.341704 -3.058019)'))) / (select extract(epoch from '2026-08-04 14:58:23'::timestamp) - extract(epoch from '2026-08-04 14:58:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341594 -3.057942)'), GeomFromEWKT('SRID=4674;POINT (-39.341704 -3.058019)'))) / (select extract(epoch from '2026-08-04 14:58:23'::timestamp) - extract(epoch from '2026-08-04 14:58:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.341814 -3.058109)', '2026-08-04 14:58:31', 30.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341704 -3.058019)'), GeomFromEWKT('SRID=4674;POINT (-39.341814 -3.058109)'))) / (select extract(epoch from '2026-08-04 14:58:31'::timestamp) - extract(epoch from '2026-08-04 14:58:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341704 -3.058019)'), GeomFromEWKT('SRID=4674;POINT (-39.341814 -3.058109)'))) / (select extract(epoch from '2026-08-04 14:58:31'::timestamp) - extract(epoch from '2026-08-04 14:58: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'), 48166, 'SRID=4674;POINT (-39.341887 -3.058206)', '2026-08-04 14:58:38', 31.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341814 -3.058109)'), GeomFromEWKT('SRID=4674;POINT (-39.341887 -3.058206)'))) / (select extract(epoch from '2026-08-04 14:58:38'::timestamp) - extract(epoch from '2026-08-04 14:58:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341814 -3.058109)'), GeomFromEWKT('SRID=4674;POINT (-39.341887 -3.058206)'))) / (select extract(epoch from '2026-08-04 14:58:38'::timestamp) - extract(epoch from '2026-08-04 14:58: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'), 48166, 'SRID=4674;POINT (-39.341971 -3.05832)', '2026-08-04 14:58:46', 31.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341887 -3.058206)'), GeomFromEWKT('SRID=4674;POINT (-39.341971 -3.05832)'))) / (select extract(epoch from '2026-08-04 14:58:46'::timestamp) - extract(epoch from '2026-08-04 14:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341887 -3.058206)'), GeomFromEWKT('SRID=4674;POINT (-39.341971 -3.05832)'))) / (select extract(epoch from '2026-08-04 14:58:46'::timestamp) - extract(epoch from '2026-08-04 14:58:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342082 -3.05844)', '2026-08-04 14:58:55', 32, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341971 -3.05832)'), GeomFromEWKT('SRID=4674;POINT (-39.342082 -3.05844)'))) / (select extract(epoch from '2026-08-04 14:58:55'::timestamp) - extract(epoch from '2026-08-04 14:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341971 -3.05832)'), GeomFromEWKT('SRID=4674;POINT (-39.342082 -3.05844)'))) / (select extract(epoch from '2026-08-04 14:58:55'::timestamp) - extract(epoch from '2026-08-04 14:58:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342177 -3.058535)', '2026-08-04 14:59:04', 32.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342082 -3.05844)'), GeomFromEWKT('SRID=4674;POINT (-39.342177 -3.058535)'))) / (select extract(epoch from '2026-08-04 14:59:04'::timestamp) - extract(epoch from '2026-08-04 14:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342082 -3.05844)'), GeomFromEWKT('SRID=4674;POINT (-39.342177 -3.058535)'))) / (select extract(epoch from '2026-08-04 14:59:04'::timestamp) - extract(epoch from '2026-08-04 14:58: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'), 48166, 'SRID=4674;POINT (-39.34225 -3.05861)', '2026-08-04 14:59:12', 32.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342177 -3.058535)'), GeomFromEWKT('SRID=4674;POINT (-39.34225 -3.05861)'))) / (select extract(epoch from '2026-08-04 14:59:12'::timestamp) - extract(epoch from '2026-08-04 14:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342177 -3.058535)'), GeomFromEWKT('SRID=4674;POINT (-39.34225 -3.05861)'))) / (select extract(epoch from '2026-08-04 14:59:12'::timestamp) - extract(epoch from '2026-08-04 14:59:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342318 -3.058689)', '2026-08-04 14:59:18', 32.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34225 -3.05861)'), GeomFromEWKT('SRID=4674;POINT (-39.342318 -3.058689)'))) / (select extract(epoch from '2026-08-04 14:59:18'::timestamp) - extract(epoch from '2026-08-04 14:59:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34225 -3.05861)'), GeomFromEWKT('SRID=4674;POINT (-39.342318 -3.058689)'))) / (select extract(epoch from '2026-08-04 14:59:18'::timestamp) - extract(epoch from '2026-08-04 14:59:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342365 -3.058744)', '2026-08-04 14:59:23', 32.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342318 -3.058689)'), GeomFromEWKT('SRID=4674;POINT (-39.342365 -3.058744)'))) / (select extract(epoch from '2026-08-04 14:59:23'::timestamp) - extract(epoch from '2026-08-04 14:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342318 -3.058689)'), GeomFromEWKT('SRID=4674;POINT (-39.342365 -3.058744)'))) / (select extract(epoch from '2026-08-04 14:59:23'::timestamp) - extract(epoch from '2026-08-04 14:59: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'), 48166, 'SRID=4674;POINT (-39.342448 -3.058847)', '2026-08-04 14:59:31', 32.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342365 -3.058744)'), GeomFromEWKT('SRID=4674;POINT (-39.342448 -3.058847)'))) / (select extract(epoch from '2026-08-04 14:59:31'::timestamp) - extract(epoch from '2026-08-04 14:59:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342365 -3.058744)'), GeomFromEWKT('SRID=4674;POINT (-39.342448 -3.058847)'))) / (select extract(epoch from '2026-08-04 14:59:31'::timestamp) - extract(epoch from '2026-08-04 14:59: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'), 48166, 'SRID=4674;POINT (-39.342502 -3.058909)', '2026-08-04 14:59:37', 33, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342448 -3.058847)'), GeomFromEWKT('SRID=4674;POINT (-39.342502 -3.058909)'))) / (select extract(epoch from '2026-08-04 14:59:37'::timestamp) - extract(epoch from '2026-08-04 14:59:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342448 -3.058847)'), GeomFromEWKT('SRID=4674;POINT (-39.342502 -3.058909)'))) / (select extract(epoch from '2026-08-04 14:59:37'::timestamp) - extract(epoch from '2026-08-04 14:59:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342581 -3.059033)', '2026-08-04 14:59:45', 33.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342502 -3.058909)'), GeomFromEWKT('SRID=4674;POINT (-39.342581 -3.059033)'))) / (select extract(epoch from '2026-08-04 14:59:45'::timestamp) - extract(epoch from '2026-08-04 14:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342502 -3.058909)'), GeomFromEWKT('SRID=4674;POINT (-39.342581 -3.059033)'))) / (select extract(epoch from '2026-08-04 14:59:45'::timestamp) - extract(epoch from '2026-08-04 14:59:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342695 -3.059165)', '2026-08-04 14:59:54', 33.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342581 -3.059033)'), GeomFromEWKT('SRID=4674;POINT (-39.342695 -3.059165)'))) / (select extract(epoch from '2026-08-04 14:59:54'::timestamp) - extract(epoch from '2026-08-04 14:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342581 -3.059033)'), GeomFromEWKT('SRID=4674;POINT (-39.342695 -3.059165)'))) / (select extract(epoch from '2026-08-04 14:59:54'::timestamp) - extract(epoch from '2026-08-04 14:59: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'), 48166, 'SRID=4674;POINT (-39.342765 -3.059273)', '2026-08-04 15:00:01', 33.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342695 -3.059165)'), GeomFromEWKT('SRID=4674;POINT (-39.342765 -3.059273)'))) / (select extract(epoch from '2026-08-04 15:00:01'::timestamp) - extract(epoch from '2026-08-04 14:59:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342695 -3.059165)'), GeomFromEWKT('SRID=4674;POINT (-39.342765 -3.059273)'))) / (select extract(epoch from '2026-08-04 15:00:01'::timestamp) - extract(epoch from '2026-08-04 14:59:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342841 -3.059363)', '2026-08-04 15:00:08', 33.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342765 -3.059273)'), GeomFromEWKT('SRID=4674;POINT (-39.342841 -3.059363)'))) / (select extract(epoch from '2026-08-04 15:00:08'::timestamp) - extract(epoch from '2026-08-04 15:00:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342765 -3.059273)'), GeomFromEWKT('SRID=4674;POINT (-39.342841 -3.059363)'))) / (select extract(epoch from '2026-08-04 15:00:08'::timestamp) - extract(epoch from '2026-08-04 15:00:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342924 -3.059481)', '2026-08-04 15:00:15', 34, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342841 -3.059363)'), GeomFromEWKT('SRID=4674;POINT (-39.342924 -3.059481)'))) / (select extract(epoch from '2026-08-04 15:00:15'::timestamp) - extract(epoch from '2026-08-04 15:00:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342841 -3.059363)'), GeomFromEWKT('SRID=4674;POINT (-39.342924 -3.059481)'))) / (select extract(epoch from '2026-08-04 15:00:15'::timestamp) - extract(epoch from '2026-08-04 15:00: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'), 48166, 'SRID=4674;POINT (-39.343 -3.05957)', '2026-08-04 15:00:21', 34.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342924 -3.059481)'), GeomFromEWKT('SRID=4674;POINT (-39.343 -3.05957)'))) / (select extract(epoch from '2026-08-04 15:00:21'::timestamp) - extract(epoch from '2026-08-04 15:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342924 -3.059481)'), GeomFromEWKT('SRID=4674;POINT (-39.343 -3.05957)'))) / (select extract(epoch from '2026-08-04 15:00:21'::timestamp) - extract(epoch from '2026-08-04 15:00: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'), 48166, 'SRID=4674;POINT (-39.343091 -3.059709)', '2026-08-04 15:00:29', 34.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343 -3.05957)'), GeomFromEWKT('SRID=4674;POINT (-39.343091 -3.059709)'))) / (select extract(epoch from '2026-08-04 15:00:29'::timestamp) - extract(epoch from '2026-08-04 15:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343 -3.05957)'), GeomFromEWKT('SRID=4674;POINT (-39.343091 -3.059709)'))) / (select extract(epoch from '2026-08-04 15:00:29'::timestamp) - extract(epoch from '2026-08-04 15:00:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.343177 -3.059851)', '2026-08-04 15:00:37', 34.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343091 -3.059709)'), GeomFromEWKT('SRID=4674;POINT (-39.343177 -3.059851)'))) / (select extract(epoch from '2026-08-04 15:00:37'::timestamp) - extract(epoch from '2026-08-04 15:00:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343091 -3.059709)'), GeomFromEWKT('SRID=4674;POINT (-39.343177 -3.059851)'))) / (select extract(epoch from '2026-08-04 15:00:37'::timestamp) - extract(epoch from '2026-08-04 15:00:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.343285 -3.060015)', '2026-08-04 15:00:45', 35.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343177 -3.059851)'), GeomFromEWKT('SRID=4674;POINT (-39.343285 -3.060015)'))) / (select extract(epoch from '2026-08-04 15:00:45'::timestamp) - extract(epoch from '2026-08-04 15:00:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343177 -3.059851)'), GeomFromEWKT('SRID=4674;POINT (-39.343285 -3.060015)'))) / (select extract(epoch from '2026-08-04 15:00:45'::timestamp) - extract(epoch from '2026-08-04 15:00:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.343377 -3.060168)', '2026-08-04 15:00:53', 36, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343285 -3.060015)'), GeomFromEWKT('SRID=4674;POINT (-39.343377 -3.060168)'))) / (select extract(epoch from '2026-08-04 15:00:53'::timestamp) - extract(epoch from '2026-08-04 15:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343285 -3.060015)'), GeomFromEWKT('SRID=4674;POINT (-39.343377 -3.060168)'))) / (select extract(epoch from '2026-08-04 15:00:53'::timestamp) - extract(epoch from '2026-08-04 15:00:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.343444 -3.060274)', '2026-08-04 15:01:00', 36.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343377 -3.060168)'), GeomFromEWKT('SRID=4674;POINT (-39.343444 -3.060274)'))) / (select extract(epoch from '2026-08-04 15:01:00'::timestamp) - extract(epoch from '2026-08-04 15:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343377 -3.060168)'), GeomFromEWKT('SRID=4674;POINT (-39.343444 -3.060274)'))) / (select extract(epoch from '2026-08-04 15:01:00'::timestamp) - extract(epoch from '2026-08-04 15:00: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'), 48166, 'SRID=4674;POINT (-39.343527 -3.060385)', '2026-08-04 15:01:08', 36.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343444 -3.060274)'), GeomFromEWKT('SRID=4674;POINT (-39.343527 -3.060385)'))) / (select extract(epoch from '2026-08-04 15:01:08'::timestamp) - extract(epoch from '2026-08-04 15:01:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343444 -3.060274)'), GeomFromEWKT('SRID=4674;POINT (-39.343527 -3.060385)'))) / (select extract(epoch from '2026-08-04 15:01:08'::timestamp) - extract(epoch from '2026-08-04 15:01:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.343632 -3.060569)', '2026-08-04 15:01:18', 36.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343527 -3.060385)'), GeomFromEWKT('SRID=4674;POINT (-39.343632 -3.060569)'))) / (select extract(epoch from '2026-08-04 15:01:18'::timestamp) - extract(epoch from '2026-08-04 15:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343527 -3.060385)'), GeomFromEWKT('SRID=4674;POINT (-39.343632 -3.060569)'))) / (select extract(epoch from '2026-08-04 15:01:18'::timestamp) - extract(epoch from '2026-08-04 15:01:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.343683 -3.060718)', '2026-08-04 15:01:26', 36.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343632 -3.060569)'), GeomFromEWKT('SRID=4674;POINT (-39.343683 -3.060718)'))) / (select extract(epoch from '2026-08-04 15:01:26'::timestamp) - extract(epoch from '2026-08-04 15:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343632 -3.060569)'), GeomFromEWKT('SRID=4674;POINT (-39.343683 -3.060718)'))) / (select extract(epoch from '2026-08-04 15:01:26'::timestamp) - extract(epoch from '2026-08-04 15:01:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.343781 -3.06086)', '2026-08-04 15:01:35', 36, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343683 -3.060718)'), GeomFromEWKT('SRID=4674;POINT (-39.343781 -3.06086)'))) / (select extract(epoch from '2026-08-04 15:01:35'::timestamp) - extract(epoch from '2026-08-04 15:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343683 -3.060718)'), GeomFromEWKT('SRID=4674;POINT (-39.343781 -3.06086)'))) / (select extract(epoch from '2026-08-04 15:01:35'::timestamp) - extract(epoch from '2026-08-04 15:01:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.34385 -3.060947)', '2026-08-04 15:01:42', 36.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343781 -3.06086)'), GeomFromEWKT('SRID=4674;POINT (-39.34385 -3.060947)'))) / (select extract(epoch from '2026-08-04 15:01:42'::timestamp) - extract(epoch from '2026-08-04 15:01:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343781 -3.06086)'), GeomFromEWKT('SRID=4674;POINT (-39.34385 -3.060947)'))) / (select extract(epoch from '2026-08-04 15:01:42'::timestamp) - extract(epoch from '2026-08-04 15:01: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'), 48166, 'SRID=4674;POINT (-39.343927 -3.061085)', '2026-08-04 15:01:49', 36.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34385 -3.060947)'), GeomFromEWKT('SRID=4674;POINT (-39.343927 -3.061085)'))) / (select extract(epoch from '2026-08-04 15:01:49'::timestamp) - extract(epoch from '2026-08-04 15:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34385 -3.060947)'), GeomFromEWKT('SRID=4674;POINT (-39.343927 -3.061085)'))) / (select extract(epoch from '2026-08-04 15:01:49'::timestamp) - extract(epoch from '2026-08-04 15:01: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'), 48166, 'SRID=4674;POINT (-39.344002 -3.061226)', '2026-08-04 15:01:56', 36.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343927 -3.061085)'), GeomFromEWKT('SRID=4674;POINT (-39.344002 -3.061226)'))) / (select extract(epoch from '2026-08-04 15:01:56'::timestamp) - extract(epoch from '2026-08-04 15:01:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343927 -3.061085)'), GeomFromEWKT('SRID=4674;POINT (-39.344002 -3.061226)'))) / (select extract(epoch from '2026-08-04 15:01:56'::timestamp) - extract(epoch from '2026-08-04 15:01:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.344072 -3.061345)', '2026-08-04 15:02:03', 36.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344002 -3.061226)'), GeomFromEWKT('SRID=4674;POINT (-39.344072 -3.061345)'))) / (select extract(epoch from '2026-08-04 15:02:03'::timestamp) - extract(epoch from '2026-08-04 15:01:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344002 -3.061226)'), GeomFromEWKT('SRID=4674;POINT (-39.344072 -3.061345)'))) / (select extract(epoch from '2026-08-04 15:02:03'::timestamp) - extract(epoch from '2026-08-04 15:01: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'), 48166, 'SRID=4674;POINT (-39.344141 -3.061474)', '2026-08-04 15:02:10', 35.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344072 -3.061345)'), GeomFromEWKT('SRID=4674;POINT (-39.344141 -3.061474)'))) / (select extract(epoch from '2026-08-04 15:02:10'::timestamp) - extract(epoch from '2026-08-04 15:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344072 -3.061345)'), GeomFromEWKT('SRID=4674;POINT (-39.344141 -3.061474)'))) / (select extract(epoch from '2026-08-04 15:02:10'::timestamp) - extract(epoch from '2026-08-04 15:02:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.344202 -3.061621)', '2026-08-04 15:02:18', 35.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344141 -3.061474)'), GeomFromEWKT('SRID=4674;POINT (-39.344202 -3.061621)'))) / (select extract(epoch from '2026-08-04 15:02:18'::timestamp) - extract(epoch from '2026-08-04 15:02:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344141 -3.061474)'), GeomFromEWKT('SRID=4674;POINT (-39.344202 -3.061621)'))) / (select extract(epoch from '2026-08-04 15:02:18'::timestamp) - extract(epoch from '2026-08-04 15:02:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.344276 -3.061772)', '2026-08-04 15:02:25', 35.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344202 -3.061621)'), GeomFromEWKT('SRID=4674;POINT (-39.344276 -3.061772)'))) / (select extract(epoch from '2026-08-04 15:02:25'::timestamp) - extract(epoch from '2026-08-04 15:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344202 -3.061621)'), GeomFromEWKT('SRID=4674;POINT (-39.344276 -3.061772)'))) / (select extract(epoch from '2026-08-04 15:02:25'::timestamp) - extract(epoch from '2026-08-04 15:02:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.344323 -3.06187)', '2026-08-04 15:02:32', 36.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344276 -3.061772)'), GeomFromEWKT('SRID=4674;POINT (-39.344323 -3.06187)'))) / (select extract(epoch from '2026-08-04 15:02:32'::timestamp) - extract(epoch from '2026-08-04 15:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344276 -3.061772)'), GeomFromEWKT('SRID=4674;POINT (-39.344323 -3.06187)'))) / (select extract(epoch from '2026-08-04 15:02:32'::timestamp) - extract(epoch from '2026-08-04 15:02:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.344401 -3.062003)', '2026-08-04 15:02:40', 37.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344323 -3.06187)'), GeomFromEWKT('SRID=4674;POINT (-39.344401 -3.062003)'))) / (select extract(epoch from '2026-08-04 15:02:40'::timestamp) - extract(epoch from '2026-08-04 15:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344323 -3.06187)'), GeomFromEWKT('SRID=4674;POINT (-39.344401 -3.062003)'))) / (select extract(epoch from '2026-08-04 15:02:40'::timestamp) - extract(epoch from '2026-08-04 15:02: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'), 48166, 'SRID=4674;POINT (-39.344475 -3.062117)', '2026-08-04 15:02:47', 37.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344401 -3.062003)'), GeomFromEWKT('SRID=4674;POINT (-39.344475 -3.062117)'))) / (select extract(epoch from '2026-08-04 15:02:47'::timestamp) - extract(epoch from '2026-08-04 15:02:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344401 -3.062003)'), GeomFromEWKT('SRID=4674;POINT (-39.344475 -3.062117)'))) / (select extract(epoch from '2026-08-04 15:02:47'::timestamp) - extract(epoch from '2026-08-04 15:02: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'), 48166, 'SRID=4674;POINT (-39.344536 -3.062243)', '2026-08-04 15:02:54', 37, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344475 -3.062117)'), GeomFromEWKT('SRID=4674;POINT (-39.344536 -3.062243)'))) / (select extract(epoch from '2026-08-04 15:02:54'::timestamp) - extract(epoch from '2026-08-04 15:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344475 -3.062117)'), GeomFromEWKT('SRID=4674;POINT (-39.344536 -3.062243)'))) / (select extract(epoch from '2026-08-04 15:02:54'::timestamp) - extract(epoch from '2026-08-04 15:02: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'), 48166, 'SRID=4674;POINT (-39.344626 -3.062401)', '2026-08-04 15:03:02', 34.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344536 -3.062243)'), GeomFromEWKT('SRID=4674;POINT (-39.344626 -3.062401)'))) / (select extract(epoch from '2026-08-04 15:03:02'::timestamp) - extract(epoch from '2026-08-04 15:02:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344536 -3.062243)'), GeomFromEWKT('SRID=4674;POINT (-39.344626 -3.062401)'))) / (select extract(epoch from '2026-08-04 15:03:02'::timestamp) - extract(epoch from '2026-08-04 15:02:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.344708 -3.062546)', '2026-08-04 15:03:09', 33.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344626 -3.062401)'), GeomFromEWKT('SRID=4674;POINT (-39.344708 -3.062546)'))) / (select extract(epoch from '2026-08-04 15:03:09'::timestamp) - extract(epoch from '2026-08-04 15:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344626 -3.062401)'), GeomFromEWKT('SRID=4674;POINT (-39.344708 -3.062546)'))) / (select extract(epoch from '2026-08-04 15:03:09'::timestamp) - extract(epoch from '2026-08-04 15:03: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'), 48166, 'SRID=4674;POINT (-39.344756 -3.062691)', '2026-08-04 15:03:17', 33.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344708 -3.062546)'), GeomFromEWKT('SRID=4674;POINT (-39.344756 -3.062691)'))) / (select extract(epoch from '2026-08-04 15:03:17'::timestamp) - extract(epoch from '2026-08-04 15:03:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344708 -3.062546)'), GeomFromEWKT('SRID=4674;POINT (-39.344756 -3.062691)'))) / (select extract(epoch from '2026-08-04 15:03:17'::timestamp) - extract(epoch from '2026-08-04 15:03:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.344838 -3.062783)', '2026-08-04 15:03:25', 32.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344756 -3.062691)'), GeomFromEWKT('SRID=4674;POINT (-39.344838 -3.062783)'))) / (select extract(epoch from '2026-08-04 15:03:25'::timestamp) - extract(epoch from '2026-08-04 15:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344756 -3.062691)'), GeomFromEWKT('SRID=4674;POINT (-39.344838 -3.062783)'))) / (select extract(epoch from '2026-08-04 15:03:25'::timestamp) - extract(epoch from '2026-08-04 15:03: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'), 48166, 'SRID=4674;POINT (-39.344899 -3.062909)', '2026-08-04 15:03:33', 29.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344838 -3.062783)'), GeomFromEWKT('SRID=4674;POINT (-39.344899 -3.062909)'))) / (select extract(epoch from '2026-08-04 15:03:33'::timestamp) - extract(epoch from '2026-08-04 15:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344838 -3.062783)'), GeomFromEWKT('SRID=4674;POINT (-39.344899 -3.062909)'))) / (select extract(epoch from '2026-08-04 15:03:33'::timestamp) - extract(epoch from '2026-08-04 15:03:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.344966 -3.063017)', '2026-08-04 15:03:39', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344899 -3.062909)'), GeomFromEWKT('SRID=4674;POINT (-39.344966 -3.063017)'))) / (select extract(epoch from '2026-08-04 15:03:39'::timestamp) - extract(epoch from '2026-08-04 15:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344899 -3.062909)'), GeomFromEWKT('SRID=4674;POINT (-39.344966 -3.063017)'))) / (select extract(epoch from '2026-08-04 15:03:39'::timestamp) - extract(epoch from '2026-08-04 15:03:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.345057 -3.063173)', '2026-08-04 15:03:48', 28, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344966 -3.063017)'), GeomFromEWKT('SRID=4674;POINT (-39.345057 -3.063173)'))) / (select extract(epoch from '2026-08-04 15:03:48'::timestamp) - extract(epoch from '2026-08-04 15:03:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344966 -3.063017)'), GeomFromEWKT('SRID=4674;POINT (-39.345057 -3.063173)'))) / (select extract(epoch from '2026-08-04 15:03:48'::timestamp) - extract(epoch from '2026-08-04 15:03:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.345114 -3.06331)', '2026-08-04 15:03:55', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345057 -3.063173)'), GeomFromEWKT('SRID=4674;POINT (-39.345114 -3.06331)'))) / (select extract(epoch from '2026-08-04 15:03:55'::timestamp) - extract(epoch from '2026-08-04 15:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345057 -3.063173)'), GeomFromEWKT('SRID=4674;POINT (-39.345114 -3.06331)'))) / (select extract(epoch from '2026-08-04 15:03:55'::timestamp) - extract(epoch from '2026-08-04 15:03:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.345176 -3.063444)', '2026-08-04 15:04:02', 27.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345114 -3.06331)'), GeomFromEWKT('SRID=4674;POINT (-39.345176 -3.063444)'))) / (select extract(epoch from '2026-08-04 15:04:02'::timestamp) - extract(epoch from '2026-08-04 15:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345114 -3.06331)'), GeomFromEWKT('SRID=4674;POINT (-39.345176 -3.063444)'))) / (select extract(epoch from '2026-08-04 15:04:02'::timestamp) - extract(epoch from '2026-08-04 15:03:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.345249 -3.063553)', '2026-08-04 15:04:09', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345176 -3.063444)'), GeomFromEWKT('SRID=4674;POINT (-39.345249 -3.063553)'))) / (select extract(epoch from '2026-08-04 15:04:09'::timestamp) - extract(epoch from '2026-08-04 15:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345176 -3.063444)'), GeomFromEWKT('SRID=4674;POINT (-39.345249 -3.063553)'))) / (select extract(epoch from '2026-08-04 15:04:09'::timestamp) - extract(epoch from '2026-08-04 15:04:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.345339 -3.063723)', '2026-08-04 15:04:16', 28, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345249 -3.063553)'), GeomFromEWKT('SRID=4674;POINT (-39.345339 -3.063723)'))) / (select extract(epoch from '2026-08-04 15:04:16'::timestamp) - extract(epoch from '2026-08-04 15:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345249 -3.063553)'), GeomFromEWKT('SRID=4674;POINT (-39.345339 -3.063723)'))) / (select extract(epoch from '2026-08-04 15:04:16'::timestamp) - extract(epoch from '2026-08-04 15:04:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.345376 -3.063853)', '2026-08-04 15:04:23', 27.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345339 -3.063723)'), GeomFromEWKT('SRID=4674;POINT (-39.345376 -3.063853)'))) / (select extract(epoch from '2026-08-04 15:04:23'::timestamp) - extract(epoch from '2026-08-04 15:04:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345339 -3.063723)'), GeomFromEWKT('SRID=4674;POINT (-39.345376 -3.063853)'))) / (select extract(epoch from '2026-08-04 15:04:23'::timestamp) - extract(epoch from '2026-08-04 15:04: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'), 48166, 'SRID=4674;POINT (-39.345429 -3.063991)', '2026-08-04 15:04:31', 27.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345376 -3.063853)'), GeomFromEWKT('SRID=4674;POINT (-39.345429 -3.063991)'))) / (select extract(epoch from '2026-08-04 15:04:31'::timestamp) - extract(epoch from '2026-08-04 15:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345376 -3.063853)'), GeomFromEWKT('SRID=4674;POINT (-39.345429 -3.063991)'))) / (select extract(epoch from '2026-08-04 15:04:31'::timestamp) - extract(epoch from '2026-08-04 15:04: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'), 48166, 'SRID=4674;POINT (-39.345517 -3.064179)', '2026-08-04 15:04:40', 27.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345429 -3.063991)'), GeomFromEWKT('SRID=4674;POINT (-39.345517 -3.064179)'))) / (select extract(epoch from '2026-08-04 15:04:40'::timestamp) - extract(epoch from '2026-08-04 15:04:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345429 -3.063991)'), GeomFromEWKT('SRID=4674;POINT (-39.345517 -3.064179)'))) / (select extract(epoch from '2026-08-04 15:04:40'::timestamp) - extract(epoch from '2026-08-04 15:04: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'), 48166, 'SRID=4674;POINT (-39.345639 -3.064362)', '2026-08-04 15:04:50', 27.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345517 -3.064179)'), GeomFromEWKT('SRID=4674;POINT (-39.345639 -3.064362)'))) / (select extract(epoch from '2026-08-04 15:04:50'::timestamp) - extract(epoch from '2026-08-04 15:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345517 -3.064179)'), GeomFromEWKT('SRID=4674;POINT (-39.345639 -3.064362)'))) / (select extract(epoch from '2026-08-04 15:04:50'::timestamp) - extract(epoch from '2026-08-04 15:04:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.345699 -3.064436)', '2026-08-04 15:04:56', 27.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345639 -3.064362)'), GeomFromEWKT('SRID=4674;POINT (-39.345699 -3.064436)'))) / (select extract(epoch from '2026-08-04 15:04:56'::timestamp) - extract(epoch from '2026-08-04 15:04:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345639 -3.064362)'), GeomFromEWKT('SRID=4674;POINT (-39.345699 -3.064436)'))) / (select extract(epoch from '2026-08-04 15:04:56'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.345768 -3.064559)', '2026-08-04 15:05:03', 27.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345699 -3.064436)'), GeomFromEWKT('SRID=4674;POINT (-39.345768 -3.064559)'))) / (select extract(epoch from '2026-08-04 15:05:03'::timestamp) - extract(epoch from '2026-08-04 15:04:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345699 -3.064436)'), GeomFromEWKT('SRID=4674;POINT (-39.345768 -3.064559)'))) / (select extract(epoch from '2026-08-04 15:05:03'::timestamp) - extract(epoch from '2026-08-04 15:04:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.345826 -3.064624)', '2026-08-04 15:05:08', 27.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345768 -3.064559)'), GeomFromEWKT('SRID=4674;POINT (-39.345826 -3.064624)'))) / (select extract(epoch from '2026-08-04 15:05:08'::timestamp) - extract(epoch from '2026-08-04 15:05:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345768 -3.064559)'), GeomFromEWKT('SRID=4674;POINT (-39.345826 -3.064624)'))) / (select extract(epoch from '2026-08-04 15:05:08'::timestamp) - extract(epoch from '2026-08-04 15:05:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.345897 -3.06474)', '2026-08-04 15:05:16', 27.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345826 -3.064624)'), GeomFromEWKT('SRID=4674;POINT (-39.345897 -3.06474)'))) / (select extract(epoch from '2026-08-04 15:05:16'::timestamp) - extract(epoch from '2026-08-04 15:05:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345826 -3.064624)'), GeomFromEWKT('SRID=4674;POINT (-39.345897 -3.06474)'))) / (select extract(epoch from '2026-08-04 15:05:16'::timestamp) - extract(epoch from '2026-08-04 15:05: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'), 48166, 'SRID=4674;POINT (-39.345953 -3.064854)', '2026-08-04 15:05:22', 27.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345897 -3.06474)'), GeomFromEWKT('SRID=4674;POINT (-39.345953 -3.064854)'))) / (select extract(epoch from '2026-08-04 15:05:22'::timestamp) - extract(epoch from '2026-08-04 15:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345897 -3.06474)'), GeomFromEWKT('SRID=4674;POINT (-39.345953 -3.064854)'))) / (select extract(epoch from '2026-08-04 15:05:22'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.34603 -3.064982)', '2026-08-04 15:05:30', 26.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345953 -3.064854)'), GeomFromEWKT('SRID=4674;POINT (-39.34603 -3.064982)'))) / (select extract(epoch from '2026-08-04 15:05:30'::timestamp) - extract(epoch from '2026-08-04 15:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345953 -3.064854)'), GeomFromEWKT('SRID=4674;POINT (-39.34603 -3.064982)'))) / (select extract(epoch from '2026-08-04 15:05:30'::timestamp) - extract(epoch from '2026-08-04 15:05:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.346091 -3.065108)', '2026-08-04 15:05:37', 25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34603 -3.064982)'), GeomFromEWKT('SRID=4674;POINT (-39.346091 -3.065108)'))) / (select extract(epoch from '2026-08-04 15:05:37'::timestamp) - extract(epoch from '2026-08-04 15:05:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34603 -3.064982)'), GeomFromEWKT('SRID=4674;POINT (-39.346091 -3.065108)'))) / (select extract(epoch from '2026-08-04 15:05:37'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.346198 -3.065275)', '2026-08-04 15:05:47', 26, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346091 -3.065108)'), GeomFromEWKT('SRID=4674;POINT (-39.346198 -3.065275)'))) / (select extract(epoch from '2026-08-04 15:05:47'::timestamp) - extract(epoch from '2026-08-04 15:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346091 -3.065108)'), GeomFromEWKT('SRID=4674;POINT (-39.346198 -3.065275)'))) / (select extract(epoch from '2026-08-04 15:05:47'::timestamp) - extract(epoch from '2026-08-04 15:05:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.346258 -3.065381)', '2026-08-04 15:05:53', 26.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346198 -3.065275)'), GeomFromEWKT('SRID=4674;POINT (-39.346258 -3.065381)'))) / (select extract(epoch from '2026-08-04 15:05:53'::timestamp) - extract(epoch from '2026-08-04 15:05:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346198 -3.065275)'), GeomFromEWKT('SRID=4674;POINT (-39.346258 -3.065381)'))) / (select extract(epoch from '2026-08-04 15:05:53'::timestamp) - extract(epoch from '2026-08-04 15:05: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'), 48166, 'SRID=4674;POINT (-39.346326 -3.065499)', '2026-08-04 15:05:59', 26.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346258 -3.065381)'), GeomFromEWKT('SRID=4674;POINT (-39.346326 -3.065499)'))) / (select extract(epoch from '2026-08-04 15:05:59'::timestamp) - extract(epoch from '2026-08-04 15:05:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346258 -3.065381)'), GeomFromEWKT('SRID=4674;POINT (-39.346326 -3.065499)'))) / (select extract(epoch from '2026-08-04 15:05:59'::timestamp) - extract(epoch from '2026-08-04 15:05:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.346425 -3.065638)', '2026-08-04 15:06:08', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346326 -3.065499)'), GeomFromEWKT('SRID=4674;POINT (-39.346425 -3.065638)'))) / (select extract(epoch from '2026-08-04 15:06:08'::timestamp) - extract(epoch from '2026-08-04 15:05:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346326 -3.065499)'), GeomFromEWKT('SRID=4674;POINT (-39.346425 -3.065638)'))) / (select extract(epoch from '2026-08-04 15:06:08'::timestamp) - extract(epoch from '2026-08-04 15:05:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.346464 -3.065764)', '2026-08-04 15:06:15', 27.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346425 -3.065638)'), GeomFromEWKT('SRID=4674;POINT (-39.346464 -3.065764)'))) / (select extract(epoch from '2026-08-04 15:06:15'::timestamp) - extract(epoch from '2026-08-04 15:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346425 -3.065638)'), GeomFromEWKT('SRID=4674;POINT (-39.346464 -3.065764)'))) / (select extract(epoch from '2026-08-04 15:06:15'::timestamp) - extract(epoch from '2026-08-04 15:06:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.346513 -3.065891)', '2026-08-04 15:06:23', 28.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346464 -3.065764)'), GeomFromEWKT('SRID=4674;POINT (-39.346513 -3.065891)'))) / (select extract(epoch from '2026-08-04 15:06:23'::timestamp) - extract(epoch from '2026-08-04 15:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346464 -3.065764)'), GeomFromEWKT('SRID=4674;POINT (-39.346513 -3.065891)'))) / (select extract(epoch from '2026-08-04 15:06:23'::timestamp) - extract(epoch from '2026-08-04 15:06:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.346573 -3.066025)', '2026-08-04 15:06:31', 29.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346513 -3.065891)'), GeomFromEWKT('SRID=4674;POINT (-39.346573 -3.066025)'))) / (select extract(epoch from '2026-08-04 15:06:31'::timestamp) - extract(epoch from '2026-08-04 15:06:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346513 -3.065891)'), GeomFromEWKT('SRID=4674;POINT (-39.346573 -3.066025)'))) / (select extract(epoch from '2026-08-04 15:06:31'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.346652 -3.066166)', '2026-08-04 15:06:40', 31, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346573 -3.066025)'), GeomFromEWKT('SRID=4674;POINT (-39.346652 -3.066166)'))) / (select extract(epoch from '2026-08-04 15:06:40'::timestamp) - extract(epoch from '2026-08-04 15:06:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346573 -3.066025)'), GeomFromEWKT('SRID=4674;POINT (-39.346652 -3.066166)'))) / (select extract(epoch from '2026-08-04 15:06:40'::timestamp) - extract(epoch from '2026-08-04 15:06: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'), 48166, 'SRID=4674;POINT (-39.346725 -3.066286)', '2026-08-04 15:06:47', 31.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346652 -3.066166)'), GeomFromEWKT('SRID=4674;POINT (-39.346725 -3.066286)'))) / (select extract(epoch from '2026-08-04 15:06:47'::timestamp) - extract(epoch from '2026-08-04 15:06:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346652 -3.066166)'), GeomFromEWKT('SRID=4674;POINT (-39.346725 -3.066286)'))) / (select extract(epoch from '2026-08-04 15:06:47'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.346787 -3.066427)', '2026-08-04 15:06:56', 31.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346725 -3.066286)'), GeomFromEWKT('SRID=4674;POINT (-39.346787 -3.066427)'))) / (select extract(epoch from '2026-08-04 15:06:56'::timestamp) - extract(epoch from '2026-08-04 15:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346725 -3.066286)'), GeomFromEWKT('SRID=4674;POINT (-39.346787 -3.066427)'))) / (select extract(epoch from '2026-08-04 15:06:56'::timestamp) - extract(epoch from '2026-08-04 15:06: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'), 48166, 'SRID=4674;POINT (-39.346863 -3.066538)', '2026-08-04 15:07:04', 32.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346787 -3.066427)'), GeomFromEWKT('SRID=4674;POINT (-39.346863 -3.066538)'))) / (select extract(epoch from '2026-08-04 15:07:04'::timestamp) - extract(epoch from '2026-08-04 15:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346787 -3.066427)'), GeomFromEWKT('SRID=4674;POINT (-39.346863 -3.066538)'))) / (select extract(epoch from '2026-08-04 15:07:04'::timestamp) - extract(epoch from '2026-08-04 15:06:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.346927 -3.066653)', '2026-08-04 15:07:11', 32.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346863 -3.066538)'), GeomFromEWKT('SRID=4674;POINT (-39.346927 -3.066653)'))) / (select extract(epoch from '2026-08-04 15:07:11'::timestamp) - extract(epoch from '2026-08-04 15:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346863 -3.066538)'), GeomFromEWKT('SRID=4674;POINT (-39.346927 -3.066653)'))) / (select extract(epoch from '2026-08-04 15:07:11'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.347 -3.066761)', '2026-08-04 15:07:19', 32.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346927 -3.066653)'), GeomFromEWKT('SRID=4674;POINT (-39.347 -3.066761)'))) / (select extract(epoch from '2026-08-04 15:07:19'::timestamp) - extract(epoch from '2026-08-04 15:07:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346927 -3.066653)'), GeomFromEWKT('SRID=4674;POINT (-39.347 -3.066761)'))) / (select extract(epoch from '2026-08-04 15:07:19'::timestamp) - extract(epoch from '2026-08-04 15:07:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.347102 -3.066895)', '2026-08-04 15:07:27', 32.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347 -3.066761)'), GeomFromEWKT('SRID=4674;POINT (-39.347102 -3.066895)'))) / (select extract(epoch from '2026-08-04 15:07:27'::timestamp) - extract(epoch from '2026-08-04 15:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347 -3.066761)'), GeomFromEWKT('SRID=4674;POINT (-39.347102 -3.066895)'))) / (select extract(epoch from '2026-08-04 15:07:27'::timestamp) - extract(epoch from '2026-08-04 15:07: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'), 48166, 'SRID=4674;POINT (-39.347142 -3.067029)', '2026-08-04 15:07:33', 32.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347102 -3.066895)'), GeomFromEWKT('SRID=4674;POINT (-39.347142 -3.067029)'))) / (select extract(epoch from '2026-08-04 15:07:33'::timestamp) - extract(epoch from '2026-08-04 15:07:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347102 -3.066895)'), GeomFromEWKT('SRID=4674;POINT (-39.347142 -3.067029)'))) / (select extract(epoch from '2026-08-04 15:07:33'::timestamp) - extract(epoch from '2026-08-04 15:07: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'), 48166, 'SRID=4674;POINT (-39.347233 -3.067177)', '2026-08-04 15:07:42', 32.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347142 -3.067029)'), GeomFromEWKT('SRID=4674;POINT (-39.347233 -3.067177)'))) / (select extract(epoch from '2026-08-04 15:07:42'::timestamp) - extract(epoch from '2026-08-04 15:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347142 -3.067029)'), GeomFromEWKT('SRID=4674;POINT (-39.347233 -3.067177)'))) / (select extract(epoch from '2026-08-04 15:07:42'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.347306 -3.06727)', '2026-08-04 15:07:48', 32.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347233 -3.067177)'), GeomFromEWKT('SRID=4674;POINT (-39.347306 -3.06727)'))) / (select extract(epoch from '2026-08-04 15:07:48'::timestamp) - extract(epoch from '2026-08-04 15:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347233 -3.067177)'), GeomFromEWKT('SRID=4674;POINT (-39.347306 -3.06727)'))) / (select extract(epoch from '2026-08-04 15:07:48'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.347375 -3.067402)', '2026-08-04 15:07:55', 31.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347306 -3.06727)'), GeomFromEWKT('SRID=4674;POINT (-39.347375 -3.067402)'))) / (select extract(epoch from '2026-08-04 15:07:55'::timestamp) - extract(epoch from '2026-08-04 15:07:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347306 -3.06727)'), GeomFromEWKT('SRID=4674;POINT (-39.347375 -3.067402)'))) / (select extract(epoch from '2026-08-04 15:07:55'::timestamp) - extract(epoch from '2026-08-04 15:07:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.347437 -3.067551)', '2026-08-04 15:08:04', 31.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347375 -3.067402)'), GeomFromEWKT('SRID=4674;POINT (-39.347437 -3.067551)'))) / (select extract(epoch from '2026-08-04 15:08:04'::timestamp) - extract(epoch from '2026-08-04 15:07:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347375 -3.067402)'), GeomFromEWKT('SRID=4674;POINT (-39.347437 -3.067551)'))) / (select extract(epoch from '2026-08-04 15:08:04'::timestamp) - extract(epoch from '2026-08-04 15:07: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'), 48166, 'SRID=4674;POINT (-39.347525 -3.067721)', '2026-08-04 15:08:13', 30.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347437 -3.067551)'), GeomFromEWKT('SRID=4674;POINT (-39.347525 -3.067721)'))) / (select extract(epoch from '2026-08-04 15:08:13'::timestamp) - extract(epoch from '2026-08-04 15:08:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347437 -3.067551)'), GeomFromEWKT('SRID=4674;POINT (-39.347525 -3.067721)'))) / (select extract(epoch from '2026-08-04 15:08:13'::timestamp) - extract(epoch from '2026-08-04 15:08: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'), 48166, 'SRID=4674;POINT (-39.347609 -3.067903)', '2026-08-04 15:08:21', 30.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347525 -3.067721)'), GeomFromEWKT('SRID=4674;POINT (-39.347609 -3.067903)'))) / (select extract(epoch from '2026-08-04 15:08:21'::timestamp) - extract(epoch from '2026-08-04 15:08:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347525 -3.067721)'), GeomFromEWKT('SRID=4674;POINT (-39.347609 -3.067903)'))) / (select extract(epoch from '2026-08-04 15:08:21'::timestamp) - extract(epoch from '2026-08-04 15:08:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.347681 -3.068086)', '2026-08-04 15:08:29', 31, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347609 -3.067903)'), GeomFromEWKT('SRID=4674;POINT (-39.347681 -3.068086)'))) / (select extract(epoch from '2026-08-04 15:08:29'::timestamp) - extract(epoch from '2026-08-04 15:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347609 -3.067903)'), GeomFromEWKT('SRID=4674;POINT (-39.347681 -3.068086)'))) / (select extract(epoch from '2026-08-04 15:08:29'::timestamp) - extract(epoch from '2026-08-04 15:08:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.347756 -3.068178)', '2026-08-04 15:08:36', 30.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347681 -3.068086)'), GeomFromEWKT('SRID=4674;POINT (-39.347756 -3.068178)'))) / (select extract(epoch from '2026-08-04 15:08:36'::timestamp) - extract(epoch from '2026-08-04 15:08:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347681 -3.068086)'), GeomFromEWKT('SRID=4674;POINT (-39.347756 -3.068178)'))) / (select extract(epoch from '2026-08-04 15:08:36'::timestamp) - extract(epoch from '2026-08-04 15:08:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.347817 -3.068312)', '2026-08-04 15:08:43', 30, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347756 -3.068178)'), GeomFromEWKT('SRID=4674;POINT (-39.347817 -3.068312)'))) / (select extract(epoch from '2026-08-04 15:08:43'::timestamp) - extract(epoch from '2026-08-04 15:08:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347756 -3.068178)'), GeomFromEWKT('SRID=4674;POINT (-39.347817 -3.068312)'))) / (select extract(epoch from '2026-08-04 15:08:43'::timestamp) - extract(epoch from '2026-08-04 15:08:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.347886 -3.068486)', '2026-08-04 15:08:52', 30.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347817 -3.068312)'), GeomFromEWKT('SRID=4674;POINT (-39.347886 -3.068486)'))) / (select extract(epoch from '2026-08-04 15:08:52'::timestamp) - extract(epoch from '2026-08-04 15:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347817 -3.068312)'), GeomFromEWKT('SRID=4674;POINT (-39.347886 -3.068486)'))) / (select extract(epoch from '2026-08-04 15:08:52'::timestamp) - extract(epoch from '2026-08-04 15:08: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'), 48166, 'SRID=4674;POINT (-39.34796 -3.068644)', '2026-08-04 15:09:00', 30.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347886 -3.068486)'), GeomFromEWKT('SRID=4674;POINT (-39.34796 -3.068644)'))) / (select extract(epoch from '2026-08-04 15:09:00'::timestamp) - extract(epoch from '2026-08-04 15:08:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347886 -3.068486)'), GeomFromEWKT('SRID=4674;POINT (-39.34796 -3.068644)'))) / (select extract(epoch from '2026-08-04 15:09:00'::timestamp) - extract(epoch from '2026-08-04 15:08: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'), 48166, 'SRID=4674;POINT (-39.34802 -3.068771)', '2026-08-04 15:09:08', 31.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34796 -3.068644)'), GeomFromEWKT('SRID=4674;POINT (-39.34802 -3.068771)'))) / (select extract(epoch from '2026-08-04 15:09:08'::timestamp) - extract(epoch from '2026-08-04 15:09:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34796 -3.068644)'), GeomFromEWKT('SRID=4674;POINT (-39.34802 -3.068771)'))) / (select extract(epoch from '2026-08-04 15:09:08'::timestamp) - extract(epoch from '2026-08-04 15:09: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'), 48166, 'SRID=4674;POINT (-39.348109 -3.068922)', '2026-08-04 15:09:16', 31.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34802 -3.068771)'), GeomFromEWKT('SRID=4674;POINT (-39.348109 -3.068922)'))) / (select extract(epoch from '2026-08-04 15:09:16'::timestamp) - extract(epoch from '2026-08-04 15:09:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34802 -3.068771)'), GeomFromEWKT('SRID=4674;POINT (-39.348109 -3.068922)'))) / (select extract(epoch from '2026-08-04 15:09:16'::timestamp) - extract(epoch from '2026-08-04 15:09: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'), 48166, 'SRID=4674;POINT (-39.348192 -3.069037)', '2026-08-04 15:09:23', 30.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348109 -3.068922)'), GeomFromEWKT('SRID=4674;POINT (-39.348192 -3.069037)'))) / (select extract(epoch from '2026-08-04 15:09:23'::timestamp) - extract(epoch from '2026-08-04 15:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348109 -3.068922)'), GeomFromEWKT('SRID=4674;POINT (-39.348192 -3.069037)'))) / (select extract(epoch from '2026-08-04 15:09:23'::timestamp) - extract(epoch from '2026-08-04 15:09:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.348265 -3.069183)', '2026-08-04 15:09:31', 29.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348192 -3.069037)'), GeomFromEWKT('SRID=4674;POINT (-39.348265 -3.069183)'))) / (select extract(epoch from '2026-08-04 15:09:31'::timestamp) - extract(epoch from '2026-08-04 15:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348192 -3.069037)'), GeomFromEWKT('SRID=4674;POINT (-39.348265 -3.069183)'))) / (select extract(epoch from '2026-08-04 15:09:31'::timestamp) - extract(epoch from '2026-08-04 15:09:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.348344 -3.069341)', '2026-08-04 15:09:40', 29.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348265 -3.069183)'), GeomFromEWKT('SRID=4674;POINT (-39.348344 -3.069341)'))) / (select extract(epoch from '2026-08-04 15:09:40'::timestamp) - extract(epoch from '2026-08-04 15:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348265 -3.069183)'), GeomFromEWKT('SRID=4674;POINT (-39.348344 -3.069341)'))) / (select extract(epoch from '2026-08-04 15:09:40'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.34846 -3.069472)', '2026-08-04 15:09:49', 29.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348344 -3.069341)'), GeomFromEWKT('SRID=4674;POINT (-39.34846 -3.069472)'))) / (select extract(epoch from '2026-08-04 15:09:49'::timestamp) - extract(epoch from '2026-08-04 15:09:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348344 -3.069341)'), GeomFromEWKT('SRID=4674;POINT (-39.34846 -3.069472)'))) / (select extract(epoch from '2026-08-04 15:09:49'::timestamp) - extract(epoch from '2026-08-04 15:09:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.348552 -3.069591)', '2026-08-04 15:09:55', 29, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34846 -3.069472)'), GeomFromEWKT('SRID=4674;POINT (-39.348552 -3.069591)'))) / (select extract(epoch from '2026-08-04 15:09:55'::timestamp) - extract(epoch from '2026-08-04 15:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34846 -3.069472)'), GeomFromEWKT('SRID=4674;POINT (-39.348552 -3.069591)'))) / (select extract(epoch from '2026-08-04 15:09:55'::timestamp) - extract(epoch from '2026-08-04 15:09:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.348657 -3.069735)', '2026-08-04 15:10:03', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348552 -3.069591)'), GeomFromEWKT('SRID=4674;POINT (-39.348657 -3.069735)'))) / (select extract(epoch from '2026-08-04 15:10:03'::timestamp) - extract(epoch from '2026-08-04 15:09:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348552 -3.069591)'), GeomFromEWKT('SRID=4674;POINT (-39.348657 -3.069735)'))) / (select extract(epoch from '2026-08-04 15:10:03'::timestamp) - extract(epoch from '2026-08-04 15:09:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.34874 -3.069851)', '2026-08-04 15:10:10', 29.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348657 -3.069735)'), GeomFromEWKT('SRID=4674;POINT (-39.34874 -3.069851)'))) / (select extract(epoch from '2026-08-04 15:10:10'::timestamp) - extract(epoch from '2026-08-04 15:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348657 -3.069735)'), GeomFromEWKT('SRID=4674;POINT (-39.34874 -3.069851)'))) / (select extract(epoch from '2026-08-04 15:10:10'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.348873 -3.069973)', '2026-08-04 15:10:19', 29.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34874 -3.069851)'), GeomFromEWKT('SRID=4674;POINT (-39.348873 -3.069973)'))) / (select extract(epoch from '2026-08-04 15:10:19'::timestamp) - extract(epoch from '2026-08-04 15:10:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34874 -3.069851)'), GeomFromEWKT('SRID=4674;POINT (-39.348873 -3.069973)'))) / (select extract(epoch from '2026-08-04 15:10:19'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.348984 -3.070122)', '2026-08-04 15:10:27', 29.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348873 -3.069973)'), GeomFromEWKT('SRID=4674;POINT (-39.348984 -3.070122)'))) / (select extract(epoch from '2026-08-04 15:10:27'::timestamp) - extract(epoch from '2026-08-04 15:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348873 -3.069973)'), GeomFromEWKT('SRID=4674;POINT (-39.348984 -3.070122)'))) / (select extract(epoch from '2026-08-04 15:10:27'::timestamp) - extract(epoch from '2026-08-04 15:10:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.34906 -3.070201)', '2026-08-04 15:10:33', 29.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348984 -3.070122)'), GeomFromEWKT('SRID=4674;POINT (-39.34906 -3.070201)'))) / (select extract(epoch from '2026-08-04 15:10:33'::timestamp) - extract(epoch from '2026-08-04 15:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348984 -3.070122)'), GeomFromEWKT('SRID=4674;POINT (-39.34906 -3.070201)'))) / (select extract(epoch from '2026-08-04 15:10:33'::timestamp) - extract(epoch from '2026-08-04 15:10:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.34912 -3.070329)', '2026-08-04 15:10:40', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34906 -3.070201)'), GeomFromEWKT('SRID=4674;POINT (-39.34912 -3.070329)'))) / (select extract(epoch from '2026-08-04 15:10:40'::timestamp) - extract(epoch from '2026-08-04 15:10:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34906 -3.070201)'), GeomFromEWKT('SRID=4674;POINT (-39.34912 -3.070329)'))) / (select extract(epoch from '2026-08-04 15:10:40'::timestamp) - extract(epoch from '2026-08-04 15:10:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.349231 -3.070493)', '2026-08-04 15:10:48', 29, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34912 -3.070329)'), GeomFromEWKT('SRID=4674;POINT (-39.349231 -3.070493)'))) / (select extract(epoch from '2026-08-04 15:10:48'::timestamp) - extract(epoch from '2026-08-04 15:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34912 -3.070329)'), GeomFromEWKT('SRID=4674;POINT (-39.349231 -3.070493)'))) / (select extract(epoch from '2026-08-04 15:10:48'::timestamp) - extract(epoch from '2026-08-04 15:10:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.349363 -3.070652)', '2026-08-04 15:10:57', 28.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349231 -3.070493)'), GeomFromEWKT('SRID=4674;POINT (-39.349363 -3.070652)'))) / (select extract(epoch from '2026-08-04 15:10:57'::timestamp) - extract(epoch from '2026-08-04 15:10:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349231 -3.070493)'), GeomFromEWKT('SRID=4674;POINT (-39.349363 -3.070652)'))) / (select extract(epoch from '2026-08-04 15:10:57'::timestamp) - extract(epoch from '2026-08-04 15:10: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'), 48166, 'SRID=4674;POINT (-39.349472 -3.07079)', '2026-08-04 15:11:05', 28.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349363 -3.070652)'), GeomFromEWKT('SRID=4674;POINT (-39.349472 -3.07079)'))) / (select extract(epoch from '2026-08-04 15:11:05'::timestamp) - extract(epoch from '2026-08-04 15:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349363 -3.070652)'), GeomFromEWKT('SRID=4674;POINT (-39.349472 -3.07079)'))) / (select extract(epoch from '2026-08-04 15:11:05'::timestamp) - extract(epoch from '2026-08-04 15:10:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.349552 -3.070915)', '2026-08-04 15:11:12', 28.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349472 -3.07079)'), GeomFromEWKT('SRID=4674;POINT (-39.349552 -3.070915)'))) / (select extract(epoch from '2026-08-04 15:11:12'::timestamp) - extract(epoch from '2026-08-04 15:11:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349472 -3.07079)'), GeomFromEWKT('SRID=4674;POINT (-39.349552 -3.070915)'))) / (select extract(epoch from '2026-08-04 15:11:12'::timestamp) - extract(epoch from '2026-08-04 15:11: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'), 48166, 'SRID=4674;POINT (-39.34963 -3.071011)', '2026-08-04 15:11:19', 28.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349552 -3.070915)'), GeomFromEWKT('SRID=4674;POINT (-39.34963 -3.071011)'))) / (select extract(epoch from '2026-08-04 15:11:19'::timestamp) - extract(epoch from '2026-08-04 15:11:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349552 -3.070915)'), GeomFromEWKT('SRID=4674;POINT (-39.34963 -3.071011)'))) / (select extract(epoch from '2026-08-04 15:11:19'::timestamp) - extract(epoch from '2026-08-04 15:11:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.349715 -3.071113)', '2026-08-04 15:11:27', 27.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34963 -3.071011)'), GeomFromEWKT('SRID=4674;POINT (-39.349715 -3.071113)'))) / (select extract(epoch from '2026-08-04 15:11:27'::timestamp) - extract(epoch from '2026-08-04 15:11:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34963 -3.071011)'), GeomFromEWKT('SRID=4674;POINT (-39.349715 -3.071113)'))) / (select extract(epoch from '2026-08-04 15:11:27'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.349817 -3.071232)', '2026-08-04 15:11:36', 26.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349715 -3.071113)'), GeomFromEWKT('SRID=4674;POINT (-39.349817 -3.071232)'))) / (select extract(epoch from '2026-08-04 15:11:36'::timestamp) - extract(epoch from '2026-08-04 15:11:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349715 -3.071113)'), GeomFromEWKT('SRID=4674;POINT (-39.349817 -3.071232)'))) / (select extract(epoch from '2026-08-04 15:11:36'::timestamp) - extract(epoch from '2026-08-04 15:11:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.349918 -3.071365)', '2026-08-04 15:11:44', 25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349817 -3.071232)'), GeomFromEWKT('SRID=4674;POINT (-39.349918 -3.071365)'))) / (select extract(epoch from '2026-08-04 15:11:44'::timestamp) - extract(epoch from '2026-08-04 15:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349817 -3.071232)'), GeomFromEWKT('SRID=4674;POINT (-39.349918 -3.071365)'))) / (select extract(epoch from '2026-08-04 15:11:44'::timestamp) - extract(epoch from '2026-08-04 15:11: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'), 48166, 'SRID=4674;POINT (-39.349973 -3.071535)', '2026-08-04 15:11:52', 25.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349918 -3.071365)'), GeomFromEWKT('SRID=4674;POINT (-39.349973 -3.071535)'))) / (select extract(epoch from '2026-08-04 15:11:52'::timestamp) - extract(epoch from '2026-08-04 15:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349918 -3.071365)'), GeomFromEWKT('SRID=4674;POINT (-39.349973 -3.071535)'))) / (select extract(epoch from '2026-08-04 15:11:52'::timestamp) - extract(epoch from '2026-08-04 15:11:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.350051 -3.071635)', '2026-08-04 15:11:59', 24.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349973 -3.071535)'), GeomFromEWKT('SRID=4674;POINT (-39.350051 -3.071635)'))) / (select extract(epoch from '2026-08-04 15:11:59'::timestamp) - extract(epoch from '2026-08-04 15:11:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349973 -3.071535)'), GeomFromEWKT('SRID=4674;POINT (-39.350051 -3.071635)'))) / (select extract(epoch from '2026-08-04 15:11:59'::timestamp) - extract(epoch from '2026-08-04 15:11: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'), 48166, 'SRID=4674;POINT (-39.35015 -3.071774)', '2026-08-04 15:12:07', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350051 -3.071635)'), GeomFromEWKT('SRID=4674;POINT (-39.35015 -3.071774)'))) / (select extract(epoch from '2026-08-04 15:12:07'::timestamp) - extract(epoch from '2026-08-04 15:11:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350051 -3.071635)'), GeomFromEWKT('SRID=4674;POINT (-39.35015 -3.071774)'))) / (select extract(epoch from '2026-08-04 15:12:07'::timestamp) - extract(epoch from '2026-08-04 15:11:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.350218 -3.071878)', '2026-08-04 15:12:13', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35015 -3.071774)'), GeomFromEWKT('SRID=4674;POINT (-39.350218 -3.071878)'))) / (select extract(epoch from '2026-08-04 15:12:13'::timestamp) - extract(epoch from '2026-08-04 15:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35015 -3.071774)'), GeomFromEWKT('SRID=4674;POINT (-39.350218 -3.071878)'))) / (select extract(epoch from '2026-08-04 15:12:13'::timestamp) - extract(epoch from '2026-08-04 15:12:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.350358 -3.072017)', '2026-08-04 15:12:22', 23.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350218 -3.071878)'), GeomFromEWKT('SRID=4674;POINT (-39.350358 -3.072017)'))) / (select extract(epoch from '2026-08-04 15:12:22'::timestamp) - extract(epoch from '2026-08-04 15:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350218 -3.071878)'), GeomFromEWKT('SRID=4674;POINT (-39.350358 -3.072017)'))) / (select extract(epoch from '2026-08-04 15:12:22'::timestamp) - extract(epoch from '2026-08-04 15:12: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'), 48166, 'SRID=4674;POINT (-39.350471 -3.072125)', '2026-08-04 15:12:30', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350358 -3.072017)'), GeomFromEWKT('SRID=4674;POINT (-39.350471 -3.072125)'))) / (select extract(epoch from '2026-08-04 15:12:30'::timestamp) - extract(epoch from '2026-08-04 15:12:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350358 -3.072017)'), GeomFromEWKT('SRID=4674;POINT (-39.350471 -3.072125)'))) / (select extract(epoch from '2026-08-04 15:12:30'::timestamp) - extract(epoch from '2026-08-04 15:12:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.350594 -3.072212)', '2026-08-04 15:12:38', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350471 -3.072125)'), GeomFromEWKT('SRID=4674;POINT (-39.350594 -3.072212)'))) / (select extract(epoch from '2026-08-04 15:12:38'::timestamp) - extract(epoch from '2026-08-04 15:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350471 -3.072125)'), GeomFromEWKT('SRID=4674;POINT (-39.350594 -3.072212)'))) / (select extract(epoch from '2026-08-04 15:12:38'::timestamp) - extract(epoch from '2026-08-04 15:12: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'), 48166, 'SRID=4674;POINT (-39.350735 -3.072347)', '2026-08-04 15:12:47', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350594 -3.072212)'), GeomFromEWKT('SRID=4674;POINT (-39.350735 -3.072347)'))) / (select extract(epoch from '2026-08-04 15:12:47'::timestamp) - extract(epoch from '2026-08-04 15:12:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350594 -3.072212)'), GeomFromEWKT('SRID=4674;POINT (-39.350735 -3.072347)'))) / (select extract(epoch from '2026-08-04 15:12:47'::timestamp) - extract(epoch from '2026-08-04 15:12:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.350855 -3.072471)', '2026-08-04 15:12:55', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350735 -3.072347)'), GeomFromEWKT('SRID=4674;POINT (-39.350855 -3.072471)'))) / (select extract(epoch from '2026-08-04 15:12:55'::timestamp) - extract(epoch from '2026-08-04 15:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350735 -3.072347)'), GeomFromEWKT('SRID=4674;POINT (-39.350855 -3.072471)'))) / (select extract(epoch from '2026-08-04 15:12:55'::timestamp) - extract(epoch from '2026-08-04 15:12: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'), 48166, 'SRID=4674;POINT (-39.350977 -3.072565)', '2026-08-04 15:13:01', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350855 -3.072471)'), GeomFromEWKT('SRID=4674;POINT (-39.350977 -3.072565)'))) / (select extract(epoch from '2026-08-04 15:13:01'::timestamp) - extract(epoch from '2026-08-04 15:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350855 -3.072471)'), GeomFromEWKT('SRID=4674;POINT (-39.350977 -3.072565)'))) / (select extract(epoch from '2026-08-04 15:13:01'::timestamp) - extract(epoch from '2026-08-04 15:12:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.351119 -3.072643)', '2026-08-04 15:13:08', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350977 -3.072565)'), GeomFromEWKT('SRID=4674;POINT (-39.351119 -3.072643)'))) / (select extract(epoch from '2026-08-04 15:13:08'::timestamp) - extract(epoch from '2026-08-04 15:13:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350977 -3.072565)'), GeomFromEWKT('SRID=4674;POINT (-39.351119 -3.072643)'))) / (select extract(epoch from '2026-08-04 15:13:08'::timestamp) - extract(epoch from '2026-08-04 15:13:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.351227 -3.072707)', '2026-08-04 15:13:13', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351119 -3.072643)'), GeomFromEWKT('SRID=4674;POINT (-39.351227 -3.072707)'))) / (select extract(epoch from '2026-08-04 15:13:13'::timestamp) - extract(epoch from '2026-08-04 15:13:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351119 -3.072643)'), GeomFromEWKT('SRID=4674;POINT (-39.351227 -3.072707)'))) / (select extract(epoch from '2026-08-04 15:13:13'::timestamp) - extract(epoch from '2026-08-04 15:13:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.351318 -3.072774)', '2026-08-04 15:13:18', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351227 -3.072707)'), GeomFromEWKT('SRID=4674;POINT (-39.351318 -3.072774)'))) / (select extract(epoch from '2026-08-04 15:13:18'::timestamp) - extract(epoch from '2026-08-04 15:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351227 -3.072707)'), GeomFromEWKT('SRID=4674;POINT (-39.351318 -3.072774)'))) / (select extract(epoch from '2026-08-04 15:13:18'::timestamp) - extract(epoch from '2026-08-04 15:13:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.351376 -3.07283)', '2026-08-04 15:13:22', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351318 -3.072774)'), GeomFromEWKT('SRID=4674;POINT (-39.351376 -3.07283)'))) / (select extract(epoch from '2026-08-04 15:13:22'::timestamp) - extract(epoch from '2026-08-04 15:13:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351318 -3.072774)'), GeomFromEWKT('SRID=4674;POINT (-39.351376 -3.07283)'))) / (select extract(epoch from '2026-08-04 15:13:22'::timestamp) - extract(epoch from '2026-08-04 15:13: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'), 48166, 'SRID=4674;POINT (-39.351461 -3.072915)', '2026-08-04 15:13:27', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351376 -3.07283)'), GeomFromEWKT('SRID=4674;POINT (-39.351461 -3.072915)'))) / (select extract(epoch from '2026-08-04 15:13:27'::timestamp) - extract(epoch from '2026-08-04 15:13:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351376 -3.07283)'), GeomFromEWKT('SRID=4674;POINT (-39.351461 -3.072915)'))) / (select extract(epoch from '2026-08-04 15:13:27'::timestamp) - extract(epoch from '2026-08-04 15:13: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'), 48166, 'SRID=4674;POINT (-39.351556 -3.073026)', '2026-08-04 15:13:33', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351461 -3.072915)'), GeomFromEWKT('SRID=4674;POINT (-39.351556 -3.073026)'))) / (select extract(epoch from '2026-08-04 15:13:33'::timestamp) - extract(epoch from '2026-08-04 15:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351461 -3.072915)'), GeomFromEWKT('SRID=4674;POINT (-39.351556 -3.073026)'))) / (select extract(epoch from '2026-08-04 15:13:33'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.35163 -3.073109)', '2026-08-04 15:13:38', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351556 -3.073026)'), GeomFromEWKT('SRID=4674;POINT (-39.35163 -3.073109)'))) / (select extract(epoch from '2026-08-04 15:13:38'::timestamp) - extract(epoch from '2026-08-04 15:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351556 -3.073026)'), GeomFromEWKT('SRID=4674;POINT (-39.35163 -3.073109)'))) / (select extract(epoch from '2026-08-04 15:13:38'::timestamp) - extract(epoch from '2026-08-04 15:13:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.35166 -3.073159)', '2026-08-04 15:13:42', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35163 -3.073109)'), GeomFromEWKT('SRID=4674;POINT (-39.35166 -3.073159)'))) / (select extract(epoch from '2026-08-04 15:13:42'::timestamp) - extract(epoch from '2026-08-04 15:13:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35163 -3.073109)'), GeomFromEWKT('SRID=4674;POINT (-39.35166 -3.073159)'))) / (select extract(epoch from '2026-08-04 15:13:42'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.351734 -3.073225)', '2026-08-04 15:13:47', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35166 -3.073159)'), GeomFromEWKT('SRID=4674;POINT (-39.351734 -3.073225)'))) / (select extract(epoch from '2026-08-04 15:13:47'::timestamp) - extract(epoch from '2026-08-04 15:13:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35166 -3.073159)'), GeomFromEWKT('SRID=4674;POINT (-39.351734 -3.073225)'))) / (select extract(epoch from '2026-08-04 15:13:47'::timestamp) - extract(epoch from '2026-08-04 15:13: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'), 48166, 'SRID=4674;POINT (-39.351798 -3.073308)', '2026-08-04 15:13:52', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351734 -3.073225)'), GeomFromEWKT('SRID=4674;POINT (-39.351798 -3.073308)'))) / (select extract(epoch from '2026-08-04 15:13:52'::timestamp) - extract(epoch from '2026-08-04 15:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351734 -3.073225)'), GeomFromEWKT('SRID=4674;POINT (-39.351798 -3.073308)'))) / (select extract(epoch from '2026-08-04 15:13:52'::timestamp) - extract(epoch from '2026-08-04 15:13:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.351901 -3.073411)', '2026-08-04 15:13:59', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351798 -3.073308)'), GeomFromEWKT('SRID=4674;POINT (-39.351901 -3.073411)'))) / (select extract(epoch from '2026-08-04 15:13:59'::timestamp) - extract(epoch from '2026-08-04 15:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351798 -3.073308)'), GeomFromEWKT('SRID=4674;POINT (-39.351901 -3.073411)'))) / (select extract(epoch from '2026-08-04 15:13:59'::timestamp) - extract(epoch from '2026-08-04 15:13:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.352011 -3.073443)', '2026-08-04 15:14:04', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351901 -3.073411)'), GeomFromEWKT('SRID=4674;POINT (-39.352011 -3.073443)'))) / (select extract(epoch from '2026-08-04 15:14:04'::timestamp) - extract(epoch from '2026-08-04 15:13:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351901 -3.073411)'), GeomFromEWKT('SRID=4674;POINT (-39.352011 -3.073443)'))) / (select extract(epoch from '2026-08-04 15:14:04'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.352107 -3.073467)', '2026-08-04 15:14:08', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352011 -3.073443)'), GeomFromEWKT('SRID=4674;POINT (-39.352107 -3.073467)'))) / (select extract(epoch from '2026-08-04 15:14:08'::timestamp) - extract(epoch from '2026-08-04 15:14:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352011 -3.073443)'), GeomFromEWKT('SRID=4674;POINT (-39.352107 -3.073467)'))) / (select extract(epoch from '2026-08-04 15:14:08'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.352169 -3.07349)', '2026-08-04 15:14:12', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352107 -3.073467)'), GeomFromEWKT('SRID=4674;POINT (-39.352169 -3.07349)'))) / (select extract(epoch from '2026-08-04 15:14:12'::timestamp) - extract(epoch from '2026-08-04 15:14:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352107 -3.073467)'), GeomFromEWKT('SRID=4674;POINT (-39.352169 -3.07349)'))) / (select extract(epoch from '2026-08-04 15:14:12'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.352291 -3.073545)', '2026-08-04 15:14:17', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352169 -3.07349)'), GeomFromEWKT('SRID=4674;POINT (-39.352291 -3.073545)'))) / (select extract(epoch from '2026-08-04 15:14:17'::timestamp) - extract(epoch from '2026-08-04 15:14:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352169 -3.07349)'), GeomFromEWKT('SRID=4674;POINT (-39.352291 -3.073545)'))) / (select extract(epoch from '2026-08-04 15:14:17'::timestamp) - extract(epoch from '2026-08-04 15:14: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'), 48166, 'SRID=4674;POINT (-39.352362 -3.073577)', '2026-08-04 15:14:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352291 -3.073545)'), GeomFromEWKT('SRID=4674;POINT (-39.352362 -3.073577)'))) / (select extract(epoch from '2026-08-04 15:14:21'::timestamp) - extract(epoch from '2026-08-04 15:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352291 -3.073545)'), GeomFromEWKT('SRID=4674;POINT (-39.352362 -3.073577)'))) / (select extract(epoch from '2026-08-04 15:14:21'::timestamp) - extract(epoch from '2026-08-04 15:14: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'), 48166, 'SRID=4674;POINT (-39.352472 -3.07364)', '2026-08-04 15:14:26', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352362 -3.073577)'), GeomFromEWKT('SRID=4674;POINT (-39.352472 -3.07364)'))) / (select extract(epoch from '2026-08-04 15:14:26'::timestamp) - extract(epoch from '2026-08-04 15:14:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352362 -3.073577)'), GeomFromEWKT('SRID=4674;POINT (-39.352472 -3.07364)'))) / (select extract(epoch from '2026-08-04 15:14:26'::timestamp) - extract(epoch from '2026-08-04 15:14:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.352585 -3.073702)', '2026-08-04 15:14:32', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352472 -3.07364)'), GeomFromEWKT('SRID=4674;POINT (-39.352585 -3.073702)'))) / (select extract(epoch from '2026-08-04 15:14:32'::timestamp) - extract(epoch from '2026-08-04 15:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352472 -3.07364)'), GeomFromEWKT('SRID=4674;POINT (-39.352585 -3.073702)'))) / (select extract(epoch from '2026-08-04 15:14:32'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.35269 -3.073765)', '2026-08-04 15:14:37', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352585 -3.073702)'), GeomFromEWKT('SRID=4674;POINT (-39.35269 -3.073765)'))) / (select extract(epoch from '2026-08-04 15:14:37'::timestamp) - extract(epoch from '2026-08-04 15:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352585 -3.073702)'), GeomFromEWKT('SRID=4674;POINT (-39.35269 -3.073765)'))) / (select extract(epoch from '2026-08-04 15:14:37'::timestamp) - extract(epoch from '2026-08-04 15:14:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.352765 -3.073844)', '2026-08-04 15:14:42', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35269 -3.073765)'), GeomFromEWKT('SRID=4674;POINT (-39.352765 -3.073844)'))) / (select extract(epoch from '2026-08-04 15:14:42'::timestamp) - extract(epoch from '2026-08-04 15:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35269 -3.073765)'), GeomFromEWKT('SRID=4674;POINT (-39.352765 -3.073844)'))) / (select extract(epoch from '2026-08-04 15:14:42'::timestamp) - extract(epoch from '2026-08-04 15:14:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.352827 -3.073919)', '2026-08-04 15:14:47', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352765 -3.073844)'), GeomFromEWKT('SRID=4674;POINT (-39.352827 -3.073919)'))) / (select extract(epoch from '2026-08-04 15:14:47'::timestamp) - extract(epoch from '2026-08-04 15:14:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352765 -3.073844)'), GeomFromEWKT('SRID=4674;POINT (-39.352827 -3.073919)'))) / (select extract(epoch from '2026-08-04 15:14:47'::timestamp) - extract(epoch from '2026-08-04 15:14:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.3529 -3.074062)', '2026-08-04 15:14:55', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352827 -3.073919)'), GeomFromEWKT('SRID=4674;POINT (-39.3529 -3.074062)'))) / (select extract(epoch from '2026-08-04 15:14:55'::timestamp) - extract(epoch from '2026-08-04 15:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352827 -3.073919)'), GeomFromEWKT('SRID=4674;POINT (-39.3529 -3.074062)'))) / (select extract(epoch from '2026-08-04 15:14:55'::timestamp) - extract(epoch from '2026-08-04 15:14:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.352966 -3.074149)', '2026-08-04 15:15:00', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3529 -3.074062)'), GeomFromEWKT('SRID=4674;POINT (-39.352966 -3.074149)'))) / (select extract(epoch from '2026-08-04 15:15:00'::timestamp) - extract(epoch from '2026-08-04 15:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3529 -3.074062)'), GeomFromEWKT('SRID=4674;POINT (-39.352966 -3.074149)'))) / (select extract(epoch from '2026-08-04 15:15:00'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.353058 -3.074243)', '2026-08-04 15:15:06', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352966 -3.074149)'), GeomFromEWKT('SRID=4674;POINT (-39.353058 -3.074243)'))) / (select extract(epoch from '2026-08-04 15:15:06'::timestamp) - extract(epoch from '2026-08-04 15:15:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352966 -3.074149)'), GeomFromEWKT('SRID=4674;POINT (-39.353058 -3.074243)'))) / (select extract(epoch from '2026-08-04 15:15:06'::timestamp) - extract(epoch from '2026-08-04 15:15:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.353161 -3.07435)', '2026-08-04 15:15:13', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353058 -3.074243)'), GeomFromEWKT('SRID=4674;POINT (-39.353161 -3.07435)'))) / (select extract(epoch from '2026-08-04 15:15:13'::timestamp) - extract(epoch from '2026-08-04 15:15:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353058 -3.074243)'), GeomFromEWKT('SRID=4674;POINT (-39.353161 -3.07435)'))) / (select extract(epoch from '2026-08-04 15:15:13'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.353258 -3.074462)', '2026-08-04 15:15:20', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353161 -3.07435)'), GeomFromEWKT('SRID=4674;POINT (-39.353258 -3.074462)'))) / (select extract(epoch from '2026-08-04 15:15:20'::timestamp) - extract(epoch from '2026-08-04 15:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353161 -3.07435)'), GeomFromEWKT('SRID=4674;POINT (-39.353258 -3.074462)'))) / (select extract(epoch from '2026-08-04 15:15:20'::timestamp) - extract(epoch from '2026-08-04 15:15:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.353398 -3.074625)', '2026-08-04 15:15:30', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353258 -3.074462)'), GeomFromEWKT('SRID=4674;POINT (-39.353398 -3.074625)'))) / (select extract(epoch from '2026-08-04 15:15:30'::timestamp) - extract(epoch from '2026-08-04 15:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353258 -3.074462)'), GeomFromEWKT('SRID=4674;POINT (-39.353398 -3.074625)'))) / (select extract(epoch from '2026-08-04 15:15:30'::timestamp) - extract(epoch from '2026-08-04 15:15:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.353488 -3.074715)', '2026-08-04 15:15:36', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353398 -3.074625)'), GeomFromEWKT('SRID=4674;POINT (-39.353488 -3.074715)'))) / (select extract(epoch from '2026-08-04 15:15:36'::timestamp) - extract(epoch from '2026-08-04 15:15:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353398 -3.074625)'), GeomFromEWKT('SRID=4674;POINT (-39.353488 -3.074715)'))) / (select extract(epoch from '2026-08-04 15:15:36'::timestamp) - extract(epoch from '2026-08-04 15:15:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.353573 -3.074792)', '2026-08-04 15:15:41', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353488 -3.074715)'), GeomFromEWKT('SRID=4674;POINT (-39.353573 -3.074792)'))) / (select extract(epoch from '2026-08-04 15:15:41'::timestamp) - extract(epoch from '2026-08-04 15:15:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353488 -3.074715)'), GeomFromEWKT('SRID=4674;POINT (-39.353573 -3.074792)'))) / (select extract(epoch from '2026-08-04 15:15:41'::timestamp) - extract(epoch from '2026-08-04 15:15: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'), 48166, 'SRID=4674;POINT (-39.353638 -3.074858)', '2026-08-04 15:15:46', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353573 -3.074792)'), GeomFromEWKT('SRID=4674;POINT (-39.353638 -3.074858)'))) / (select extract(epoch from '2026-08-04 15:15:46'::timestamp) - extract(epoch from '2026-08-04 15:15:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353573 -3.074792)'), GeomFromEWKT('SRID=4674;POINT (-39.353638 -3.074858)'))) / (select extract(epoch from '2026-08-04 15:15:46'::timestamp) - extract(epoch from '2026-08-04 15:15:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.353737 -3.074943)', '2026-08-04 15:15:53', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353638 -3.074858)'), GeomFromEWKT('SRID=4674;POINT (-39.353737 -3.074943)'))) / (select extract(epoch from '2026-08-04 15:15:53'::timestamp) - extract(epoch from '2026-08-04 15:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353638 -3.074858)'), GeomFromEWKT('SRID=4674;POINT (-39.353737 -3.074943)'))) / (select extract(epoch from '2026-08-04 15:15:53'::timestamp) - extract(epoch from '2026-08-04 15:15:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.353856 -3.075044)', '2026-08-04 15:16:00', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353737 -3.074943)'), GeomFromEWKT('SRID=4674;POINT (-39.353856 -3.075044)'))) / (select extract(epoch from '2026-08-04 15:16:00'::timestamp) - extract(epoch from '2026-08-04 15:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353737 -3.074943)'), GeomFromEWKT('SRID=4674;POINT (-39.353856 -3.075044)'))) / (select extract(epoch from '2026-08-04 15:16:00'::timestamp) - extract(epoch from '2026-08-04 15:15:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.353943 -3.07512)', '2026-08-04 15:16:05', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353856 -3.075044)'), GeomFromEWKT('SRID=4674;POINT (-39.353943 -3.07512)'))) / (select extract(epoch from '2026-08-04 15:16:05'::timestamp) - extract(epoch from '2026-08-04 15:16:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353856 -3.075044)'), GeomFromEWKT('SRID=4674;POINT (-39.353943 -3.07512)'))) / (select extract(epoch from '2026-08-04 15:16:05'::timestamp) - extract(epoch from '2026-08-04 15:16: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'), 48166, 'SRID=4674;POINT (-39.354025 -3.075194)', '2026-08-04 15:16:10', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353943 -3.07512)'), GeomFromEWKT('SRID=4674;POINT (-39.354025 -3.075194)'))) / (select extract(epoch from '2026-08-04 15:16:10'::timestamp) - extract(epoch from '2026-08-04 15:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353943 -3.07512)'), GeomFromEWKT('SRID=4674;POINT (-39.354025 -3.075194)'))) / (select extract(epoch from '2026-08-04 15:16:10'::timestamp) - extract(epoch from '2026-08-04 15:16:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.35413 -3.075276)', '2026-08-04 15:16:16', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354025 -3.075194)'), GeomFromEWKT('SRID=4674;POINT (-39.35413 -3.075276)'))) / (select extract(epoch from '2026-08-04 15:16:16'::timestamp) - extract(epoch from '2026-08-04 15:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354025 -3.075194)'), GeomFromEWKT('SRID=4674;POINT (-39.35413 -3.075276)'))) / (select extract(epoch from '2026-08-04 15:16:16'::timestamp) - extract(epoch from '2026-08-04 15:16:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.354243 -3.075337)', '2026-08-04 15:16:22', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35413 -3.075276)'), GeomFromEWKT('SRID=4674;POINT (-39.354243 -3.075337)'))) / (select extract(epoch from '2026-08-04 15:16:22'::timestamp) - extract(epoch from '2026-08-04 15:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35413 -3.075276)'), GeomFromEWKT('SRID=4674;POINT (-39.354243 -3.075337)'))) / (select extract(epoch from '2026-08-04 15:16:22'::timestamp) - extract(epoch from '2026-08-04 15:16:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.354353 -3.075382)', '2026-08-04 15:16:27', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354243 -3.075337)'), GeomFromEWKT('SRID=4674;POINT (-39.354353 -3.075382)'))) / (select extract(epoch from '2026-08-04 15:16:27'::timestamp) - extract(epoch from '2026-08-04 15:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354243 -3.075337)'), GeomFromEWKT('SRID=4674;POINT (-39.354353 -3.075382)'))) / (select extract(epoch from '2026-08-04 15:16:27'::timestamp) - extract(epoch from '2026-08-04 15:16: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'), 48166, 'SRID=4674;POINT (-39.354442 -3.075451)', '2026-08-04 15:16:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354353 -3.075382)'), GeomFromEWKT('SRID=4674;POINT (-39.354442 -3.075451)'))) / (select extract(epoch from '2026-08-04 15:16:32'::timestamp) - extract(epoch from '2026-08-04 15:16:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354353 -3.075382)'), GeomFromEWKT('SRID=4674;POINT (-39.354442 -3.075451)'))) / (select extract(epoch from '2026-08-04 15:16:32'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.354508 -3.07552)', '2026-08-04 15:16:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354442 -3.075451)'), GeomFromEWKT('SRID=4674;POINT (-39.354508 -3.07552)'))) / (select extract(epoch from '2026-08-04 15:16:37'::timestamp) - extract(epoch from '2026-08-04 15:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354442 -3.075451)'), GeomFromEWKT('SRID=4674;POINT (-39.354508 -3.07552)'))) / (select extract(epoch from '2026-08-04 15:16:37'::timestamp) - extract(epoch from '2026-08-04 15:16:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.354628 -3.075621)', '2026-08-04 15:16:44', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354508 -3.07552)'), GeomFromEWKT('SRID=4674;POINT (-39.354628 -3.075621)'))) / (select extract(epoch from '2026-08-04 15:16:44'::timestamp) - extract(epoch from '2026-08-04 15:16:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354508 -3.07552)'), GeomFromEWKT('SRID=4674;POINT (-39.354628 -3.075621)'))) / (select extract(epoch from '2026-08-04 15:16:44'::timestamp) - extract(epoch from '2026-08-04 15:16: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'), 48166, 'SRID=4674;POINT (-39.354736 -3.075741)', '2026-08-04 15:16:52', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354628 -3.075621)'), GeomFromEWKT('SRID=4674;POINT (-39.354736 -3.075741)'))) / (select extract(epoch from '2026-08-04 15:16:52'::timestamp) - extract(epoch from '2026-08-04 15:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354628 -3.075621)'), GeomFromEWKT('SRID=4674;POINT (-39.354736 -3.075741)'))) / (select extract(epoch from '2026-08-04 15:16:52'::timestamp) - extract(epoch from '2026-08-04 15:16: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'), 48166, 'SRID=4674;POINT (-39.354823 -3.075836)', '2026-08-04 15:16:58', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354736 -3.075741)'), GeomFromEWKT('SRID=4674;POINT (-39.354823 -3.075836)'))) / (select extract(epoch from '2026-08-04 15:16:58'::timestamp) - extract(epoch from '2026-08-04 15:16:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354736 -3.075741)'), GeomFromEWKT('SRID=4674;POINT (-39.354823 -3.075836)'))) / (select extract(epoch from '2026-08-04 15:16:58'::timestamp) - extract(epoch from '2026-08-04 15:16:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.354902 -3.075909)', '2026-08-04 15:17:03', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354823 -3.075836)'), GeomFromEWKT('SRID=4674;POINT (-39.354902 -3.075909)'))) / (select extract(epoch from '2026-08-04 15:17:03'::timestamp) - extract(epoch from '2026-08-04 15:16:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354823 -3.075836)'), GeomFromEWKT('SRID=4674;POINT (-39.354902 -3.075909)'))) / (select extract(epoch from '2026-08-04 15:17:03'::timestamp) - extract(epoch from '2026-08-04 15:16: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'), 48166, 'SRID=4674;POINT (-39.355011 -3.076026)', '2026-08-04 15:17:10', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354902 -3.075909)'), GeomFromEWKT('SRID=4674;POINT (-39.355011 -3.076026)'))) / (select extract(epoch from '2026-08-04 15:17:10'::timestamp) - extract(epoch from '2026-08-04 15:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354902 -3.075909)'), GeomFromEWKT('SRID=4674;POINT (-39.355011 -3.076026)'))) / (select extract(epoch from '2026-08-04 15:17:10'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.355111 -3.07613)', '2026-08-04 15:17:17', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355011 -3.076026)'), GeomFromEWKT('SRID=4674;POINT (-39.355111 -3.07613)'))) / (select extract(epoch from '2026-08-04 15:17:17'::timestamp) - extract(epoch from '2026-08-04 15:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355011 -3.076026)'), GeomFromEWKT('SRID=4674;POINT (-39.355111 -3.07613)'))) / (select extract(epoch from '2026-08-04 15:17:17'::timestamp) - extract(epoch from '2026-08-04 15:17:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.355197 -3.076217)', '2026-08-04 15:17:22', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355111 -3.07613)'), GeomFromEWKT('SRID=4674;POINT (-39.355197 -3.076217)'))) / (select extract(epoch from '2026-08-04 15:17:22'::timestamp) - extract(epoch from '2026-08-04 15:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355111 -3.07613)'), GeomFromEWKT('SRID=4674;POINT (-39.355197 -3.076217)'))) / (select extract(epoch from '2026-08-04 15:17:22'::timestamp) - extract(epoch from '2026-08-04 15:17:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.355277 -3.076299)', '2026-08-04 15:17:27', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355197 -3.076217)'), GeomFromEWKT('SRID=4674;POINT (-39.355277 -3.076299)'))) / (select extract(epoch from '2026-08-04 15:17:27'::timestamp) - extract(epoch from '2026-08-04 15:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355197 -3.076217)'), GeomFromEWKT('SRID=4674;POINT (-39.355277 -3.076299)'))) / (select extract(epoch from '2026-08-04 15:17:27'::timestamp) - extract(epoch from '2026-08-04 15:17:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.355365 -3.076419)', '2026-08-04 15:17:34', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355277 -3.076299)'), GeomFromEWKT('SRID=4674;POINT (-39.355365 -3.076419)'))) / (select extract(epoch from '2026-08-04 15:17:34'::timestamp) - extract(epoch from '2026-08-04 15:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355277 -3.076299)'), GeomFromEWKT('SRID=4674;POINT (-39.355365 -3.076419)'))) / (select extract(epoch from '2026-08-04 15:17:34'::timestamp) - extract(epoch from '2026-08-04 15:17:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.355442 -3.076505)', '2026-08-04 15:17:40', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355365 -3.076419)'), GeomFromEWKT('SRID=4674;POINT (-39.355442 -3.076505)'))) / (select extract(epoch from '2026-08-04 15:17:40'::timestamp) - extract(epoch from '2026-08-04 15:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355365 -3.076419)'), GeomFromEWKT('SRID=4674;POINT (-39.355442 -3.076505)'))) / (select extract(epoch from '2026-08-04 15:17:40'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.355521 -3.076598)', '2026-08-04 15:17:46', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355442 -3.076505)'), GeomFromEWKT('SRID=4674;POINT (-39.355521 -3.076598)'))) / (select extract(epoch from '2026-08-04 15:17:46'::timestamp) - extract(epoch from '2026-08-04 15:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355442 -3.076505)'), GeomFromEWKT('SRID=4674;POINT (-39.355521 -3.076598)'))) / (select extract(epoch from '2026-08-04 15:17:46'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.355605 -3.076661)', '2026-08-04 15:17:50', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355521 -3.076598)'), GeomFromEWKT('SRID=4674;POINT (-39.355605 -3.076661)'))) / (select extract(epoch from '2026-08-04 15:17:50'::timestamp) - extract(epoch from '2026-08-04 15:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355521 -3.076598)'), GeomFromEWKT('SRID=4674;POINT (-39.355605 -3.076661)'))) / (select extract(epoch from '2026-08-04 15:17:50'::timestamp) - extract(epoch from '2026-08-04 15:17:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.355724 -3.076742)', '2026-08-04 15:17:56', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355605 -3.076661)'), GeomFromEWKT('SRID=4674;POINT (-39.355724 -3.076742)'))) / (select extract(epoch from '2026-08-04 15:17:56'::timestamp) - extract(epoch from '2026-08-04 15:17:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355605 -3.076661)'), GeomFromEWKT('SRID=4674;POINT (-39.355724 -3.076742)'))) / (select extract(epoch from '2026-08-04 15:17:56'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.355807 -3.076812)', '2026-08-04 15:18:01', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355724 -3.076742)'), GeomFromEWKT('SRID=4674;POINT (-39.355807 -3.076812)'))) / (select extract(epoch from '2026-08-04 15:18:01'::timestamp) - extract(epoch from '2026-08-04 15:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355724 -3.076742)'), GeomFromEWKT('SRID=4674;POINT (-39.355807 -3.076812)'))) / (select extract(epoch from '2026-08-04 15:18:01'::timestamp) - extract(epoch from '2026-08-04 15:17:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.355892 -3.076882)', '2026-08-04 15:18:06', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355807 -3.076812)'), GeomFromEWKT('SRID=4674;POINT (-39.355892 -3.076882)'))) / (select extract(epoch from '2026-08-04 15:18:06'::timestamp) - extract(epoch from '2026-08-04 15:18:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355807 -3.076812)'), GeomFromEWKT('SRID=4674;POINT (-39.355892 -3.076882)'))) / (select extract(epoch from '2026-08-04 15:18:06'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.355973 -3.07695)', '2026-08-04 15:18:11', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355892 -3.076882)'), GeomFromEWKT('SRID=4674;POINT (-39.355973 -3.07695)'))) / (select extract(epoch from '2026-08-04 15:18:11'::timestamp) - extract(epoch from '2026-08-04 15:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355892 -3.076882)'), GeomFromEWKT('SRID=4674;POINT (-39.355973 -3.07695)'))) / (select extract(epoch from '2026-08-04 15:18:11'::timestamp) - extract(epoch from '2026-08-04 15:18:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.356103 -3.077028)', '2026-08-04 15:18:18', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355973 -3.07695)'), GeomFromEWKT('SRID=4674;POINT (-39.356103 -3.077028)'))) / (select extract(epoch from '2026-08-04 15:18:18'::timestamp) - extract(epoch from '2026-08-04 15:18:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355973 -3.07695)'), GeomFromEWKT('SRID=4674;POINT (-39.356103 -3.077028)'))) / (select extract(epoch from '2026-08-04 15:18:18'::timestamp) - extract(epoch from '2026-08-04 15:18:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.356227 -3.077119)', '2026-08-04 15:18:25', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356103 -3.077028)'), GeomFromEWKT('SRID=4674;POINT (-39.356227 -3.077119)'))) / (select extract(epoch from '2026-08-04 15:18:25'::timestamp) - extract(epoch from '2026-08-04 15:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356103 -3.077028)'), GeomFromEWKT('SRID=4674;POINT (-39.356227 -3.077119)'))) / (select extract(epoch from '2026-08-04 15:18:25'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.356337 -3.077223)', '2026-08-04 15:18:32', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356227 -3.077119)'), GeomFromEWKT('SRID=4674;POINT (-39.356337 -3.077223)'))) / (select extract(epoch from '2026-08-04 15:18:32'::timestamp) - extract(epoch from '2026-08-04 15:18:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356227 -3.077119)'), GeomFromEWKT('SRID=4674;POINT (-39.356337 -3.077223)'))) / (select extract(epoch from '2026-08-04 15:18:32'::timestamp) - extract(epoch from '2026-08-04 15:18: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'), 48166, 'SRID=4674;POINT (-39.356466 -3.077324)', '2026-08-04 15:18:39', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356337 -3.077223)'), GeomFromEWKT('SRID=4674;POINT (-39.356466 -3.077324)'))) / (select extract(epoch from '2026-08-04 15:18:39'::timestamp) - extract(epoch from '2026-08-04 15:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356337 -3.077223)'), GeomFromEWKT('SRID=4674;POINT (-39.356466 -3.077324)'))) / (select extract(epoch from '2026-08-04 15:18:39'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.356574 -3.077397)', '2026-08-04 15:18:45', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356466 -3.077324)'), GeomFromEWKT('SRID=4674;POINT (-39.356574 -3.077397)'))) / (select extract(epoch from '2026-08-04 15:18:45'::timestamp) - extract(epoch from '2026-08-04 15:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356466 -3.077324)'), GeomFromEWKT('SRID=4674;POINT (-39.356574 -3.077397)'))) / (select extract(epoch from '2026-08-04 15:18:45'::timestamp) - extract(epoch from '2026-08-04 15:18: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'), 48166, 'SRID=4674;POINT (-39.356661 -3.077472)', '2026-08-04 15:18:50', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356574 -3.077397)'), GeomFromEWKT('SRID=4674;POINT (-39.356661 -3.077472)'))) / (select extract(epoch from '2026-08-04 15:18:50'::timestamp) - extract(epoch from '2026-08-04 15:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356574 -3.077397)'), GeomFromEWKT('SRID=4674;POINT (-39.356661 -3.077472)'))) / (select extract(epoch from '2026-08-04 15:18:50'::timestamp) - extract(epoch from '2026-08-04 15:18:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.356771 -3.07754)', '2026-08-04 15:18:55', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356661 -3.077472)'), GeomFromEWKT('SRID=4674;POINT (-39.356771 -3.07754)'))) / (select extract(epoch from '2026-08-04 15:18:55'::timestamp) - extract(epoch from '2026-08-04 15:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356661 -3.077472)'), GeomFromEWKT('SRID=4674;POINT (-39.356771 -3.07754)'))) / (select extract(epoch from '2026-08-04 15:18:55'::timestamp) - extract(epoch from '2026-08-04 15:18: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'), 48166, 'SRID=4674;POINT (-39.35684 -3.077584)', '2026-08-04 15:18:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356771 -3.07754)'), GeomFromEWKT('SRID=4674;POINT (-39.35684 -3.077584)'))) / (select extract(epoch from '2026-08-04 15:18:59'::timestamp) - extract(epoch from '2026-08-04 15:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356771 -3.07754)'), GeomFromEWKT('SRID=4674;POINT (-39.35684 -3.077584)'))) / (select extract(epoch from '2026-08-04 15:18:59'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.356957 -3.07765)', '2026-08-04 15:19:05', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35684 -3.077584)'), GeomFromEWKT('SRID=4674;POINT (-39.356957 -3.07765)'))) / (select extract(epoch from '2026-08-04 15:19:05'::timestamp) - extract(epoch from '2026-08-04 15:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35684 -3.077584)'), GeomFromEWKT('SRID=4674;POINT (-39.356957 -3.07765)'))) / (select extract(epoch from '2026-08-04 15:19:05'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.357077 -3.077724)', '2026-08-04 15:19:11', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356957 -3.07765)'), GeomFromEWKT('SRID=4674;POINT (-39.357077 -3.077724)'))) / (select extract(epoch from '2026-08-04 15:19:11'::timestamp) - extract(epoch from '2026-08-04 15:19:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356957 -3.07765)'), GeomFromEWKT('SRID=4674;POINT (-39.357077 -3.077724)'))) / (select extract(epoch from '2026-08-04 15:19:11'::timestamp) - extract(epoch from '2026-08-04 15:19:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.357215 -3.077794)', '2026-08-04 15:19:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357077 -3.077724)'), GeomFromEWKT('SRID=4674;POINT (-39.357215 -3.077794)'))) / (select extract(epoch from '2026-08-04 15:19:18'::timestamp) - extract(epoch from '2026-08-04 15:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357077 -3.077724)'), GeomFromEWKT('SRID=4674;POINT (-39.357215 -3.077794)'))) / (select extract(epoch from '2026-08-04 15:19:18'::timestamp) - extract(epoch from '2026-08-04 15:19:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.357331 -3.077864)', '2026-08-04 15:19:24', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357215 -3.077794)'), GeomFromEWKT('SRID=4674;POINT (-39.357331 -3.077864)'))) / (select extract(epoch from '2026-08-04 15:19:24'::timestamp) - extract(epoch from '2026-08-04 15:19:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357215 -3.077794)'), GeomFromEWKT('SRID=4674;POINT (-39.357331 -3.077864)'))) / (select extract(epoch from '2026-08-04 15:19:24'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.35742 -3.077953)', '2026-08-04 15:19:29', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357331 -3.077864)'), GeomFromEWKT('SRID=4674;POINT (-39.35742 -3.077953)'))) / (select extract(epoch from '2026-08-04 15:19:29'::timestamp) - extract(epoch from '2026-08-04 15:19:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357331 -3.077864)'), GeomFromEWKT('SRID=4674;POINT (-39.35742 -3.077953)'))) / (select extract(epoch from '2026-08-04 15:19:29'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.357513 -3.078038)', '2026-08-04 15:19:35', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35742 -3.077953)'), GeomFromEWKT('SRID=4674;POINT (-39.357513 -3.078038)'))) / (select extract(epoch from '2026-08-04 15:19:35'::timestamp) - extract(epoch from '2026-08-04 15:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35742 -3.077953)'), GeomFromEWKT('SRID=4674;POINT (-39.357513 -3.078038)'))) / (select extract(epoch from '2026-08-04 15:19:35'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.35761 -3.078127)', '2026-08-04 15:19:41', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357513 -3.078038)'), GeomFromEWKT('SRID=4674;POINT (-39.35761 -3.078127)'))) / (select extract(epoch from '2026-08-04 15:19:41'::timestamp) - extract(epoch from '2026-08-04 15:19:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357513 -3.078038)'), GeomFromEWKT('SRID=4674;POINT (-39.35761 -3.078127)'))) / (select extract(epoch from '2026-08-04 15:19:41'::timestamp) - extract(epoch from '2026-08-04 15:19: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'), 48166, 'SRID=4674;POINT (-39.357701 -3.078209)', '2026-08-04 15:19:46', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35761 -3.078127)'), GeomFromEWKT('SRID=4674;POINT (-39.357701 -3.078209)'))) / (select extract(epoch from '2026-08-04 15:19:46'::timestamp) - extract(epoch from '2026-08-04 15:19:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35761 -3.078127)'), GeomFromEWKT('SRID=4674;POINT (-39.357701 -3.078209)'))) / (select extract(epoch from '2026-08-04 15:19:46'::timestamp) - extract(epoch from '2026-08-04 15:19: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'), 48166, 'SRID=4674;POINT (-39.357747 -3.078251)', '2026-08-04 15:19:49', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357701 -3.078209)'), GeomFromEWKT('SRID=4674;POINT (-39.357747 -3.078251)'))) / (select extract(epoch from '2026-08-04 15:19:49'::timestamp) - extract(epoch from '2026-08-04 15:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357701 -3.078209)'), GeomFromEWKT('SRID=4674;POINT (-39.357747 -3.078251)'))) / (select extract(epoch from '2026-08-04 15:19:49'::timestamp) - extract(epoch from '2026-08-04 15:19: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'), 48166, 'SRID=4674;POINT (-39.357777 -3.078291)', '2026-08-04 15:19:51', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357747 -3.078251)'), GeomFromEWKT('SRID=4674;POINT (-39.357777 -3.078291)'))) / (select extract(epoch from '2026-08-04 15:19:51'::timestamp) - extract(epoch from '2026-08-04 15:19:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357747 -3.078251)'), GeomFromEWKT('SRID=4674;POINT (-39.357777 -3.078291)'))) / (select extract(epoch from '2026-08-04 15:19:51'::timestamp) - extract(epoch from '2026-08-04 15:19:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.357856 -3.078359)', '2026-08-04 15:19:56', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357777 -3.078291)'), GeomFromEWKT('SRID=4674;POINT (-39.357856 -3.078359)'))) / (select extract(epoch from '2026-08-04 15:19:56'::timestamp) - extract(epoch from '2026-08-04 15:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357777 -3.078291)'), GeomFromEWKT('SRID=4674;POINT (-39.357856 -3.078359)'))) / (select extract(epoch from '2026-08-04 15:19:56'::timestamp) - extract(epoch from '2026-08-04 15:19:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.357996 -3.078432)', '2026-08-04 15:20:03', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357856 -3.078359)'), GeomFromEWKT('SRID=4674;POINT (-39.357996 -3.078432)'))) / (select extract(epoch from '2026-08-04 15:20:03'::timestamp) - extract(epoch from '2026-08-04 15:19:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357856 -3.078359)'), GeomFromEWKT('SRID=4674;POINT (-39.357996 -3.078432)'))) / (select extract(epoch from '2026-08-04 15:20:03'::timestamp) - extract(epoch from '2026-08-04 15:19:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.35811 -3.078516)', '2026-08-04 15:20:10', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357996 -3.078432)'), GeomFromEWKT('SRID=4674;POINT (-39.35811 -3.078516)'))) / (select extract(epoch from '2026-08-04 15:20:10'::timestamp) - extract(epoch from '2026-08-04 15:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357996 -3.078432)'), GeomFromEWKT('SRID=4674;POINT (-39.35811 -3.078516)'))) / (select extract(epoch from '2026-08-04 15:20:10'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.3582 -3.078624)', '2026-08-04 15:20:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35811 -3.078516)'), GeomFromEWKT('SRID=4674;POINT (-39.3582 -3.078624)'))) / (select extract(epoch from '2026-08-04 15:20:17'::timestamp) - extract(epoch from '2026-08-04 15:20:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35811 -3.078516)'), GeomFromEWKT('SRID=4674;POINT (-39.3582 -3.078624)'))) / (select extract(epoch from '2026-08-04 15:20:17'::timestamp) - extract(epoch from '2026-08-04 15:20: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'), 48166, 'SRID=4674;POINT (-39.358301 -3.078708)', '2026-08-04 15:20:23', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3582 -3.078624)'), GeomFromEWKT('SRID=4674;POINT (-39.358301 -3.078708)'))) / (select extract(epoch from '2026-08-04 15:20:23'::timestamp) - extract(epoch from '2026-08-04 15:20:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3582 -3.078624)'), GeomFromEWKT('SRID=4674;POINT (-39.358301 -3.078708)'))) / (select extract(epoch from '2026-08-04 15:20:23'::timestamp) - extract(epoch from '2026-08-04 15:20: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'), 48166, 'SRID=4674;POINT (-39.358389 -3.078775)', '2026-08-04 15:20:28', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358301 -3.078708)'), GeomFromEWKT('SRID=4674;POINT (-39.358389 -3.078775)'))) / (select extract(epoch from '2026-08-04 15:20:28'::timestamp) - extract(epoch from '2026-08-04 15:20:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358301 -3.078708)'), GeomFromEWKT('SRID=4674;POINT (-39.358389 -3.078775)'))) / (select extract(epoch from '2026-08-04 15:20:28'::timestamp) - extract(epoch from '2026-08-04 15:20: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'), 48166, 'SRID=4674;POINT (-39.358469 -3.07885)', '2026-08-04 15:20:33', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358389 -3.078775)'), GeomFromEWKT('SRID=4674;POINT (-39.358469 -3.07885)'))) / (select extract(epoch from '2026-08-04 15:20:33'::timestamp) - extract(epoch from '2026-08-04 15:20:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358389 -3.078775)'), GeomFromEWKT('SRID=4674;POINT (-39.358469 -3.07885)'))) / (select extract(epoch from '2026-08-04 15:20:33'::timestamp) - extract(epoch from '2026-08-04 15:20: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'), 48166, 'SRID=4674;POINT (-39.358546 -3.078914)', '2026-08-04 15:20:38', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358469 -3.07885)'), GeomFromEWKT('SRID=4674;POINT (-39.358546 -3.078914)'))) / (select extract(epoch from '2026-08-04 15:20:38'::timestamp) - extract(epoch from '2026-08-04 15:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358469 -3.07885)'), GeomFromEWKT('SRID=4674;POINT (-39.358546 -3.078914)'))) / (select extract(epoch from '2026-08-04 15:20:38'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.358639 -3.078991)', '2026-08-04 15:20:44', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358546 -3.078914)'), GeomFromEWKT('SRID=4674;POINT (-39.358639 -3.078991)'))) / (select extract(epoch from '2026-08-04 15:20:44'::timestamp) - extract(epoch from '2026-08-04 15:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358546 -3.078914)'), GeomFromEWKT('SRID=4674;POINT (-39.358639 -3.078991)'))) / (select extract(epoch from '2026-08-04 15:20:44'::timestamp) - extract(epoch from '2026-08-04 15:20:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.358738 -3.079044)', '2026-08-04 15:20:48', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358639 -3.078991)'), GeomFromEWKT('SRID=4674;POINT (-39.358738 -3.079044)'))) / (select extract(epoch from '2026-08-04 15:20:48'::timestamp) - extract(epoch from '2026-08-04 15:20:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358639 -3.078991)'), GeomFromEWKT('SRID=4674;POINT (-39.358738 -3.079044)'))) / (select extract(epoch from '2026-08-04 15:20:48'::timestamp) - extract(epoch from '2026-08-04 15:20: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'), 48166, 'SRID=4674;POINT (-39.358793 -3.079097)', '2026-08-04 15:20:52', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358738 -3.079044)'), GeomFromEWKT('SRID=4674;POINT (-39.358793 -3.079097)'))) / (select extract(epoch from '2026-08-04 15:20:52'::timestamp) - extract(epoch from '2026-08-04 15:20:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358738 -3.079044)'), GeomFromEWKT('SRID=4674;POINT (-39.358793 -3.079097)'))) / (select extract(epoch from '2026-08-04 15:20:52'::timestamp) - extract(epoch from '2026-08-04 15:20: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'), 48166, 'SRID=4674;POINT (-39.358885 -3.079178)', '2026-08-04 15:20:58', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358793 -3.079097)'), GeomFromEWKT('SRID=4674;POINT (-39.358885 -3.079178)'))) / (select extract(epoch from '2026-08-04 15:20:58'::timestamp) - extract(epoch from '2026-08-04 15:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358793 -3.079097)'), GeomFromEWKT('SRID=4674;POINT (-39.358885 -3.079178)'))) / (select extract(epoch from '2026-08-04 15:20:58'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.359036 -3.079305)', '2026-08-04 15:21:07', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358885 -3.079178)'), GeomFromEWKT('SRID=4674;POINT (-39.359036 -3.079305)'))) / (select extract(epoch from '2026-08-04 15:21:07'::timestamp) - extract(epoch from '2026-08-04 15:20:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358885 -3.079178)'), GeomFromEWKT('SRID=4674;POINT (-39.359036 -3.079305)'))) / (select extract(epoch from '2026-08-04 15:21:07'::timestamp) - extract(epoch from '2026-08-04 15:20: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'), 48166, 'SRID=4674;POINT (-39.359171 -3.07936)', '2026-08-04 15:21:13', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359036 -3.079305)'), GeomFromEWKT('SRID=4674;POINT (-39.359171 -3.07936)'))) / (select extract(epoch from '2026-08-04 15:21:13'::timestamp) - extract(epoch from '2026-08-04 15:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359036 -3.079305)'), GeomFromEWKT('SRID=4674;POINT (-39.359171 -3.07936)'))) / (select extract(epoch from '2026-08-04 15:21:13'::timestamp) - extract(epoch from '2026-08-04 15:21: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'), 48166, 'SRID=4674;POINT (-39.359278 -3.079421)', '2026-08-04 15:21:18', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359171 -3.07936)'), GeomFromEWKT('SRID=4674;POINT (-39.359278 -3.079421)'))) / (select extract(epoch from '2026-08-04 15:21:18'::timestamp) - extract(epoch from '2026-08-04 15:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359171 -3.07936)'), GeomFromEWKT('SRID=4674;POINT (-39.359278 -3.079421)'))) / (select extract(epoch from '2026-08-04 15:21:18'::timestamp) - extract(epoch from '2026-08-04 15:21:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.359365 -3.079488)', '2026-08-04 15:21:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359278 -3.079421)'), GeomFromEWKT('SRID=4674;POINT (-39.359365 -3.079488)'))) / (select extract(epoch from '2026-08-04 15:21:23'::timestamp) - extract(epoch from '2026-08-04 15:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359278 -3.079421)'), GeomFromEWKT('SRID=4674;POINT (-39.359365 -3.079488)'))) / (select extract(epoch from '2026-08-04 15:21:23'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.359514 -3.079582)', '2026-08-04 15:21:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359365 -3.079488)'), GeomFromEWKT('SRID=4674;POINT (-39.359514 -3.079582)'))) / (select extract(epoch from '2026-08-04 15:21:31'::timestamp) - extract(epoch from '2026-08-04 15:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359365 -3.079488)'), GeomFromEWKT('SRID=4674;POINT (-39.359514 -3.079582)'))) / (select extract(epoch from '2026-08-04 15:21:31'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.359613 -3.079661)', '2026-08-04 15:21:37', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359514 -3.079582)'), GeomFromEWKT('SRID=4674;POINT (-39.359613 -3.079661)'))) / (select extract(epoch from '2026-08-04 15:21:37'::timestamp) - extract(epoch from '2026-08-04 15:21:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359514 -3.079582)'), GeomFromEWKT('SRID=4674;POINT (-39.359613 -3.079661)'))) / (select extract(epoch from '2026-08-04 15:21:37'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.35972 -3.079739)', '2026-08-04 15:21:43', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359613 -3.079661)'), GeomFromEWKT('SRID=4674;POINT (-39.35972 -3.079739)'))) / (select extract(epoch from '2026-08-04 15:21:43'::timestamp) - extract(epoch from '2026-08-04 15:21:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359613 -3.079661)'), GeomFromEWKT('SRID=4674;POINT (-39.35972 -3.079739)'))) / (select extract(epoch from '2026-08-04 15:21:43'::timestamp) - extract(epoch from '2026-08-04 15:21: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'), 48166, 'SRID=4674;POINT (-39.359808 -3.079823)', '2026-08-04 15:21:49', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35972 -3.079739)'), GeomFromEWKT('SRID=4674;POINT (-39.359808 -3.079823)'))) / (select extract(epoch from '2026-08-04 15:21:49'::timestamp) - extract(epoch from '2026-08-04 15:21:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35972 -3.079739)'), GeomFromEWKT('SRID=4674;POINT (-39.359808 -3.079823)'))) / (select extract(epoch from '2026-08-04 15:21:49'::timestamp) - extract(epoch from '2026-08-04 15:21:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.35991 -3.079898)', '2026-08-04 15:21:55', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359808 -3.079823)'), GeomFromEWKT('SRID=4674;POINT (-39.35991 -3.079898)'))) / (select extract(epoch from '2026-08-04 15:21:55'::timestamp) - extract(epoch from '2026-08-04 15:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359808 -3.079823)'), GeomFromEWKT('SRID=4674;POINT (-39.35991 -3.079898)'))) / (select extract(epoch from '2026-08-04 15:21:55'::timestamp) - extract(epoch from '2026-08-04 15:21:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.360006 -3.079978)', '2026-08-04 15:22:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35991 -3.079898)'), GeomFromEWKT('SRID=4674;POINT (-39.360006 -3.079978)'))) / (select extract(epoch from '2026-08-04 15:22:00'::timestamp) - extract(epoch from '2026-08-04 15:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35991 -3.079898)'), GeomFromEWKT('SRID=4674;POINT (-39.360006 -3.079978)'))) / (select extract(epoch from '2026-08-04 15:22:00'::timestamp) - extract(epoch from '2026-08-04 15:21: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'), 48166, 'SRID=4674;POINT (-39.360088 -3.080041)', '2026-08-04 15:22:05', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360006 -3.079978)'), GeomFromEWKT('SRID=4674;POINT (-39.360088 -3.080041)'))) / (select extract(epoch from '2026-08-04 15:22:05'::timestamp) - extract(epoch from '2026-08-04 15:22:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360006 -3.079978)'), GeomFromEWKT('SRID=4674;POINT (-39.360088 -3.080041)'))) / (select extract(epoch from '2026-08-04 15:22:05'::timestamp) - extract(epoch from '2026-08-04 15:22: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'), 48166, 'SRID=4674;POINT (-39.36018 -3.080113)', '2026-08-04 15:22:10', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360088 -3.080041)'), GeomFromEWKT('SRID=4674;POINT (-39.36018 -3.080113)'))) / (select extract(epoch from '2026-08-04 15:22:10'::timestamp) - extract(epoch from '2026-08-04 15:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360088 -3.080041)'), GeomFromEWKT('SRID=4674;POINT (-39.36018 -3.080113)'))) / (select extract(epoch from '2026-08-04 15:22:10'::timestamp) - extract(epoch from '2026-08-04 15:22: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'), 48166, 'SRID=4674;POINT (-39.360256 -3.080197)', '2026-08-04 15:22:16', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36018 -3.080113)'), GeomFromEWKT('SRID=4674;POINT (-39.360256 -3.080197)'))) / (select extract(epoch from '2026-08-04 15:22:16'::timestamp) - extract(epoch from '2026-08-04 15:22:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36018 -3.080113)'), GeomFromEWKT('SRID=4674;POINT (-39.360256 -3.080197)'))) / (select extract(epoch from '2026-08-04 15:22:16'::timestamp) - extract(epoch from '2026-08-04 15:22: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'), 48166, 'SRID=4674;POINT (-39.360348 -3.080239)', '2026-08-04 15:22:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360256 -3.080197)'), GeomFromEWKT('SRID=4674;POINT (-39.360348 -3.080239)'))) / (select extract(epoch from '2026-08-04 15:22:21'::timestamp) - extract(epoch from '2026-08-04 15:22:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360256 -3.080197)'), GeomFromEWKT('SRID=4674;POINT (-39.360348 -3.080239)'))) / (select extract(epoch from '2026-08-04 15:22:21'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.360469 -3.080289)', '2026-08-04 15:22:27', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360348 -3.080239)'), GeomFromEWKT('SRID=4674;POINT (-39.360469 -3.080289)'))) / (select extract(epoch from '2026-08-04 15:22:27'::timestamp) - extract(epoch from '2026-08-04 15:22:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360348 -3.080239)'), GeomFromEWKT('SRID=4674;POINT (-39.360469 -3.080289)'))) / (select extract(epoch from '2026-08-04 15:22:27'::timestamp) - extract(epoch from '2026-08-04 15:22:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.360591 -3.080361)', '2026-08-04 15:22:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360469 -3.080289)'), GeomFromEWKT('SRID=4674;POINT (-39.360591 -3.080361)'))) / (select extract(epoch from '2026-08-04 15:22:33'::timestamp) - extract(epoch from '2026-08-04 15:22:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360469 -3.080289)'), GeomFromEWKT('SRID=4674;POINT (-39.360591 -3.080361)'))) / (select extract(epoch from '2026-08-04 15:22:33'::timestamp) - extract(epoch from '2026-08-04 15:22:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.360691 -3.080399)', '2026-08-04 15:22:38', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360591 -3.080361)'), GeomFromEWKT('SRID=4674;POINT (-39.360691 -3.080399)'))) / (select extract(epoch from '2026-08-04 15:22:38'::timestamp) - extract(epoch from '2026-08-04 15:22:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360591 -3.080361)'), GeomFromEWKT('SRID=4674;POINT (-39.360691 -3.080399)'))) / (select extract(epoch from '2026-08-04 15:22:38'::timestamp) - extract(epoch from '2026-08-04 15:22: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'), 48166, 'SRID=4674;POINT (-39.360813 -3.080447)', '2026-08-04 15:22:44', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360691 -3.080399)'), GeomFromEWKT('SRID=4674;POINT (-39.360813 -3.080447)'))) / (select extract(epoch from '2026-08-04 15:22:44'::timestamp) - extract(epoch from '2026-08-04 15:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360691 -3.080399)'), GeomFromEWKT('SRID=4674;POINT (-39.360813 -3.080447)'))) / (select extract(epoch from '2026-08-04 15:22:44'::timestamp) - extract(epoch from '2026-08-04 15:22: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'), 48166, 'SRID=4674;POINT (-39.36096 -3.080507)', '2026-08-04 15:22:51', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360813 -3.080447)'), GeomFromEWKT('SRID=4674;POINT (-39.36096 -3.080507)'))) / (select extract(epoch from '2026-08-04 15:22:51'::timestamp) - extract(epoch from '2026-08-04 15:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360813 -3.080447)'), GeomFromEWKT('SRID=4674;POINT (-39.36096 -3.080507)'))) / (select extract(epoch from '2026-08-04 15:22:51'::timestamp) - extract(epoch from '2026-08-04 15:22: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'), 48166, 'SRID=4674;POINT (-39.361085 -3.080555)', '2026-08-04 15:22:57', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36096 -3.080507)'), GeomFromEWKT('SRID=4674;POINT (-39.361085 -3.080555)'))) / (select extract(epoch from '2026-08-04 15:22:57'::timestamp) - extract(epoch from '2026-08-04 15:22:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36096 -3.080507)'), GeomFromEWKT('SRID=4674;POINT (-39.361085 -3.080555)'))) / (select extract(epoch from '2026-08-04 15:22:57'::timestamp) - extract(epoch from '2026-08-04 15:22:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.361186 -3.080618)', '2026-08-04 15:23:02', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361085 -3.080555)'), GeomFromEWKT('SRID=4674;POINT (-39.361186 -3.080618)'))) / (select extract(epoch from '2026-08-04 15:23:02'::timestamp) - extract(epoch from '2026-08-04 15:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361085 -3.080555)'), GeomFromEWKT('SRID=4674;POINT (-39.361186 -3.080618)'))) / (select extract(epoch from '2026-08-04 15:23:02'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.361282 -3.080668)', '2026-08-04 15:23:07', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361186 -3.080618)'), GeomFromEWKT('SRID=4674;POINT (-39.361282 -3.080668)'))) / (select extract(epoch from '2026-08-04 15:23:07'::timestamp) - extract(epoch from '2026-08-04 15:23:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361186 -3.080618)'), GeomFromEWKT('SRID=4674;POINT (-39.361282 -3.080668)'))) / (select extract(epoch from '2026-08-04 15:23:07'::timestamp) - extract(epoch from '2026-08-04 15:23: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'), 48166, 'SRID=4674;POINT (-39.36139 -3.080698)', '2026-08-04 15:23:12', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361282 -3.080668)'), GeomFromEWKT('SRID=4674;POINT (-39.36139 -3.080698)'))) / (select extract(epoch from '2026-08-04 15:23:12'::timestamp) - extract(epoch from '2026-08-04 15:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361282 -3.080668)'), GeomFromEWKT('SRID=4674;POINT (-39.36139 -3.080698)'))) / (select extract(epoch from '2026-08-04 15:23:12'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.361495 -3.080698)', '2026-08-04 15:23:17', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36139 -3.080698)'), GeomFromEWKT('SRID=4674;POINT (-39.361495 -3.080698)'))) / (select extract(epoch from '2026-08-04 15:23:17'::timestamp) - extract(epoch from '2026-08-04 15:23:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36139 -3.080698)'), GeomFromEWKT('SRID=4674;POINT (-39.361495 -3.080698)'))) / (select extract(epoch from '2026-08-04 15:23:17'::timestamp) - extract(epoch from '2026-08-04 15:23: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'), 48166, 'SRID=4674;POINT (-39.361619 -3.080663)', '2026-08-04 15:23:23', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361495 -3.080698)'), GeomFromEWKT('SRID=4674;POINT (-39.361619 -3.080663)'))) / (select extract(epoch from '2026-08-04 15:23:23'::timestamp) - extract(epoch from '2026-08-04 15:23:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361495 -3.080698)'), GeomFromEWKT('SRID=4674;POINT (-39.361619 -3.080663)'))) / (select extract(epoch from '2026-08-04 15:23:23'::timestamp) - extract(epoch from '2026-08-04 15:23: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'), 48166, 'SRID=4674;POINT (-39.361728 -3.080655)', '2026-08-04 15:23:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361619 -3.080663)'), GeomFromEWKT('SRID=4674;POINT (-39.361728 -3.080655)'))) / (select extract(epoch from '2026-08-04 15:23:28'::timestamp) - extract(epoch from '2026-08-04 15:23:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361619 -3.080663)'), GeomFromEWKT('SRID=4674;POINT (-39.361728 -3.080655)'))) / (select extract(epoch from '2026-08-04 15:23:28'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.361857 -3.080692)', '2026-08-04 15:23:34', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361728 -3.080655)'), GeomFromEWKT('SRID=4674;POINT (-39.361857 -3.080692)'))) / (select extract(epoch from '2026-08-04 15:23:34'::timestamp) - extract(epoch from '2026-08-04 15:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361728 -3.080655)'), GeomFromEWKT('SRID=4674;POINT (-39.361857 -3.080692)'))) / (select extract(epoch from '2026-08-04 15:23:34'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.361973 -3.08072)', '2026-08-04 15:23:39', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361857 -3.080692)'), GeomFromEWKT('SRID=4674;POINT (-39.361973 -3.08072)'))) / (select extract(epoch from '2026-08-04 15:23:39'::timestamp) - extract(epoch from '2026-08-04 15:23:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361857 -3.080692)'), GeomFromEWKT('SRID=4674;POINT (-39.361973 -3.08072)'))) / (select extract(epoch from '2026-08-04 15:23:39'::timestamp) - extract(epoch from '2026-08-04 15:23: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'), 48166, 'SRID=4674;POINT (-39.362126 -3.080748)', '2026-08-04 15:23:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361973 -3.08072)'), GeomFromEWKT('SRID=4674;POINT (-39.362126 -3.080748)'))) / (select extract(epoch from '2026-08-04 15:23:46'::timestamp) - extract(epoch from '2026-08-04 15:23:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361973 -3.08072)'), GeomFromEWKT('SRID=4674;POINT (-39.362126 -3.080748)'))) / (select extract(epoch from '2026-08-04 15:23:46'::timestamp) - extract(epoch from '2026-08-04 15:23:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.362235 -3.080734)', '2026-08-04 15:23:51', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362126 -3.080748)'), GeomFromEWKT('SRID=4674;POINT (-39.362235 -3.080734)'))) / (select extract(epoch from '2026-08-04 15:23:51'::timestamp) - extract(epoch from '2026-08-04 15:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362126 -3.080748)'), GeomFromEWKT('SRID=4674;POINT (-39.362235 -3.080734)'))) / (select extract(epoch from '2026-08-04 15:23:51'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.362405 -3.080754)', '2026-08-04 15:23:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362235 -3.080734)'), GeomFromEWKT('SRID=4674;POINT (-39.362405 -3.080754)'))) / (select extract(epoch from '2026-08-04 15:23:58'::timestamp) - extract(epoch from '2026-08-04 15:23:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362235 -3.080734)'), GeomFromEWKT('SRID=4674;POINT (-39.362405 -3.080754)'))) / (select extract(epoch from '2026-08-04 15:23:58'::timestamp) - extract(epoch from '2026-08-04 15:23: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'), 48166, 'SRID=4674;POINT (-39.362518 -3.080786)', '2026-08-04 15:24:02', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362405 -3.080754)'), GeomFromEWKT('SRID=4674;POINT (-39.362518 -3.080786)'))) / (select extract(epoch from '2026-08-04 15:24:02'::timestamp) - extract(epoch from '2026-08-04 15:23:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362405 -3.080754)'), GeomFromEWKT('SRID=4674;POINT (-39.362518 -3.080786)'))) / (select extract(epoch from '2026-08-04 15:24:02'::timestamp) - extract(epoch from '2026-08-04 15:23:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.362592 -3.080797)', '2026-08-04 15:24:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362518 -3.080786)'), GeomFromEWKT('SRID=4674;POINT (-39.362592 -3.080797)'))) / (select extract(epoch from '2026-08-04 15:24:06'::timestamp) - extract(epoch from '2026-08-04 15:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362518 -3.080786)'), GeomFromEWKT('SRID=4674;POINT (-39.362592 -3.080797)'))) / (select extract(epoch from '2026-08-04 15:24:06'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.362712 -3.080827)', '2026-08-04 15:24:11', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362592 -3.080797)'), GeomFromEWKT('SRID=4674;POINT (-39.362712 -3.080827)'))) / (select extract(epoch from '2026-08-04 15:24:11'::timestamp) - extract(epoch from '2026-08-04 15:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362592 -3.080797)'), GeomFromEWKT('SRID=4674;POINT (-39.362712 -3.080827)'))) / (select extract(epoch from '2026-08-04 15:24:11'::timestamp) - extract(epoch from '2026-08-04 15:24:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.362811 -3.080867)', '2026-08-04 15:24:15', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362712 -3.080827)'), GeomFromEWKT('SRID=4674;POINT (-39.362811 -3.080867)'))) / (select extract(epoch from '2026-08-04 15:24:15'::timestamp) - extract(epoch from '2026-08-04 15:24:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362712 -3.080827)'), GeomFromEWKT('SRID=4674;POINT (-39.362811 -3.080867)'))) / (select extract(epoch from '2026-08-04 15:24:15'::timestamp) - extract(epoch from '2026-08-04 15:24: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'), 48166, 'SRID=4674;POINT (-39.362897 -3.080892)', '2026-08-04 15:24:19', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362811 -3.080867)'), GeomFromEWKT('SRID=4674;POINT (-39.362897 -3.080892)'))) / (select extract(epoch from '2026-08-04 15:24:19'::timestamp) - extract(epoch from '2026-08-04 15:24:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362811 -3.080867)'), GeomFromEWKT('SRID=4674;POINT (-39.362897 -3.080892)'))) / (select extract(epoch from '2026-08-04 15:24:19'::timestamp) - extract(epoch from '2026-08-04 15:24: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'), 48166, 'SRID=4674;POINT (-39.363045 -3.080946)', '2026-08-04 15:24:25', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362897 -3.080892)'), GeomFromEWKT('SRID=4674;POINT (-39.363045 -3.080946)'))) / (select extract(epoch from '2026-08-04 15:24:25'::timestamp) - extract(epoch from '2026-08-04 15:24:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362897 -3.080892)'), GeomFromEWKT('SRID=4674;POINT (-39.363045 -3.080946)'))) / (select extract(epoch from '2026-08-04 15:24:25'::timestamp) - extract(epoch from '2026-08-04 15:24:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.363102 -3.080955)', '2026-08-04 15:24:29', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363045 -3.080946)'), GeomFromEWKT('SRID=4674;POINT (-39.363102 -3.080955)'))) / (select extract(epoch from '2026-08-04 15:24:29'::timestamp) - extract(epoch from '2026-08-04 15:24:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363045 -3.080946)'), GeomFromEWKT('SRID=4674;POINT (-39.363102 -3.080955)'))) / (select extract(epoch from '2026-08-04 15:24:29'::timestamp) - extract(epoch from '2026-08-04 15:24: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'), 48166, 'SRID=4674;POINT (-39.363221 -3.080979)', '2026-08-04 15:24:34', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363102 -3.080955)'), GeomFromEWKT('SRID=4674;POINT (-39.363221 -3.080979)'))) / (select extract(epoch from '2026-08-04 15:24:34'::timestamp) - extract(epoch from '2026-08-04 15:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363102 -3.080955)'), GeomFromEWKT('SRID=4674;POINT (-39.363221 -3.080979)'))) / (select extract(epoch from '2026-08-04 15:24:34'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.363355 -3.081013)', '2026-08-04 15:24:40', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363221 -3.080979)'), GeomFromEWKT('SRID=4674;POINT (-39.363355 -3.081013)'))) / (select extract(epoch from '2026-08-04 15:24:40'::timestamp) - extract(epoch from '2026-08-04 15:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363221 -3.080979)'), GeomFromEWKT('SRID=4674;POINT (-39.363355 -3.081013)'))) / (select extract(epoch from '2026-08-04 15:24:40'::timestamp) - extract(epoch from '2026-08-04 15:24:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.363484 -3.08105)', '2026-08-04 15:24:45', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363355 -3.081013)'), GeomFromEWKT('SRID=4674;POINT (-39.363484 -3.08105)'))) / (select extract(epoch from '2026-08-04 15:24:45'::timestamp) - extract(epoch from '2026-08-04 15:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363355 -3.081013)'), GeomFromEWKT('SRID=4674;POINT (-39.363484 -3.08105)'))) / (select extract(epoch from '2026-08-04 15:24:45'::timestamp) - extract(epoch from '2026-08-04 15:24: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'), 48166, 'SRID=4674;POINT (-39.363588 -3.081068)', '2026-08-04 15:24:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363484 -3.08105)'), GeomFromEWKT('SRID=4674;POINT (-39.363588 -3.081068)'))) / (select extract(epoch from '2026-08-04 15:24:50'::timestamp) - extract(epoch from '2026-08-04 15:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363484 -3.08105)'), GeomFromEWKT('SRID=4674;POINT (-39.363588 -3.081068)'))) / (select extract(epoch from '2026-08-04 15:24:50'::timestamp) - extract(epoch from '2026-08-04 15:24:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.363749 -3.081121)', '2026-08-04 15:24:57', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363588 -3.081068)'), GeomFromEWKT('SRID=4674;POINT (-39.363749 -3.081121)'))) / (select extract(epoch from '2026-08-04 15:24:57'::timestamp) - extract(epoch from '2026-08-04 15:24:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363588 -3.081068)'), GeomFromEWKT('SRID=4674;POINT (-39.363749 -3.081121)'))) / (select extract(epoch from '2026-08-04 15:24:57'::timestamp) - extract(epoch from '2026-08-04 15:24: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'), 48166, 'SRID=4674;POINT (-39.363893 -3.08117)', '2026-08-04 15:25:03', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363749 -3.081121)'), GeomFromEWKT('SRID=4674;POINT (-39.363893 -3.08117)'))) / (select extract(epoch from '2026-08-04 15:25:03'::timestamp) - extract(epoch from '2026-08-04 15:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363749 -3.081121)'), GeomFromEWKT('SRID=4674;POINT (-39.363893 -3.08117)'))) / (select extract(epoch from '2026-08-04 15:25:03'::timestamp) - extract(epoch from '2026-08-04 15:24:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.363969 -3.081191)', '2026-08-04 15:25:07', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363893 -3.08117)'), GeomFromEWKT('SRID=4674;POINT (-39.363969 -3.081191)'))) / (select extract(epoch from '2026-08-04 15:25:07'::timestamp) - extract(epoch from '2026-08-04 15:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363893 -3.08117)'), GeomFromEWKT('SRID=4674;POINT (-39.363969 -3.081191)'))) / (select extract(epoch from '2026-08-04 15:25:07'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.364115 -3.081224)', '2026-08-04 15:25:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363969 -3.081191)'), GeomFromEWKT('SRID=4674;POINT (-39.364115 -3.081224)'))) / (select extract(epoch from '2026-08-04 15:25:12'::timestamp) - extract(epoch from '2026-08-04 15:25:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363969 -3.081191)'), GeomFromEWKT('SRID=4674;POINT (-39.364115 -3.081224)'))) / (select extract(epoch from '2026-08-04 15:25:12'::timestamp) - extract(epoch from '2026-08-04 15:25:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.364192 -3.081244)', '2026-08-04 15:25:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364115 -3.081224)'), GeomFromEWKT('SRID=4674;POINT (-39.364192 -3.081244)'))) / (select extract(epoch from '2026-08-04 15:25:16'::timestamp) - extract(epoch from '2026-08-04 15:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364115 -3.081224)'), GeomFromEWKT('SRID=4674;POINT (-39.364192 -3.081244)'))) / (select extract(epoch from '2026-08-04 15:25:16'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.364307 -3.08131)', '2026-08-04 15:25:21', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364192 -3.081244)'), GeomFromEWKT('SRID=4674;POINT (-39.364307 -3.08131)'))) / (select extract(epoch from '2026-08-04 15:25:21'::timestamp) - extract(epoch from '2026-08-04 15:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364192 -3.081244)'), GeomFromEWKT('SRID=4674;POINT (-39.364307 -3.08131)'))) / (select extract(epoch from '2026-08-04 15:25:21'::timestamp) - extract(epoch from '2026-08-04 15:25:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.364419 -3.081376)', '2026-08-04 15:25:27', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364307 -3.08131)'), GeomFromEWKT('SRID=4674;POINT (-39.364419 -3.081376)'))) / (select extract(epoch from '2026-08-04 15:25:27'::timestamp) - extract(epoch from '2026-08-04 15:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364307 -3.08131)'), GeomFromEWKT('SRID=4674;POINT (-39.364419 -3.081376)'))) / (select extract(epoch from '2026-08-04 15:25:27'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.364526 -3.081452)', '2026-08-04 15:25:33', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364419 -3.081376)'), GeomFromEWKT('SRID=4674;POINT (-39.364526 -3.081452)'))) / (select extract(epoch from '2026-08-04 15:25:33'::timestamp) - extract(epoch from '2026-08-04 15:25:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364419 -3.081376)'), GeomFromEWKT('SRID=4674;POINT (-39.364526 -3.081452)'))) / (select extract(epoch from '2026-08-04 15:25:33'::timestamp) - extract(epoch from '2026-08-04 15:25: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'), 48166, 'SRID=4674;POINT (-39.364615 -3.081528)', '2026-08-04 15:25:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364526 -3.081452)'), GeomFromEWKT('SRID=4674;POINT (-39.364615 -3.081528)'))) / (select extract(epoch from '2026-08-04 15:25:37'::timestamp) - extract(epoch from '2026-08-04 15:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364526 -3.081452)'), GeomFromEWKT('SRID=4674;POINT (-39.364615 -3.081528)'))) / (select extract(epoch from '2026-08-04 15:25:37'::timestamp) - extract(epoch from '2026-08-04 15:25: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'), 48166, 'SRID=4674;POINT (-39.364627 -3.081541)', '2026-08-04 15:25:38', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364615 -3.081528)'), GeomFromEWKT('SRID=4674;POINT (-39.364627 -3.081541)'))) / (select extract(epoch from '2026-08-04 15:25:38'::timestamp) - extract(epoch from '2026-08-04 15:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364615 -3.081528)'), GeomFromEWKT('SRID=4674;POINT (-39.364627 -3.081541)'))) / (select extract(epoch from '2026-08-04 15:25:38'::timestamp) - extract(epoch from '2026-08-04 15:25: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'), 48166, 'SRID=4674;POINT (-39.364669 -3.081594)', '2026-08-04 15:25:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364627 -3.081541)'), GeomFromEWKT('SRID=4674;POINT (-39.364669 -3.081594)'))) / (select extract(epoch from '2026-08-04 15:25:41'::timestamp) - extract(epoch from '2026-08-04 15:25:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364627 -3.081541)'), GeomFromEWKT('SRID=4674;POINT (-39.364669 -3.081594)'))) / (select extract(epoch from '2026-08-04 15:25:41'::timestamp) - extract(epoch from '2026-08-04 15:25: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'), 48166, 'SRID=4674;POINT (-39.364753 -3.081672)', '2026-08-04 15:25:46', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364669 -3.081594)'), GeomFromEWKT('SRID=4674;POINT (-39.364753 -3.081672)'))) / (select extract(epoch from '2026-08-04 15:25:46'::timestamp) - extract(epoch from '2026-08-04 15:25:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364669 -3.081594)'), GeomFromEWKT('SRID=4674;POINT (-39.364753 -3.081672)'))) / (select extract(epoch from '2026-08-04 15:25:46'::timestamp) - extract(epoch from '2026-08-04 15:25: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'), 48166, 'SRID=4674;POINT (-39.364842 -3.081747)', '2026-08-04 15:25:51', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364753 -3.081672)'), GeomFromEWKT('SRID=4674;POINT (-39.364842 -3.081747)'))) / (select extract(epoch from '2026-08-04 15:25:51'::timestamp) - extract(epoch from '2026-08-04 15:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364753 -3.081672)'), GeomFromEWKT('SRID=4674;POINT (-39.364842 -3.081747)'))) / (select extract(epoch from '2026-08-04 15:25:51'::timestamp) - extract(epoch from '2026-08-04 15:25: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'), 48166, 'SRID=4674;POINT (-39.364946 -3.081833)', '2026-08-04 15:25:57', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364842 -3.081747)'), GeomFromEWKT('SRID=4674;POINT (-39.364946 -3.081833)'))) / (select extract(epoch from '2026-08-04 15:25:57'::timestamp) - extract(epoch from '2026-08-04 15:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364842 -3.081747)'), GeomFromEWKT('SRID=4674;POINT (-39.364946 -3.081833)'))) / (select extract(epoch from '2026-08-04 15:25:57'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.365072 -3.081932)', '2026-08-04 15:26:04', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364946 -3.081833)'), GeomFromEWKT('SRID=4674;POINT (-39.365072 -3.081932)'))) / (select extract(epoch from '2026-08-04 15:26:04'::timestamp) - extract(epoch from '2026-08-04 15:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364946 -3.081833)'), GeomFromEWKT('SRID=4674;POINT (-39.365072 -3.081932)'))) / (select extract(epoch from '2026-08-04 15:26:04'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.365202 -3.082028)', '2026-08-04 15:26:11', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365072 -3.081932)'), GeomFromEWKT('SRID=4674;POINT (-39.365202 -3.082028)'))) / (select extract(epoch from '2026-08-04 15:26:11'::timestamp) - extract(epoch from '2026-08-04 15:26:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365072 -3.081932)'), GeomFromEWKT('SRID=4674;POINT (-39.365202 -3.082028)'))) / (select extract(epoch from '2026-08-04 15:26:11'::timestamp) - extract(epoch from '2026-08-04 15:26: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'), 48166, 'SRID=4674;POINT (-39.365317 -3.082102)', '2026-08-04 15:26:17', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365202 -3.082028)'), GeomFromEWKT('SRID=4674;POINT (-39.365317 -3.082102)'))) / (select extract(epoch from '2026-08-04 15:26:17'::timestamp) - extract(epoch from '2026-08-04 15:26:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365202 -3.082028)'), GeomFromEWKT('SRID=4674;POINT (-39.365317 -3.082102)'))) / (select extract(epoch from '2026-08-04 15:26:17'::timestamp) - extract(epoch from '2026-08-04 15:26:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.36542 -3.082163)', '2026-08-04 15:26:22', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365317 -3.082102)'), GeomFromEWKT('SRID=4674;POINT (-39.36542 -3.082163)'))) / (select extract(epoch from '2026-08-04 15:26:22'::timestamp) - extract(epoch from '2026-08-04 15:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365317 -3.082102)'), GeomFromEWKT('SRID=4674;POINT (-39.36542 -3.082163)'))) / (select extract(epoch from '2026-08-04 15:26:22'::timestamp) - extract(epoch from '2026-08-04 15:26:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.365519 -3.082224)', '2026-08-04 15:26:27', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36542 -3.082163)'), GeomFromEWKT('SRID=4674;POINT (-39.365519 -3.082224)'))) / (select extract(epoch from '2026-08-04 15:26:27'::timestamp) - extract(epoch from '2026-08-04 15:26:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36542 -3.082163)'), GeomFromEWKT('SRID=4674;POINT (-39.365519 -3.082224)'))) / (select extract(epoch from '2026-08-04 15:26:27'::timestamp) - extract(epoch from '2026-08-04 15:26: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'), 48166, 'SRID=4674;POINT (-39.365649 -3.082324)', '2026-08-04 15:26:34', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365519 -3.082224)'), GeomFromEWKT('SRID=4674;POINT (-39.365649 -3.082324)'))) / (select extract(epoch from '2026-08-04 15:26:34'::timestamp) - extract(epoch from '2026-08-04 15:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365519 -3.082224)'), GeomFromEWKT('SRID=4674;POINT (-39.365649 -3.082324)'))) / (select extract(epoch from '2026-08-04 15:26:34'::timestamp) - extract(epoch from '2026-08-04 15:26:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.365666 -3.082338)', '2026-08-04 15:26:35', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365649 -3.082324)'), GeomFromEWKT('SRID=4674;POINT (-39.365666 -3.082338)'))) / (select extract(epoch from '2026-08-04 15:26:35'::timestamp) - extract(epoch from '2026-08-04 15:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365649 -3.082324)'), GeomFromEWKT('SRID=4674;POINT (-39.365666 -3.082338)'))) / (select extract(epoch from '2026-08-04 15:26:35'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.365714 -3.082382)', '2026-08-04 15:26:38', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365666 -3.082338)'), GeomFromEWKT('SRID=4674;POINT (-39.365714 -3.082382)'))) / (select extract(epoch from '2026-08-04 15:26:38'::timestamp) - extract(epoch from '2026-08-04 15:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365666 -3.082338)'), GeomFromEWKT('SRID=4674;POINT (-39.365714 -3.082382)'))) / (select extract(epoch from '2026-08-04 15:26:38'::timestamp) - extract(epoch from '2026-08-04 15:26: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'), 48166, 'SRID=4674;POINT (-39.365828 -3.082479)', '2026-08-04 15:26:44', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365714 -3.082382)'), GeomFromEWKT('SRID=4674;POINT (-39.365828 -3.082479)'))) / (select extract(epoch from '2026-08-04 15:26:44'::timestamp) - extract(epoch from '2026-08-04 15:26:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365714 -3.082382)'), GeomFromEWKT('SRID=4674;POINT (-39.365828 -3.082479)'))) / (select extract(epoch from '2026-08-04 15:26:44'::timestamp) - extract(epoch from '2026-08-04 15:26: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'), 48166, 'SRID=4674;POINT (-39.365919 -3.082559)', '2026-08-04 15:26:49', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365828 -3.082479)'), GeomFromEWKT('SRID=4674;POINT (-39.365919 -3.082559)'))) / (select extract(epoch from '2026-08-04 15:26:49'::timestamp) - extract(epoch from '2026-08-04 15:26:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365828 -3.082479)'), GeomFromEWKT('SRID=4674;POINT (-39.365919 -3.082559)'))) / (select extract(epoch from '2026-08-04 15:26:49'::timestamp) - extract(epoch from '2026-08-04 15:26: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'), 48166, 'SRID=4674;POINT (-39.365992 -3.082627)', '2026-08-04 15:26:54', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365919 -3.082559)'), GeomFromEWKT('SRID=4674;POINT (-39.365992 -3.082627)'))) / (select extract(epoch from '2026-08-04 15:26:54'::timestamp) - extract(epoch from '2026-08-04 15:26:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365919 -3.082559)'), GeomFromEWKT('SRID=4674;POINT (-39.365992 -3.082627)'))) / (select extract(epoch from '2026-08-04 15:26:54'::timestamp) - extract(epoch from '2026-08-04 15:26:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.36607 -3.082712)', '2026-08-04 15:26:59', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365992 -3.082627)'), GeomFromEWKT('SRID=4674;POINT (-39.36607 -3.082712)'))) / (select extract(epoch from '2026-08-04 15:26:59'::timestamp) - extract(epoch from '2026-08-04 15:26:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365992 -3.082627)'), GeomFromEWKT('SRID=4674;POINT (-39.36607 -3.082712)'))) / (select extract(epoch from '2026-08-04 15:26:59'::timestamp) - extract(epoch from '2026-08-04 15:26:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.3662 -3.082827)', '2026-08-04 15:27:06', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36607 -3.082712)'), GeomFromEWKT('SRID=4674;POINT (-39.3662 -3.082827)'))) / (select extract(epoch from '2026-08-04 15:27:06'::timestamp) - extract(epoch from '2026-08-04 15:26:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36607 -3.082712)'), GeomFromEWKT('SRID=4674;POINT (-39.3662 -3.082827)'))) / (select extract(epoch from '2026-08-04 15:27:06'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.36628 -3.082899)', '2026-08-04 15:27:11', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3662 -3.082827)'), GeomFromEWKT('SRID=4674;POINT (-39.36628 -3.082899)'))) / (select extract(epoch from '2026-08-04 15:27:11'::timestamp) - extract(epoch from '2026-08-04 15:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3662 -3.082827)'), GeomFromEWKT('SRID=4674;POINT (-39.36628 -3.082899)'))) / (select extract(epoch from '2026-08-04 15:27:11'::timestamp) - extract(epoch from '2026-08-04 15:27: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'), 48166, 'SRID=4674;POINT (-39.36636 -3.082958)', '2026-08-04 15:27:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36628 -3.082899)'), GeomFromEWKT('SRID=4674;POINT (-39.36636 -3.082958)'))) / (select extract(epoch from '2026-08-04 15:27:16'::timestamp) - extract(epoch from '2026-08-04 15:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36628 -3.082899)'), GeomFromEWKT('SRID=4674;POINT (-39.36636 -3.082958)'))) / (select extract(epoch from '2026-08-04 15:27:16'::timestamp) - extract(epoch from '2026-08-04 15:27: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'), 48166, 'SRID=4674;POINT (-39.366436 -3.083021)', '2026-08-04 15:27:21', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36636 -3.082958)'), GeomFromEWKT('SRID=4674;POINT (-39.366436 -3.083021)'))) / (select extract(epoch from '2026-08-04 15:27:21'::timestamp) - extract(epoch from '2026-08-04 15:27:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36636 -3.082958)'), GeomFromEWKT('SRID=4674;POINT (-39.366436 -3.083021)'))) / (select extract(epoch from '2026-08-04 15:27:21'::timestamp) - extract(epoch from '2026-08-04 15:27:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.366526 -3.083096)', '2026-08-04 15:27:26', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366436 -3.083021)'), GeomFromEWKT('SRID=4674;POINT (-39.366526 -3.083096)'))) / (select extract(epoch from '2026-08-04 15:27:26'::timestamp) - extract(epoch from '2026-08-04 15:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366436 -3.083021)'), GeomFromEWKT('SRID=4674;POINT (-39.366526 -3.083096)'))) / (select extract(epoch from '2026-08-04 15:27:26'::timestamp) - extract(epoch from '2026-08-04 15:27: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'), 48166, 'SRID=4674;POINT (-39.36662 -3.083192)', '2026-08-04 15:27:32', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366526 -3.083096)'), GeomFromEWKT('SRID=4674;POINT (-39.36662 -3.083192)'))) / (select extract(epoch from '2026-08-04 15:27:32'::timestamp) - extract(epoch from '2026-08-04 15:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366526 -3.083096)'), GeomFromEWKT('SRID=4674;POINT (-39.36662 -3.083192)'))) / (select extract(epoch from '2026-08-04 15:27:32'::timestamp) - extract(epoch from '2026-08-04 15:27:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.36671 -3.083249)', '2026-08-04 15:27:37', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36662 -3.083192)'), GeomFromEWKT('SRID=4674;POINT (-39.36671 -3.083249)'))) / (select extract(epoch from '2026-08-04 15:27:37'::timestamp) - extract(epoch from '2026-08-04 15:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36662 -3.083192)'), GeomFromEWKT('SRID=4674;POINT (-39.36671 -3.083249)'))) / (select extract(epoch from '2026-08-04 15:27:37'::timestamp) - extract(epoch from '2026-08-04 15:27:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.366862 -3.08334)', '2026-08-04 15:27:44', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36671 -3.083249)'), GeomFromEWKT('SRID=4674;POINT (-39.366862 -3.08334)'))) / (select extract(epoch from '2026-08-04 15:27:44'::timestamp) - extract(epoch from '2026-08-04 15:27:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36671 -3.083249)'), GeomFromEWKT('SRID=4674;POINT (-39.366862 -3.08334)'))) / (select extract(epoch from '2026-08-04 15:27:44'::timestamp) - extract(epoch from '2026-08-04 15:27:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.366996 -3.083444)', '2026-08-04 15:27:51', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366862 -3.08334)'), GeomFromEWKT('SRID=4674;POINT (-39.366996 -3.083444)'))) / (select extract(epoch from '2026-08-04 15:27:51'::timestamp) - extract(epoch from '2026-08-04 15:27:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366862 -3.08334)'), GeomFromEWKT('SRID=4674;POINT (-39.366996 -3.083444)'))) / (select extract(epoch from '2026-08-04 15:27:51'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.367093 -3.083506)', '2026-08-04 15:27:56', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366996 -3.083444)'), GeomFromEWKT('SRID=4674;POINT (-39.367093 -3.083506)'))) / (select extract(epoch from '2026-08-04 15:27:56'::timestamp) - extract(epoch from '2026-08-04 15:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366996 -3.083444)'), GeomFromEWKT('SRID=4674;POINT (-39.367093 -3.083506)'))) / (select extract(epoch from '2026-08-04 15:27:56'::timestamp) - extract(epoch from '2026-08-04 15:27:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.367225 -3.083574)', '2026-08-04 15:28:02', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367093 -3.083506)'), GeomFromEWKT('SRID=4674;POINT (-39.367225 -3.083574)'))) / (select extract(epoch from '2026-08-04 15:28:02'::timestamp) - extract(epoch from '2026-08-04 15:27:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367093 -3.083506)'), GeomFromEWKT('SRID=4674;POINT (-39.367225 -3.083574)'))) / (select extract(epoch from '2026-08-04 15:28:02'::timestamp) - extract(epoch from '2026-08-04 15:27: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'), 48166, 'SRID=4674;POINT (-39.367342 -3.083633)', '2026-08-04 15:28:07', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367225 -3.083574)'), GeomFromEWKT('SRID=4674;POINT (-39.367342 -3.083633)'))) / (select extract(epoch from '2026-08-04 15:28:07'::timestamp) - extract(epoch from '2026-08-04 15:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367225 -3.083574)'), GeomFromEWKT('SRID=4674;POINT (-39.367342 -3.083633)'))) / (select extract(epoch from '2026-08-04 15:28:07'::timestamp) - extract(epoch from '2026-08-04 15:28: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'), 48166, 'SRID=4674;POINT (-39.367461 -3.08372)', '2026-08-04 15:28:13', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367342 -3.083633)'), GeomFromEWKT('SRID=4674;POINT (-39.367461 -3.08372)'))) / (select extract(epoch from '2026-08-04 15:28:13'::timestamp) - extract(epoch from '2026-08-04 15:28:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367342 -3.083633)'), GeomFromEWKT('SRID=4674;POINT (-39.367461 -3.08372)'))) / (select extract(epoch from '2026-08-04 15:28:13'::timestamp) - extract(epoch from '2026-08-04 15:28: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'), 48166, 'SRID=4674;POINT (-39.367572 -3.083801)', '2026-08-04 15:28:19', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367461 -3.08372)'), GeomFromEWKT('SRID=4674;POINT (-39.367572 -3.083801)'))) / (select extract(epoch from '2026-08-04 15:28:19'::timestamp) - extract(epoch from '2026-08-04 15:28:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367461 -3.08372)'), GeomFromEWKT('SRID=4674;POINT (-39.367572 -3.083801)'))) / (select extract(epoch from '2026-08-04 15:28:19'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.367662 -3.083871)', '2026-08-04 15:28:24', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367572 -3.083801)'), GeomFromEWKT('SRID=4674;POINT (-39.367662 -3.083871)'))) / (select extract(epoch from '2026-08-04 15:28:24'::timestamp) - extract(epoch from '2026-08-04 15:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367572 -3.083801)'), GeomFromEWKT('SRID=4674;POINT (-39.367662 -3.083871)'))) / (select extract(epoch from '2026-08-04 15:28:24'::timestamp) - extract(epoch from '2026-08-04 15:28:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.367753 -3.083932)', '2026-08-04 15:28:29', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367662 -3.083871)'), GeomFromEWKT('SRID=4674;POINT (-39.367753 -3.083932)'))) / (select extract(epoch from '2026-08-04 15:28:29'::timestamp) - extract(epoch from '2026-08-04 15:28:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367662 -3.083871)'), GeomFromEWKT('SRID=4674;POINT (-39.367753 -3.083932)'))) / (select extract(epoch from '2026-08-04 15:28:29'::timestamp) - extract(epoch from '2026-08-04 15:28: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'), 48166, 'SRID=4674;POINT (-39.367854 -3.084014)', '2026-08-04 15:28:35', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367753 -3.083932)'), GeomFromEWKT('SRID=4674;POINT (-39.367854 -3.084014)'))) / (select extract(epoch from '2026-08-04 15:28:35'::timestamp) - extract(epoch from '2026-08-04 15:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367753 -3.083932)'), GeomFromEWKT('SRID=4674;POINT (-39.367854 -3.084014)'))) / (select extract(epoch from '2026-08-04 15:28:35'::timestamp) - extract(epoch from '2026-08-04 15:28:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.36796 -3.084104)', '2026-08-04 15:28:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367854 -3.084014)'), GeomFromEWKT('SRID=4674;POINT (-39.36796 -3.084104)'))) / (select extract(epoch from '2026-08-04 15:28:41'::timestamp) - extract(epoch from '2026-08-04 15:28:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367854 -3.084014)'), GeomFromEWKT('SRID=4674;POINT (-39.36796 -3.084104)'))) / (select extract(epoch from '2026-08-04 15:28:41'::timestamp) - extract(epoch from '2026-08-04 15:28: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'), 48166, 'SRID=4674;POINT (-39.368085 -3.08417)', '2026-08-04 15:28:47', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36796 -3.084104)'), GeomFromEWKT('SRID=4674;POINT (-39.368085 -3.08417)'))) / (select extract(epoch from '2026-08-04 15:28:47'::timestamp) - extract(epoch from '2026-08-04 15:28:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36796 -3.084104)'), GeomFromEWKT('SRID=4674;POINT (-39.368085 -3.08417)'))) / (select extract(epoch from '2026-08-04 15:28:47'::timestamp) - extract(epoch from '2026-08-04 15:28: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'), 48166, 'SRID=4674;POINT (-39.368234 -3.084239)', '2026-08-04 15:28:54', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368085 -3.08417)'), GeomFromEWKT('SRID=4674;POINT (-39.368234 -3.084239)'))) / (select extract(epoch from '2026-08-04 15:28:54'::timestamp) - extract(epoch from '2026-08-04 15:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368085 -3.08417)'), GeomFromEWKT('SRID=4674;POINT (-39.368234 -3.084239)'))) / (select extract(epoch from '2026-08-04 15:28:54'::timestamp) - extract(epoch from '2026-08-04 15:28:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.368353 -3.084313)', '2026-08-04 15:29:00', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368234 -3.084239)'), GeomFromEWKT('SRID=4674;POINT (-39.368353 -3.084313)'))) / (select extract(epoch from '2026-08-04 15:29:00'::timestamp) - extract(epoch from '2026-08-04 15:28:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368234 -3.084239)'), GeomFromEWKT('SRID=4674;POINT (-39.368353 -3.084313)'))) / (select extract(epoch from '2026-08-04 15:29:00'::timestamp) - extract(epoch from '2026-08-04 15:28: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'), 48166, 'SRID=4674;POINT (-39.36851 -3.084385)', '2026-08-04 15:29:07', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368353 -3.084313)'), GeomFromEWKT('SRID=4674;POINT (-39.36851 -3.084385)'))) / (select extract(epoch from '2026-08-04 15:29:07'::timestamp) - extract(epoch from '2026-08-04 15:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368353 -3.084313)'), GeomFromEWKT('SRID=4674;POINT (-39.36851 -3.084385)'))) / (select extract(epoch from '2026-08-04 15:29:07'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.368617 -3.084435)', '2026-08-04 15:29:12', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36851 -3.084385)'), GeomFromEWKT('SRID=4674;POINT (-39.368617 -3.084435)'))) / (select extract(epoch from '2026-08-04 15:29:12'::timestamp) - extract(epoch from '2026-08-04 15:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36851 -3.084385)'), GeomFromEWKT('SRID=4674;POINT (-39.368617 -3.084435)'))) / (select extract(epoch from '2026-08-04 15:29:12'::timestamp) - extract(epoch from '2026-08-04 15: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'), 48166, 'SRID=4674;POINT (-39.368786 -3.084493)', '2026-08-04 15:29:19', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368617 -3.084435)'), GeomFromEWKT('SRID=4674;POINT (-39.368786 -3.084493)'))) / (select extract(epoch from '2026-08-04 15:29:19'::timestamp) - extract(epoch from '2026-08-04 15:29:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368617 -3.084435)'), GeomFromEWKT('SRID=4674;POINT (-39.368786 -3.084493)'))) / (select extract(epoch from '2026-08-04 15:29:19'::timestamp) - extract(epoch from '2026-08-04 15:29:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.368897 -3.084534)', '2026-08-04 15:29:24', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368786 -3.084493)'), GeomFromEWKT('SRID=4674;POINT (-39.368897 -3.084534)'))) / (select extract(epoch from '2026-08-04 15:29:24'::timestamp) - extract(epoch from '2026-08-04 15:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368786 -3.084493)'), GeomFromEWKT('SRID=4674;POINT (-39.368897 -3.084534)'))) / (select extract(epoch from '2026-08-04 15:29:24'::timestamp) - extract(epoch from '2026-08-04 15:29:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.368985 -3.084585)', '2026-08-04 15:29:28', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368897 -3.084534)'), GeomFromEWKT('SRID=4674;POINT (-39.368985 -3.084585)'))) / (select extract(epoch from '2026-08-04 15:29:28'::timestamp) - extract(epoch from '2026-08-04 15:29:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368897 -3.084534)'), GeomFromEWKT('SRID=4674;POINT (-39.368985 -3.084585)'))) / (select extract(epoch from '2026-08-04 15:29:28'::timestamp) - extract(epoch from '2026-08-04 15:29: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'), 48166, 'SRID=4674;POINT (-39.368996 -3.084601)', '2026-08-04 15:29:29', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368985 -3.084585)'), GeomFromEWKT('SRID=4674;POINT (-39.368996 -3.084601)'))) / (select extract(epoch from '2026-08-04 15:29:29'::timestamp) - extract(epoch from '2026-08-04 15:29:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368985 -3.084585)'), GeomFromEWKT('SRID=4674;POINT (-39.368996 -3.084601)'))) / (select extract(epoch from '2026-08-04 15:29:29'::timestamp) - extract(epoch from '2026-08-04 15:29: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'), 48166, 'SRID=4674;POINT (-39.36907 -3.084673)', '2026-08-04 15:29:34', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368996 -3.084601)'), GeomFromEWKT('SRID=4674;POINT (-39.36907 -3.084673)'))) / (select extract(epoch from '2026-08-04 15:29:34'::timestamp) - extract(epoch from '2026-08-04 15:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368996 -3.084601)'), GeomFromEWKT('SRID=4674;POINT (-39.36907 -3.084673)'))) / (select extract(epoch from '2026-08-04 15:29:34'::timestamp) - extract(epoch from '2026-08-04 15:29:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
