 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.467684 -3.682462)', '2026-07-07 12:47:05', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467689 -3.682435)'), GeomFromEWKT('SRID=4674;POINT (-38.467684 -3.682462)'))) / (select extract(epoch from '2026-07-07 12:47:05'::timestamp) - extract(epoch from '2026-07-07 12:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467689 -3.682435)'), GeomFromEWKT('SRID=4674;POINT (-38.467684 -3.682462)'))) / (select extract(epoch from '2026-07-07 12:47:05'::timestamp) - extract(epoch from '2026-07-07 12:47:02'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.467667 -3.682478)', '2026-07-07 12:47:08', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467684 -3.682462)'), GeomFromEWKT('SRID=4674;POINT (-38.467667 -3.682478)'))) / (select extract(epoch from '2026-07-07 12:47:08'::timestamp) - extract(epoch from '2026-07-07 12:47:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467684 -3.682462)'), GeomFromEWKT('SRID=4674;POINT (-38.467667 -3.682478)'))) / (select extract(epoch from '2026-07-07 12:47:08'::timestamp) - extract(epoch from '2026-07-07 12:47:05'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.467659 -3.682484)', '2026-07-07 12:47:09', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467667 -3.682478)'), GeomFromEWKT('SRID=4674;POINT (-38.467659 -3.682484)'))) / (select extract(epoch from '2026-07-07 12:47:09'::timestamp) - extract(epoch from '2026-07-07 12:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467667 -3.682478)'), GeomFromEWKT('SRID=4674;POINT (-38.467659 -3.682484)'))) / (select extract(epoch from '2026-07-07 12:47:09'::timestamp) - extract(epoch from '2026-07-07 12:47:08'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.467632 -3.682496)', '2026-07-07 12:47:13', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467659 -3.682484)'), GeomFromEWKT('SRID=4674;POINT (-38.467632 -3.682496)'))) / (select extract(epoch from '2026-07-07 12:47:13'::timestamp) - extract(epoch from '2026-07-07 12:47:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467659 -3.682484)'), GeomFromEWKT('SRID=4674;POINT (-38.467632 -3.682496)'))) / (select extract(epoch from '2026-07-07 12:47:13'::timestamp) - extract(epoch from '2026-07-07 12:47:09'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.467575 -3.682496)', '2026-07-07 12:47:20', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467632 -3.682496)'), GeomFromEWKT('SRID=4674;POINT (-38.467575 -3.682496)'))) / (select extract(epoch from '2026-07-07 12:47:20'::timestamp) - extract(epoch from '2026-07-07 12:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467632 -3.682496)'), GeomFromEWKT('SRID=4674;POINT (-38.467575 -3.682496)'))) / (select extract(epoch from '2026-07-07 12:47:20'::timestamp) - extract(epoch from '2026-07-07 12:47:13'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.467521 -3.682456)', '2026-07-07 12:47:27', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467575 -3.682496)'), GeomFromEWKT('SRID=4674;POINT (-38.467521 -3.682456)'))) / (select extract(epoch from '2026-07-07 12:47:27'::timestamp) - extract(epoch from '2026-07-07 12:47:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467575 -3.682496)'), GeomFromEWKT('SRID=4674;POINT (-38.467521 -3.682456)'))) / (select extract(epoch from '2026-07-07 12:47:27'::timestamp) - extract(epoch from '2026-07-07 12:47:20'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.467492 -3.682386)', '2026-07-07 12:47:33', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467521 -3.682456)'), GeomFromEWKT('SRID=4674;POINT (-38.467492 -3.682386)'))) / (select extract(epoch from '2026-07-07 12:47:33'::timestamp) - extract(epoch from '2026-07-07 12:47:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467521 -3.682456)'), GeomFromEWKT('SRID=4674;POINT (-38.467492 -3.682386)'))) / (select extract(epoch from '2026-07-07 12:47:33'::timestamp) - extract(epoch from '2026-07-07 12:47:27'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.467481 -3.682342)', '2026-07-07 12:47:36', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467492 -3.682386)'), GeomFromEWKT('SRID=4674;POINT (-38.467481 -3.682342)'))) / (select extract(epoch from '2026-07-07 12:47:36'::timestamp) - extract(epoch from '2026-07-07 12:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467492 -3.682386)'), GeomFromEWKT('SRID=4674;POINT (-38.467481 -3.682342)'))) / (select extract(epoch from '2026-07-07 12:47:36'::timestamp) - extract(epoch from '2026-07-07 12:47:33'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.467488 -3.682311)', '2026-07-07 12:47:38', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467481 -3.682342)'), GeomFromEWKT('SRID=4674;POINT (-38.467488 -3.682311)'))) / (select extract(epoch from '2026-07-07 12:47:38'::timestamp) - extract(epoch from '2026-07-07 12:47:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467481 -3.682342)'), GeomFromEWKT('SRID=4674;POINT (-38.467488 -3.682311)'))) / (select extract(epoch from '2026-07-07 12:47:38'::timestamp) - extract(epoch from '2026-07-07 12:47:36'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.467512 -3.682218)', '2026-07-07 12:47:43', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467488 -3.682311)'), GeomFromEWKT('SRID=4674;POINT (-38.467512 -3.682218)'))) / (select extract(epoch from '2026-07-07 12:47:43'::timestamp) - extract(epoch from '2026-07-07 12:47:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467488 -3.682311)'), GeomFromEWKT('SRID=4674;POINT (-38.467512 -3.682218)'))) / (select extract(epoch from '2026-07-07 12:47:43'::timestamp) - extract(epoch from '2026-07-07 12:47:38'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.467529 -3.682184)', '2026-07-07 12:47:45', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467512 -3.682218)'), GeomFromEWKT('SRID=4674;POINT (-38.467529 -3.682184)'))) / (select extract(epoch from '2026-07-07 12:47:45'::timestamp) - extract(epoch from '2026-07-07 12:47:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467512 -3.682218)'), GeomFromEWKT('SRID=4674;POINT (-38.467529 -3.682184)'))) / (select extract(epoch from '2026-07-07 12:47:45'::timestamp) - extract(epoch from '2026-07-07 12:47:43'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.4676 -3.682119)', '2026-07-07 12:47:49', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467529 -3.682184)'), GeomFromEWKT('SRID=4674;POINT (-38.4676 -3.682119)'))) / (select extract(epoch from '2026-07-07 12:47:49'::timestamp) - extract(epoch from '2026-07-07 12:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467529 -3.682184)'), GeomFromEWKT('SRID=4674;POINT (-38.4676 -3.682119)'))) / (select extract(epoch from '2026-07-07 12:47:49'::timestamp) - extract(epoch from '2026-07-07 12:47:45'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.467717 -3.682037)', '2026-07-07 12:47:55', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4676 -3.682119)'), GeomFromEWKT('SRID=4674;POINT (-38.467717 -3.682037)'))) / (select extract(epoch from '2026-07-07 12:47:55'::timestamp) - extract(epoch from '2026-07-07 12:47:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4676 -3.682119)'), GeomFromEWKT('SRID=4674;POINT (-38.467717 -3.682037)'))) / (select extract(epoch from '2026-07-07 12:47:55'::timestamp) - extract(epoch from '2026-07-07 12:47:49'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.467818 -3.681982)', '2026-07-07 12:48:00', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467717 -3.682037)'), GeomFromEWKT('SRID=4674;POINT (-38.467818 -3.681982)'))) / (select extract(epoch from '2026-07-07 12:48:00'::timestamp) - extract(epoch from '2026-07-07 12:47:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467717 -3.682037)'), GeomFromEWKT('SRID=4674;POINT (-38.467818 -3.681982)'))) / (select extract(epoch from '2026-07-07 12:48:00'::timestamp) - extract(epoch from '2026-07-07 12:47:55'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.467973 -3.681942)', '2026-07-07 12:48:07', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467818 -3.681982)'), GeomFromEWKT('SRID=4674;POINT (-38.467973 -3.681942)'))) / (select extract(epoch from '2026-07-07 12:48:07'::timestamp) - extract(epoch from '2026-07-07 12:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467818 -3.681982)'), GeomFromEWKT('SRID=4674;POINT (-38.467973 -3.681942)'))) / (select extract(epoch from '2026-07-07 12:48:07'::timestamp) - extract(epoch from '2026-07-07 12:48:00'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.468099 -3.681971)', '2026-07-07 12:48:13', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467973 -3.681942)'), GeomFromEWKT('SRID=4674;POINT (-38.468099 -3.681971)'))) / (select extract(epoch from '2026-07-07 12:48:13'::timestamp) - extract(epoch from '2026-07-07 12:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467973 -3.681942)'), GeomFromEWKT('SRID=4674;POINT (-38.468099 -3.681971)'))) / (select extract(epoch from '2026-07-07 12:48:13'::timestamp) - extract(epoch from '2026-07-07 12:48:07'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.468208 -3.682026)', '2026-07-07 12:48:19', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468099 -3.681971)'), GeomFromEWKT('SRID=4674;POINT (-38.468208 -3.682026)'))) / (select extract(epoch from '2026-07-07 12:48:19'::timestamp) - extract(epoch from '2026-07-07 12:48:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468099 -3.681971)'), GeomFromEWKT('SRID=4674;POINT (-38.468208 -3.682026)'))) / (select extract(epoch from '2026-07-07 12:48:19'::timestamp) - extract(epoch from '2026-07-07 12:48:13'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.468311 -3.682086)', '2026-07-07 12:48:25', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468208 -3.682026)'), GeomFromEWKT('SRID=4674;POINT (-38.468311 -3.682086)'))) / (select extract(epoch from '2026-07-07 12:48:25'::timestamp) - extract(epoch from '2026-07-07 12:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468208 -3.682026)'), GeomFromEWKT('SRID=4674;POINT (-38.468311 -3.682086)'))) / (select extract(epoch from '2026-07-07 12:48:25'::timestamp) - extract(epoch from '2026-07-07 12:48:19'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.468395 -3.68216)', '2026-07-07 12:48:31', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468311 -3.682086)'), GeomFromEWKT('SRID=4674;POINT (-38.468395 -3.68216)'))) / (select extract(epoch from '2026-07-07 12:48:31'::timestamp) - extract(epoch from '2026-07-07 12:48:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468311 -3.682086)'), GeomFromEWKT('SRID=4674;POINT (-38.468395 -3.68216)'))) / (select extract(epoch from '2026-07-07 12:48:31'::timestamp) - extract(epoch from '2026-07-07 12:48:25'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.468441 -3.68224)', '2026-07-07 12:48:36', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468395 -3.68216)'), GeomFromEWKT('SRID=4674;POINT (-38.468441 -3.68224)'))) / (select extract(epoch from '2026-07-07 12:48:36'::timestamp) - extract(epoch from '2026-07-07 12:48:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468395 -3.68216)'), GeomFromEWKT('SRID=4674;POINT (-38.468441 -3.68224)'))) / (select extract(epoch from '2026-07-07 12:48:36'::timestamp) - extract(epoch from '2026-07-07 12:48:31'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.468451 -3.682254)', '2026-07-07 12:48:37', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468441 -3.68224)'), GeomFromEWKT('SRID=4674;POINT (-38.468451 -3.682254)'))) / (select extract(epoch from '2026-07-07 12:48:37'::timestamp) - extract(epoch from '2026-07-07 12:48:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468441 -3.68224)'), GeomFromEWKT('SRID=4674;POINT (-38.468451 -3.682254)'))) / (select extract(epoch from '2026-07-07 12:48:37'::timestamp) - extract(epoch from '2026-07-07 12:48:36'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.468488 -3.682298)', '2026-07-07 12:48:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468451 -3.682254)'), GeomFromEWKT('SRID=4674;POINT (-38.468488 -3.682298)'))) / (select extract(epoch from '2026-07-07 12:48:40'::timestamp) - extract(epoch from '2026-07-07 12:48:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468451 -3.682254)'), GeomFromEWKT('SRID=4674;POINT (-38.468488 -3.682298)'))) / (select extract(epoch from '2026-07-07 12:48:40'::timestamp) - extract(epoch from '2026-07-07 12:48:37'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.468508 -3.682329)', '2026-07-07 12:48:42', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468488 -3.682298)'), GeomFromEWKT('SRID=4674;POINT (-38.468508 -3.682329)'))) / (select extract(epoch from '2026-07-07 12:48:42'::timestamp) - extract(epoch from '2026-07-07 12:48:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468488 -3.682298)'), GeomFromEWKT('SRID=4674;POINT (-38.468508 -3.682329)'))) / (select extract(epoch from '2026-07-07 12:48:42'::timestamp) - extract(epoch from '2026-07-07 12:48:40'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.468611 -3.682446)', '2026-07-07 12:48:50', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468508 -3.682329)'), GeomFromEWKT('SRID=4674;POINT (-38.468611 -3.682446)'))) / (select extract(epoch from '2026-07-07 12:48:50'::timestamp) - extract(epoch from '2026-07-07 12:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468508 -3.682329)'), GeomFromEWKT('SRID=4674;POINT (-38.468611 -3.682446)'))) / (select extract(epoch from '2026-07-07 12:48:50'::timestamp) - extract(epoch from '2026-07-07 12:48:42'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.468698 -3.682547)', '2026-07-07 12:48:57', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468611 -3.682446)'), GeomFromEWKT('SRID=4674;POINT (-38.468698 -3.682547)'))) / (select extract(epoch from '2026-07-07 12:48:57'::timestamp) - extract(epoch from '2026-07-07 12:48:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468611 -3.682446)'), GeomFromEWKT('SRID=4674;POINT (-38.468698 -3.682547)'))) / (select extract(epoch from '2026-07-07 12:48:57'::timestamp) - extract(epoch from '2026-07-07 12:48:50'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.468778 -3.682625)', '2026-07-07 12:49:03', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468698 -3.682547)'), GeomFromEWKT('SRID=4674;POINT (-38.468778 -3.682625)'))) / (select extract(epoch from '2026-07-07 12:49:03'::timestamp) - extract(epoch from '2026-07-07 12:48:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468698 -3.682547)'), GeomFromEWKT('SRID=4674;POINT (-38.468778 -3.682625)'))) / (select extract(epoch from '2026-07-07 12:49:03'::timestamp) - extract(epoch from '2026-07-07 12:48:57'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.468875 -3.682698)', '2026-07-07 12:49:09', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468778 -3.682625)'), GeomFromEWKT('SRID=4674;POINT (-38.468875 -3.682698)'))) / (select extract(epoch from '2026-07-07 12:49:09'::timestamp) - extract(epoch from '2026-07-07 12:49:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468778 -3.682625)'), GeomFromEWKT('SRID=4674;POINT (-38.468875 -3.682698)'))) / (select extract(epoch from '2026-07-07 12:49:09'::timestamp) - extract(epoch from '2026-07-07 12:49:03'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.468961 -3.682764)', '2026-07-07 12:49:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468875 -3.682698)'), GeomFromEWKT('SRID=4674;POINT (-38.468961 -3.682764)'))) / (select extract(epoch from '2026-07-07 12:49:14'::timestamp) - extract(epoch from '2026-07-07 12:49:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468875 -3.682698)'), GeomFromEWKT('SRID=4674;POINT (-38.468961 -3.682764)'))) / (select extract(epoch from '2026-07-07 12:49:14'::timestamp) - extract(epoch from '2026-07-07 12:49:09'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.469031 -3.682825)', '2026-07-07 12:49:19', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468961 -3.682764)'), GeomFromEWKT('SRID=4674;POINT (-38.469031 -3.682825)'))) / (select extract(epoch from '2026-07-07 12:49:19'::timestamp) - extract(epoch from '2026-07-07 12:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468961 -3.682764)'), GeomFromEWKT('SRID=4674;POINT (-38.469031 -3.682825)'))) / (select extract(epoch from '2026-07-07 12:49:19'::timestamp) - extract(epoch from '2026-07-07 12:49:14'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.469109 -3.682903)', '2026-07-07 12:49:25', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469031 -3.682825)'), GeomFromEWKT('SRID=4674;POINT (-38.469109 -3.682903)'))) / (select extract(epoch from '2026-07-07 12:49:25'::timestamp) - extract(epoch from '2026-07-07 12:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469031 -3.682825)'), GeomFromEWKT('SRID=4674;POINT (-38.469109 -3.682903)'))) / (select extract(epoch from '2026-07-07 12:49:25'::timestamp) - extract(epoch from '2026-07-07 12:49:19'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.469196 -3.682986)', '2026-07-07 12:49:31', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469109 -3.682903)'), GeomFromEWKT('SRID=4674;POINT (-38.469196 -3.682986)'))) / (select extract(epoch from '2026-07-07 12:49:31'::timestamp) - extract(epoch from '2026-07-07 12:49:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469109 -3.682903)'), GeomFromEWKT('SRID=4674;POINT (-38.469196 -3.682986)'))) / (select extract(epoch from '2026-07-07 12:49:31'::timestamp) - extract(epoch from '2026-07-07 12:49:25'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.469263 -3.683055)', '2026-07-07 12:49:36', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469196 -3.682986)'), GeomFromEWKT('SRID=4674;POINT (-38.469263 -3.683055)'))) / (select extract(epoch from '2026-07-07 12:49:36'::timestamp) - extract(epoch from '2026-07-07 12:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469196 -3.682986)'), GeomFromEWKT('SRID=4674;POINT (-38.469263 -3.683055)'))) / (select extract(epoch from '2026-07-07 12:49:36'::timestamp) - extract(epoch from '2026-07-07 12:49:31'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.469354 -3.683135)', '2026-07-07 12:49:42', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469263 -3.683055)'), GeomFromEWKT('SRID=4674;POINT (-38.469354 -3.683135)'))) / (select extract(epoch from '2026-07-07 12:49:42'::timestamp) - extract(epoch from '2026-07-07 12:49:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469263 -3.683055)'), GeomFromEWKT('SRID=4674;POINT (-38.469354 -3.683135)'))) / (select extract(epoch from '2026-07-07 12:49:42'::timestamp) - extract(epoch from '2026-07-07 12:49:36'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.469438 -3.683212)', '2026-07-07 12:49:48', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469354 -3.683135)'), GeomFromEWKT('SRID=4674;POINT (-38.469438 -3.683212)'))) / (select extract(epoch from '2026-07-07 12:49:48'::timestamp) - extract(epoch from '2026-07-07 12:49:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469354 -3.683135)'), GeomFromEWKT('SRID=4674;POINT (-38.469438 -3.683212)'))) / (select extract(epoch from '2026-07-07 12:49:48'::timestamp) - extract(epoch from '2026-07-07 12:49:42'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.469516 -3.683293)', '2026-07-07 12:49:54', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469438 -3.683212)'), GeomFromEWKT('SRID=4674;POINT (-38.469516 -3.683293)'))) / (select extract(epoch from '2026-07-07 12:49:54'::timestamp) - extract(epoch from '2026-07-07 12:49:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469438 -3.683212)'), GeomFromEWKT('SRID=4674;POINT (-38.469516 -3.683293)'))) / (select extract(epoch from '2026-07-07 12:49:54'::timestamp) - extract(epoch from '2026-07-07 12:49:48'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.469605 -3.683376)', '2026-07-07 12:50:00', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469516 -3.683293)'), GeomFromEWKT('SRID=4674;POINT (-38.469605 -3.683376)'))) / (select extract(epoch from '2026-07-07 12:50:00'::timestamp) - extract(epoch from '2026-07-07 12:49:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469516 -3.683293)'), GeomFromEWKT('SRID=4674;POINT (-38.469605 -3.683376)'))) / (select extract(epoch from '2026-07-07 12:50:00'::timestamp) - extract(epoch from '2026-07-07 12:49:54'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.469677 -3.683443)', '2026-07-07 12:50:05', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469605 -3.683376)'), GeomFromEWKT('SRID=4674;POINT (-38.469677 -3.683443)'))) / (select extract(epoch from '2026-07-07 12:50:05'::timestamp) - extract(epoch from '2026-07-07 12:50:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469605 -3.683376)'), GeomFromEWKT('SRID=4674;POINT (-38.469677 -3.683443)'))) / (select extract(epoch from '2026-07-07 12:50:05'::timestamp) - extract(epoch from '2026-07-07 12:50:00'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.469702 -3.68347)', '2026-07-07 12:50:07', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469677 -3.683443)'), GeomFromEWKT('SRID=4674;POINT (-38.469702 -3.68347)'))) / (select extract(epoch from '2026-07-07 12:50:07'::timestamp) - extract(epoch from '2026-07-07 12:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469677 -3.683443)'), GeomFromEWKT('SRID=4674;POINT (-38.469702 -3.68347)'))) / (select extract(epoch from '2026-07-07 12:50:07'::timestamp) - extract(epoch from '2026-07-07 12:50:05'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.469753 -3.683504)', '2026-07-07 12:50:10', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469702 -3.68347)'), GeomFromEWKT('SRID=4674;POINT (-38.469753 -3.683504)'))) / (select extract(epoch from '2026-07-07 12:50:10'::timestamp) - extract(epoch from '2026-07-07 12:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469702 -3.68347)'), GeomFromEWKT('SRID=4674;POINT (-38.469753 -3.683504)'))) / (select extract(epoch from '2026-07-07 12:50:10'::timestamp) - extract(epoch from '2026-07-07 12:50:07'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.469874 -3.683611)', '2026-07-07 12:50:18', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469753 -3.683504)'), GeomFromEWKT('SRID=4674;POINT (-38.469874 -3.683611)'))) / (select extract(epoch from '2026-07-07 12:50:18'::timestamp) - extract(epoch from '2026-07-07 12:50:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469753 -3.683504)'), GeomFromEWKT('SRID=4674;POINT (-38.469874 -3.683611)'))) / (select extract(epoch from '2026-07-07 12:50:18'::timestamp) - extract(epoch from '2026-07-07 12:50:10'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.46998 -3.683692)', '2026-07-07 12:50:24', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469874 -3.683611)'), GeomFromEWKT('SRID=4674;POINT (-38.46998 -3.683692)'))) / (select extract(epoch from '2026-07-07 12:50:24'::timestamp) - extract(epoch from '2026-07-07 12:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469874 -3.683611)'), GeomFromEWKT('SRID=4674;POINT (-38.46998 -3.683692)'))) / (select extract(epoch from '2026-07-07 12:50:24'::timestamp) - extract(epoch from '2026-07-07 12:50:18'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.470034 -3.683736)', '2026-07-07 12:50:28', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46998 -3.683692)'), GeomFromEWKT('SRID=4674;POINT (-38.470034 -3.683736)'))) / (select extract(epoch from '2026-07-07 12:50:28'::timestamp) - extract(epoch from '2026-07-07 12:50:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46998 -3.683692)'), GeomFromEWKT('SRID=4674;POINT (-38.470034 -3.683736)'))) / (select extract(epoch from '2026-07-07 12:50:28'::timestamp) - extract(epoch from '2026-07-07 12:50:24'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.470096 -3.683822)', '2026-07-07 12:50:34', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470034 -3.683736)'), GeomFromEWKT('SRID=4674;POINT (-38.470096 -3.683822)'))) / (select extract(epoch from '2026-07-07 12:50:34'::timestamp) - extract(epoch from '2026-07-07 12:50:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470034 -3.683736)'), GeomFromEWKT('SRID=4674;POINT (-38.470096 -3.683822)'))) / (select extract(epoch from '2026-07-07 12:50:34'::timestamp) - extract(epoch from '2026-07-07 12:50:28'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.470151 -3.683886)', '2026-07-07 12:50:39', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470096 -3.683822)'), GeomFromEWKT('SRID=4674;POINT (-38.470151 -3.683886)'))) / (select extract(epoch from '2026-07-07 12:50:39'::timestamp) - extract(epoch from '2026-07-07 12:50:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470096 -3.683822)'), GeomFromEWKT('SRID=4674;POINT (-38.470151 -3.683886)'))) / (select extract(epoch from '2026-07-07 12:50:39'::timestamp) - extract(epoch from '2026-07-07 12:50:34'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.470232 -3.683967)', '2026-07-07 12:50:45', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470151 -3.683886)'), GeomFromEWKT('SRID=4674;POINT (-38.470232 -3.683967)'))) / (select extract(epoch from '2026-07-07 12:50:45'::timestamp) - extract(epoch from '2026-07-07 12:50:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470151 -3.683886)'), GeomFromEWKT('SRID=4674;POINT (-38.470232 -3.683967)'))) / (select extract(epoch from '2026-07-07 12:50:45'::timestamp) - extract(epoch from '2026-07-07 12:50:39'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.470329 -3.684051)', '2026-07-07 12:50:52', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470232 -3.683967)'), GeomFromEWKT('SRID=4674;POINT (-38.470329 -3.684051)'))) / (select extract(epoch from '2026-07-07 12:50:52'::timestamp) - extract(epoch from '2026-07-07 12:50:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470232 -3.683967)'), GeomFromEWKT('SRID=4674;POINT (-38.470329 -3.684051)'))) / (select extract(epoch from '2026-07-07 12:50:52'::timestamp) - extract(epoch from '2026-07-07 12:50:45'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.470399 -3.684119)', '2026-07-07 12:50:57', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470329 -3.684051)'), GeomFromEWKT('SRID=4674;POINT (-38.470399 -3.684119)'))) / (select extract(epoch from '2026-07-07 12:50:57'::timestamp) - extract(epoch from '2026-07-07 12:50:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470329 -3.684051)'), GeomFromEWKT('SRID=4674;POINT (-38.470399 -3.684119)'))) / (select extract(epoch from '2026-07-07 12:50:57'::timestamp) - extract(epoch from '2026-07-07 12:50:52'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.470464 -3.684208)', '2026-07-07 12:51:03', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470399 -3.684119)'), GeomFromEWKT('SRID=4674;POINT (-38.470464 -3.684208)'))) / (select extract(epoch from '2026-07-07 12:51:03'::timestamp) - extract(epoch from '2026-07-07 12:50:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470399 -3.684119)'), GeomFromEWKT('SRID=4674;POINT (-38.470464 -3.684208)'))) / (select extract(epoch from '2026-07-07 12:51:03'::timestamp) - extract(epoch from '2026-07-07 12:50:57'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.470525 -3.684299)', '2026-07-07 12:51:09', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470464 -3.684208)'), GeomFromEWKT('SRID=4674;POINT (-38.470525 -3.684299)'))) / (select extract(epoch from '2026-07-07 12:51:09'::timestamp) - extract(epoch from '2026-07-07 12:51:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470464 -3.684208)'), GeomFromEWKT('SRID=4674;POINT (-38.470525 -3.684299)'))) / (select extract(epoch from '2026-07-07 12:51:09'::timestamp) - extract(epoch from '2026-07-07 12:51:03'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.470535 -3.684312)', '2026-07-07 12:51:10', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470525 -3.684299)'), GeomFromEWKT('SRID=4674;POINT (-38.470535 -3.684312)'))) / (select extract(epoch from '2026-07-07 12:51:10'::timestamp) - extract(epoch from '2026-07-07 12:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470525 -3.684299)'), GeomFromEWKT('SRID=4674;POINT (-38.470535 -3.684312)'))) / (select extract(epoch from '2026-07-07 12:51:10'::timestamp) - extract(epoch from '2026-07-07 12:51:09'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.470566 -3.684359)', '2026-07-07 12:51:13', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470535 -3.684312)'), GeomFromEWKT('SRID=4674;POINT (-38.470566 -3.684359)'))) / (select extract(epoch from '2026-07-07 12:51:13'::timestamp) - extract(epoch from '2026-07-07 12:51:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470535 -3.684312)'), GeomFromEWKT('SRID=4674;POINT (-38.470566 -3.684359)'))) / (select extract(epoch from '2026-07-07 12:51:13'::timestamp) - extract(epoch from '2026-07-07 12:51:10'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.470585 -3.684382)', '2026-07-07 12:51:15', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470566 -3.684359)'), GeomFromEWKT('SRID=4674;POINT (-38.470585 -3.684382)'))) / (select extract(epoch from '2026-07-07 12:51:15'::timestamp) - extract(epoch from '2026-07-07 12:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470566 -3.684359)'), GeomFromEWKT('SRID=4674;POINT (-38.470585 -3.684382)'))) / (select extract(epoch from '2026-07-07 12:51:15'::timestamp) - extract(epoch from '2026-07-07 12:51:13'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.470615 -3.684423)', '2026-07-07 12:51:18', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470585 -3.684382)'), GeomFromEWKT('SRID=4674;POINT (-38.470615 -3.684423)'))) / (select extract(epoch from '2026-07-07 12:51:18'::timestamp) - extract(epoch from '2026-07-07 12:51:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470585 -3.684382)'), GeomFromEWKT('SRID=4674;POINT (-38.470615 -3.684423)'))) / (select extract(epoch from '2026-07-07 12:51:18'::timestamp) - extract(epoch from '2026-07-07 12:51:15'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.4707 -3.684505)', '2026-07-07 12:51:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470615 -3.684423)'), GeomFromEWKT('SRID=4674;POINT (-38.4707 -3.684505)'))) / (select extract(epoch from '2026-07-07 12:51:24'::timestamp) - extract(epoch from '2026-07-07 12:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470615 -3.684423)'), GeomFromEWKT('SRID=4674;POINT (-38.4707 -3.684505)'))) / (select extract(epoch from '2026-07-07 12:51:24'::timestamp) - extract(epoch from '2026-07-07 12:51:18'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.470784 -3.684589)', '2026-07-07 12:51:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4707 -3.684505)'), GeomFromEWKT('SRID=4674;POINT (-38.470784 -3.684589)'))) / (select extract(epoch from '2026-07-07 12:51:30'::timestamp) - extract(epoch from '2026-07-07 12:51:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4707 -3.684505)'), GeomFromEWKT('SRID=4674;POINT (-38.470784 -3.684589)'))) / (select extract(epoch from '2026-07-07 12:51:30'::timestamp) - extract(epoch from '2026-07-07 12:51:24'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.470906 -3.684694)', '2026-07-07 12:51:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470784 -3.684589)'), GeomFromEWKT('SRID=4674;POINT (-38.470906 -3.684694)'))) / (select extract(epoch from '2026-07-07 12:51:38'::timestamp) - extract(epoch from '2026-07-07 12:51:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470784 -3.684589)'), GeomFromEWKT('SRID=4674;POINT (-38.470906 -3.684694)'))) / (select extract(epoch from '2026-07-07 12:51:38'::timestamp) - extract(epoch from '2026-07-07 12:51:30'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.470965 -3.68477)', '2026-07-07 12:51:43', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470906 -3.684694)'), GeomFromEWKT('SRID=4674;POINT (-38.470965 -3.68477)'))) / (select extract(epoch from '2026-07-07 12:51:43'::timestamp) - extract(epoch from '2026-07-07 12:51:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470906 -3.684694)'), GeomFromEWKT('SRID=4674;POINT (-38.470965 -3.68477)'))) / (select extract(epoch from '2026-07-07 12:51:43'::timestamp) - extract(epoch from '2026-07-07 12:51:38'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.471068 -3.684852)', '2026-07-07 12:51:49', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470965 -3.68477)'), GeomFromEWKT('SRID=4674;POINT (-38.471068 -3.684852)'))) / (select extract(epoch from '2026-07-07 12:51:49'::timestamp) - extract(epoch from '2026-07-07 12:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470965 -3.68477)'), GeomFromEWKT('SRID=4674;POINT (-38.471068 -3.684852)'))) / (select extract(epoch from '2026-07-07 12:51:49'::timestamp) - extract(epoch from '2026-07-07 12:51:43'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.471132 -3.684935)', '2026-07-07 12:51:54', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471068 -3.684852)'), GeomFromEWKT('SRID=4674;POINT (-38.471132 -3.684935)'))) / (select extract(epoch from '2026-07-07 12:51:54'::timestamp) - extract(epoch from '2026-07-07 12:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471068 -3.684852)'), GeomFromEWKT('SRID=4674;POINT (-38.471132 -3.684935)'))) / (select extract(epoch from '2026-07-07 12:51:54'::timestamp) - extract(epoch from '2026-07-07 12:51:49'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.471148 -3.685005)', '2026-07-07 12:51:59', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471132 -3.684935)'), GeomFromEWKT('SRID=4674;POINT (-38.471148 -3.685005)'))) / (select extract(epoch from '2026-07-07 12:51:59'::timestamp) - extract(epoch from '2026-07-07 12:51:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471132 -3.684935)'), GeomFromEWKT('SRID=4674;POINT (-38.471148 -3.685005)'))) / (select extract(epoch from '2026-07-07 12:51:59'::timestamp) - extract(epoch from '2026-07-07 12:51:54'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.47118 -3.685103)', '2026-07-07 12:52:05', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471148 -3.685005)'), GeomFromEWKT('SRID=4674;POINT (-38.47118 -3.685103)'))) / (select extract(epoch from '2026-07-07 12:52:05'::timestamp) - extract(epoch from '2026-07-07 12:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471148 -3.685005)'), GeomFromEWKT('SRID=4674;POINT (-38.47118 -3.685103)'))) / (select extract(epoch from '2026-07-07 12:52:05'::timestamp) - extract(epoch from '2026-07-07 12:51:59'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.471231 -3.685183)', '2026-07-07 12:52:11', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47118 -3.685103)'), GeomFromEWKT('SRID=4674;POINT (-38.471231 -3.685183)'))) / (select extract(epoch from '2026-07-07 12:52:11'::timestamp) - extract(epoch from '2026-07-07 12:52:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47118 -3.685103)'), GeomFromEWKT('SRID=4674;POINT (-38.471231 -3.685183)'))) / (select extract(epoch from '2026-07-07 12:52:11'::timestamp) - extract(epoch from '2026-07-07 12:52:05'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.471316 -3.685263)', '2026-07-07 12:52:17', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471231 -3.685183)'), GeomFromEWKT('SRID=4674;POINT (-38.471316 -3.685263)'))) / (select extract(epoch from '2026-07-07 12:52:17'::timestamp) - extract(epoch from '2026-07-07 12:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471231 -3.685183)'), GeomFromEWKT('SRID=4674;POINT (-38.471316 -3.685263)'))) / (select extract(epoch from '2026-07-07 12:52:17'::timestamp) - extract(epoch from '2026-07-07 12:52:11'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.471401 -3.685345)', '2026-07-07 12:52:23', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471316 -3.685263)'), GeomFromEWKT('SRID=4674;POINT (-38.471401 -3.685345)'))) / (select extract(epoch from '2026-07-07 12:52:23'::timestamp) - extract(epoch from '2026-07-07 12:52:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471316 -3.685263)'), GeomFromEWKT('SRID=4674;POINT (-38.471401 -3.685345)'))) / (select extract(epoch from '2026-07-07 12:52:23'::timestamp) - extract(epoch from '2026-07-07 12:52:17'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.471479 -3.685432)', '2026-07-07 12:52:29', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471401 -3.685345)'), GeomFromEWKT('SRID=4674;POINT (-38.471479 -3.685432)'))) / (select extract(epoch from '2026-07-07 12:52:29'::timestamp) - extract(epoch from '2026-07-07 12:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471401 -3.685345)'), GeomFromEWKT('SRID=4674;POINT (-38.471479 -3.685432)'))) / (select extract(epoch from '2026-07-07 12:52:29'::timestamp) - extract(epoch from '2026-07-07 12:52:23'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.471551 -3.685507)', '2026-07-07 12:52:34', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471479 -3.685432)'), GeomFromEWKT('SRID=4674;POINT (-38.471551 -3.685507)'))) / (select extract(epoch from '2026-07-07 12:52:34'::timestamp) - extract(epoch from '2026-07-07 12:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471479 -3.685432)'), GeomFromEWKT('SRID=4674;POINT (-38.471551 -3.685507)'))) / (select extract(epoch from '2026-07-07 12:52:34'::timestamp) - extract(epoch from '2026-07-07 12:52:29'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.471638 -3.685591)', '2026-07-07 12:52:40', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471551 -3.685507)'), GeomFromEWKT('SRID=4674;POINT (-38.471638 -3.685591)'))) / (select extract(epoch from '2026-07-07 12:52:40'::timestamp) - extract(epoch from '2026-07-07 12:52:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471551 -3.685507)'), GeomFromEWKT('SRID=4674;POINT (-38.471638 -3.685591)'))) / (select extract(epoch from '2026-07-07 12:52:40'::timestamp) - extract(epoch from '2026-07-07 12:52:34'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.471711 -3.685653)', '2026-07-07 12:52:45', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471638 -3.685591)'), GeomFromEWKT('SRID=4674;POINT (-38.471711 -3.685653)'))) / (select extract(epoch from '2026-07-07 12:52:45'::timestamp) - extract(epoch from '2026-07-07 12:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471638 -3.685591)'), GeomFromEWKT('SRID=4674;POINT (-38.471711 -3.685653)'))) / (select extract(epoch from '2026-07-07 12:52:45'::timestamp) - extract(epoch from '2026-07-07 12:52:40'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.47176 -3.685712)', '2026-07-07 12:52:49', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471711 -3.685653)'), GeomFromEWKT('SRID=4674;POINT (-38.47176 -3.685712)'))) / (select extract(epoch from '2026-07-07 12:52:49'::timestamp) - extract(epoch from '2026-07-07 12:52:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471711 -3.685653)'), GeomFromEWKT('SRID=4674;POINT (-38.47176 -3.685712)'))) / (select extract(epoch from '2026-07-07 12:52:49'::timestamp) - extract(epoch from '2026-07-07 12:52:45'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.471769 -3.685725)', '2026-07-07 12:52:50', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47176 -3.685712)'), GeomFromEWKT('SRID=4674;POINT (-38.471769 -3.685725)'))) / (select extract(epoch from '2026-07-07 12:52:50'::timestamp) - extract(epoch from '2026-07-07 12:52:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47176 -3.685712)'), GeomFromEWKT('SRID=4674;POINT (-38.471769 -3.685725)'))) / (select extract(epoch from '2026-07-07 12:52:50'::timestamp) - extract(epoch from '2026-07-07 12:52:49'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.471805 -3.685829)', '2026-07-07 12:52:57', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471769 -3.685725)'), GeomFromEWKT('SRID=4674;POINT (-38.471805 -3.685829)'))) / (select extract(epoch from '2026-07-07 12:52:57'::timestamp) - extract(epoch from '2026-07-07 12:52:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471769 -3.685725)'), GeomFromEWKT('SRID=4674;POINT (-38.471805 -3.685829)'))) / (select extract(epoch from '2026-07-07 12:52:57'::timestamp) - extract(epoch from '2026-07-07 12:52:50'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.471834 -3.685899)', '2026-07-07 12:53:02', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471805 -3.685829)'), GeomFromEWKT('SRID=4674;POINT (-38.471834 -3.685899)'))) / (select extract(epoch from '2026-07-07 12:53:02'::timestamp) - extract(epoch from '2026-07-07 12:52:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471805 -3.685829)'), GeomFromEWKT('SRID=4674;POINT (-38.471834 -3.685899)'))) / (select extract(epoch from '2026-07-07 12:53:02'::timestamp) - extract(epoch from '2026-07-07 12:52:57'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.471884 -3.685967)', '2026-07-07 12:53:07', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471834 -3.685899)'), GeomFromEWKT('SRID=4674;POINT (-38.471884 -3.685967)'))) / (select extract(epoch from '2026-07-07 12:53:07'::timestamp) - extract(epoch from '2026-07-07 12:53:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471834 -3.685899)'), GeomFromEWKT('SRID=4674;POINT (-38.471884 -3.685967)'))) / (select extract(epoch from '2026-07-07 12:53:07'::timestamp) - extract(epoch from '2026-07-07 12:53:02'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.471938 -3.686042)', '2026-07-07 12:53:12', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471884 -3.685967)'), GeomFromEWKT('SRID=4674;POINT (-38.471938 -3.686042)'))) / (select extract(epoch from '2026-07-07 12:53:12'::timestamp) - extract(epoch from '2026-07-07 12:53:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471884 -3.685967)'), GeomFromEWKT('SRID=4674;POINT (-38.471938 -3.686042)'))) / (select extract(epoch from '2026-07-07 12:53:12'::timestamp) - extract(epoch from '2026-07-07 12:53:07'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.471952 -3.686055)', '2026-07-07 12:53:13', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471938 -3.686042)'), GeomFromEWKT('SRID=4674;POINT (-38.471952 -3.686055)'))) / (select extract(epoch from '2026-07-07 12:53:13'::timestamp) - extract(epoch from '2026-07-07 12:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471938 -3.686042)'), GeomFromEWKT('SRID=4674;POINT (-38.471952 -3.686055)'))) / (select extract(epoch from '2026-07-07 12:53:13'::timestamp) - extract(epoch from '2026-07-07 12:53:12'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.47202 -3.686125)', '2026-07-07 12:53:18', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471952 -3.686055)'), GeomFromEWKT('SRID=4674;POINT (-38.47202 -3.686125)'))) / (select extract(epoch from '2026-07-07 12:53:18'::timestamp) - extract(epoch from '2026-07-07 12:53:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471952 -3.686055)'), GeomFromEWKT('SRID=4674;POINT (-38.47202 -3.686125)'))) / (select extract(epoch from '2026-07-07 12:53:18'::timestamp) - extract(epoch from '2026-07-07 12:53:13'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.472079 -3.686199)', '2026-07-07 12:53:23', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47202 -3.686125)'), GeomFromEWKT('SRID=4674;POINT (-38.472079 -3.686199)'))) / (select extract(epoch from '2026-07-07 12:53:23'::timestamp) - extract(epoch from '2026-07-07 12:53:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47202 -3.686125)'), GeomFromEWKT('SRID=4674;POINT (-38.472079 -3.686199)'))) / (select extract(epoch from '2026-07-07 12:53:23'::timestamp) - extract(epoch from '2026-07-07 12:53:18'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.472163 -3.686309)', '2026-07-07 12:53:30', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472079 -3.686199)'), GeomFromEWKT('SRID=4674;POINT (-38.472163 -3.686309)'))) / (select extract(epoch from '2026-07-07 12:53:30'::timestamp) - extract(epoch from '2026-07-07 12:53:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472079 -3.686199)'), GeomFromEWKT('SRID=4674;POINT (-38.472163 -3.686309)'))) / (select extract(epoch from '2026-07-07 12:53:30'::timestamp) - extract(epoch from '2026-07-07 12:53:23'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.472228 -3.686383)', '2026-07-07 12:53:35', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472163 -3.686309)'), GeomFromEWKT('SRID=4674;POINT (-38.472228 -3.686383)'))) / (select extract(epoch from '2026-07-07 12:53:35'::timestamp) - extract(epoch from '2026-07-07 12:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472163 -3.686309)'), GeomFromEWKT('SRID=4674;POINT (-38.472228 -3.686383)'))) / (select extract(epoch from '2026-07-07 12:53:35'::timestamp) - extract(epoch from '2026-07-07 12:53:30'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.472329 -3.686468)', '2026-07-07 12:53:41', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472228 -3.686383)'), GeomFromEWKT('SRID=4674;POINT (-38.472329 -3.686468)'))) / (select extract(epoch from '2026-07-07 12:53:41'::timestamp) - extract(epoch from '2026-07-07 12:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472228 -3.686383)'), GeomFromEWKT('SRID=4674;POINT (-38.472329 -3.686468)'))) / (select extract(epoch from '2026-07-07 12:53:41'::timestamp) - extract(epoch from '2026-07-07 12:53:35'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.472429 -3.686548)', '2026-07-07 12:53:47', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472329 -3.686468)'), GeomFromEWKT('SRID=4674;POINT (-38.472429 -3.686548)'))) / (select extract(epoch from '2026-07-07 12:53:47'::timestamp) - extract(epoch from '2026-07-07 12:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472329 -3.686468)'), GeomFromEWKT('SRID=4674;POINT (-38.472429 -3.686548)'))) / (select extract(epoch from '2026-07-07 12:53:47'::timestamp) - extract(epoch from '2026-07-07 12:53:41'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.472503 -3.686616)', '2026-07-07 12:53:52', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472429 -3.686548)'), GeomFromEWKT('SRID=4674;POINT (-38.472503 -3.686616)'))) / (select extract(epoch from '2026-07-07 12:53:52'::timestamp) - extract(epoch from '2026-07-07 12:53:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472429 -3.686548)'), GeomFromEWKT('SRID=4674;POINT (-38.472503 -3.686616)'))) / (select extract(epoch from '2026-07-07 12:53:52'::timestamp) - extract(epoch from '2026-07-07 12:53:47'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.472595 -3.686683)', '2026-07-07 12:53:57', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472503 -3.686616)'), GeomFromEWKT('SRID=4674;POINT (-38.472595 -3.686683)'))) / (select extract(epoch from '2026-07-07 12:53:57'::timestamp) - extract(epoch from '2026-07-07 12:53:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472503 -3.686616)'), GeomFromEWKT('SRID=4674;POINT (-38.472595 -3.686683)'))) / (select extract(epoch from '2026-07-07 12:53:57'::timestamp) - extract(epoch from '2026-07-07 12:53:52'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.472711 -3.686753)', '2026-07-07 12:54:04', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472595 -3.686683)'), GeomFromEWKT('SRID=4674;POINT (-38.472711 -3.686753)'))) / (select extract(epoch from '2026-07-07 12:54:04'::timestamp) - extract(epoch from '2026-07-07 12:53:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472595 -3.686683)'), GeomFromEWKT('SRID=4674;POINT (-38.472711 -3.686753)'))) / (select extract(epoch from '2026-07-07 12:54:04'::timestamp) - extract(epoch from '2026-07-07 12:53:57'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.472795 -3.686818)', '2026-07-07 12:54:09', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472711 -3.686753)'), GeomFromEWKT('SRID=4674;POINT (-38.472795 -3.686818)'))) / (select extract(epoch from '2026-07-07 12:54:09'::timestamp) - extract(epoch from '2026-07-07 12:54:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472711 -3.686753)'), GeomFromEWKT('SRID=4674;POINT (-38.472795 -3.686818)'))) / (select extract(epoch from '2026-07-07 12:54:09'::timestamp) - extract(epoch from '2026-07-07 12:54:04'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.472876 -3.686883)', '2026-07-07 12:54:14', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472795 -3.686818)'), GeomFromEWKT('SRID=4674;POINT (-38.472876 -3.686883)'))) / (select extract(epoch from '2026-07-07 12:54:14'::timestamp) - extract(epoch from '2026-07-07 12:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472795 -3.686818)'), GeomFromEWKT('SRID=4674;POINT (-38.472876 -3.686883)'))) / (select extract(epoch from '2026-07-07 12:54:14'::timestamp) - extract(epoch from '2026-07-07 12:54:09'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.472974 -3.686972)', '2026-07-07 12:54:21', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472876 -3.686883)'), GeomFromEWKT('SRID=4674;POINT (-38.472974 -3.686972)'))) / (select extract(epoch from '2026-07-07 12:54:21'::timestamp) - extract(epoch from '2026-07-07 12:54:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472876 -3.686883)'), GeomFromEWKT('SRID=4674;POINT (-38.472974 -3.686972)'))) / (select extract(epoch from '2026-07-07 12:54:21'::timestamp) - extract(epoch from '2026-07-07 12:54:14'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.473073 -3.687051)', '2026-07-07 12:54:27', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472974 -3.686972)'), GeomFromEWKT('SRID=4674;POINT (-38.473073 -3.687051)'))) / (select extract(epoch from '2026-07-07 12:54:27'::timestamp) - extract(epoch from '2026-07-07 12:54:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472974 -3.686972)'), GeomFromEWKT('SRID=4674;POINT (-38.473073 -3.687051)'))) / (select extract(epoch from '2026-07-07 12:54:27'::timestamp) - extract(epoch from '2026-07-07 12:54:21'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.473199 -3.687126)', '2026-07-07 12:54:34', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473073 -3.687051)'), GeomFromEWKT('SRID=4674;POINT (-38.473199 -3.687126)'))) / (select extract(epoch from '2026-07-07 12:54:34'::timestamp) - extract(epoch from '2026-07-07 12:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473073 -3.687051)'), GeomFromEWKT('SRID=4674;POINT (-38.473199 -3.687126)'))) / (select extract(epoch from '2026-07-07 12:54:34'::timestamp) - extract(epoch from '2026-07-07 12:54:27'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.473332 -3.687201)', '2026-07-07 12:54:41', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473199 -3.687126)'), GeomFromEWKT('SRID=4674;POINT (-38.473332 -3.687201)'))) / (select extract(epoch from '2026-07-07 12:54:41'::timestamp) - extract(epoch from '2026-07-07 12:54:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473199 -3.687126)'), GeomFromEWKT('SRID=4674;POINT (-38.473332 -3.687201)'))) / (select extract(epoch from '2026-07-07 12:54:41'::timestamp) - extract(epoch from '2026-07-07 12:54:34'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.47343 -3.687266)', '2026-07-07 12:54:46', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473332 -3.687201)'), GeomFromEWKT('SRID=4674;POINT (-38.47343 -3.687266)'))) / (select extract(epoch from '2026-07-07 12:54:46'::timestamp) - extract(epoch from '2026-07-07 12:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473332 -3.687201)'), GeomFromEWKT('SRID=4674;POINT (-38.47343 -3.687266)'))) / (select extract(epoch from '2026-07-07 12:54:46'::timestamp) - extract(epoch from '2026-07-07 12:54:41'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.473533 -3.687327)', '2026-07-07 12:54:52', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47343 -3.687266)'), GeomFromEWKT('SRID=4674;POINT (-38.473533 -3.687327)'))) / (select extract(epoch from '2026-07-07 12:54:52'::timestamp) - extract(epoch from '2026-07-07 12:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47343 -3.687266)'), GeomFromEWKT('SRID=4674;POINT (-38.473533 -3.687327)'))) / (select extract(epoch from '2026-07-07 12:54:52'::timestamp) - extract(epoch from '2026-07-07 12:54:46'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.47368 -3.687423)', '2026-07-07 12:55:00', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473533 -3.687327)'), GeomFromEWKT('SRID=4674;POINT (-38.47368 -3.687423)'))) / (select extract(epoch from '2026-07-07 12:55:00'::timestamp) - extract(epoch from '2026-07-07 12:54:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473533 -3.687327)'), GeomFromEWKT('SRID=4674;POINT (-38.47368 -3.687423)'))) / (select extract(epoch from '2026-07-07 12:55:00'::timestamp) - extract(epoch from '2026-07-07 12:54:52'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.473788 -3.687497)', '2026-07-07 12:55:06', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47368 -3.687423)'), GeomFromEWKT('SRID=4674;POINT (-38.473788 -3.687497)'))) / (select extract(epoch from '2026-07-07 12:55:06'::timestamp) - extract(epoch from '2026-07-07 12:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47368 -3.687423)'), GeomFromEWKT('SRID=4674;POINT (-38.473788 -3.687497)'))) / (select extract(epoch from '2026-07-07 12:55:06'::timestamp) - extract(epoch from '2026-07-07 12:55:00'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.473895 -3.687571)', '2026-07-07 12:55:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473788 -3.687497)'), GeomFromEWKT('SRID=4674;POINT (-38.473895 -3.687571)'))) / (select extract(epoch from '2026-07-07 12:55:12'::timestamp) - extract(epoch from '2026-07-07 12:55:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473788 -3.687497)'), GeomFromEWKT('SRID=4674;POINT (-38.473895 -3.687571)'))) / (select extract(epoch from '2026-07-07 12:55:12'::timestamp) - extract(epoch from '2026-07-07 12:55:06'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.473999 -3.687645)', '2026-07-07 12:55:18', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473895 -3.687571)'), GeomFromEWKT('SRID=4674;POINT (-38.473999 -3.687645)'))) / (select extract(epoch from '2026-07-07 12:55:18'::timestamp) - extract(epoch from '2026-07-07 12:55:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473895 -3.687571)'), GeomFromEWKT('SRID=4674;POINT (-38.473999 -3.687645)'))) / (select extract(epoch from '2026-07-07 12:55:18'::timestamp) - extract(epoch from '2026-07-07 12:55:12'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.474105 -3.687721)', '2026-07-07 12:55:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473999 -3.687645)'), GeomFromEWKT('SRID=4674;POINT (-38.474105 -3.687721)'))) / (select extract(epoch from '2026-07-07 12:55:24'::timestamp) - extract(epoch from '2026-07-07 12:55:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473999 -3.687645)'), GeomFromEWKT('SRID=4674;POINT (-38.474105 -3.687721)'))) / (select extract(epoch from '2026-07-07 12:55:24'::timestamp) - extract(epoch from '2026-07-07 12:55:18'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.474189 -3.687788)', '2026-07-07 12:55:29', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474105 -3.687721)'), GeomFromEWKT('SRID=4674;POINT (-38.474189 -3.687788)'))) / (select extract(epoch from '2026-07-07 12:55:29'::timestamp) - extract(epoch from '2026-07-07 12:55:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474105 -3.687721)'), GeomFromEWKT('SRID=4674;POINT (-38.474189 -3.687788)'))) / (select extract(epoch from '2026-07-07 12:55:29'::timestamp) - extract(epoch from '2026-07-07 12:55:24'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.474273 -3.687848)', '2026-07-07 12:55:34', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474189 -3.687788)'), GeomFromEWKT('SRID=4674;POINT (-38.474273 -3.687848)'))) / (select extract(epoch from '2026-07-07 12:55:34'::timestamp) - extract(epoch from '2026-07-07 12:55:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474189 -3.687788)'), GeomFromEWKT('SRID=4674;POINT (-38.474273 -3.687848)'))) / (select extract(epoch from '2026-07-07 12:55:34'::timestamp) - extract(epoch from '2026-07-07 12:55:29'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.474395 -3.687936)', '2026-07-07 12:55:40', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474273 -3.687848)'), GeomFromEWKT('SRID=4674;POINT (-38.474395 -3.687936)'))) / (select extract(epoch from '2026-07-07 12:55:40'::timestamp) - extract(epoch from '2026-07-07 12:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474273 -3.687848)'), GeomFromEWKT('SRID=4674;POINT (-38.474395 -3.687936)'))) / (select extract(epoch from '2026-07-07 12:55:40'::timestamp) - extract(epoch from '2026-07-07 12:55:34'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.474483 -3.688007)', '2026-07-07 12:55:45', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474395 -3.687936)'), GeomFromEWKT('SRID=4674;POINT (-38.474483 -3.688007)'))) / (select extract(epoch from '2026-07-07 12:55:45'::timestamp) - extract(epoch from '2026-07-07 12:55:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474395 -3.687936)'), GeomFromEWKT('SRID=4674;POINT (-38.474483 -3.688007)'))) / (select extract(epoch from '2026-07-07 12:55:45'::timestamp) - extract(epoch from '2026-07-07 12:55:40'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.474597 -3.688123)', '2026-07-07 12:55:52', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474483 -3.688007)'), GeomFromEWKT('SRID=4674;POINT (-38.474597 -3.688123)'))) / (select extract(epoch from '2026-07-07 12:55:52'::timestamp) - extract(epoch from '2026-07-07 12:55:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474483 -3.688007)'), GeomFromEWKT('SRID=4674;POINT (-38.474597 -3.688123)'))) / (select extract(epoch from '2026-07-07 12:55:52'::timestamp) - extract(epoch from '2026-07-07 12:55:45'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.474701 -3.688204)', '2026-07-07 12:55:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474597 -3.688123)'), GeomFromEWKT('SRID=4674;POINT (-38.474701 -3.688204)'))) / (select extract(epoch from '2026-07-07 12:55:58'::timestamp) - extract(epoch from '2026-07-07 12:55:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474597 -3.688123)'), GeomFromEWKT('SRID=4674;POINT (-38.474701 -3.688204)'))) / (select extract(epoch from '2026-07-07 12:55:58'::timestamp) - extract(epoch from '2026-07-07 12:55:52'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.474843 -3.688291)', '2026-07-07 12:56:05', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474701 -3.688204)'), GeomFromEWKT('SRID=4674;POINT (-38.474843 -3.688291)'))) / (select extract(epoch from '2026-07-07 12:56:05'::timestamp) - extract(epoch from '2026-07-07 12:55:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474701 -3.688204)'), GeomFromEWKT('SRID=4674;POINT (-38.474843 -3.688291)'))) / (select extract(epoch from '2026-07-07 12:56:05'::timestamp) - extract(epoch from '2026-07-07 12:55:58'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.474959 -3.688378)', '2026-07-07 12:56:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474843 -3.688291)'), GeomFromEWKT('SRID=4674;POINT (-38.474959 -3.688378)'))) / (select extract(epoch from '2026-07-07 12:56:12'::timestamp) - extract(epoch from '2026-07-07 12:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474843 -3.688291)'), GeomFromEWKT('SRID=4674;POINT (-38.474959 -3.688378)'))) / (select extract(epoch from '2026-07-07 12:56:12'::timestamp) - extract(epoch from '2026-07-07 12:56:05'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.475098 -3.688475)', '2026-07-07 12:56:20', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474959 -3.688378)'), GeomFromEWKT('SRID=4674;POINT (-38.475098 -3.688475)'))) / (select extract(epoch from '2026-07-07 12:56:20'::timestamp) - extract(epoch from '2026-07-07 12:56:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474959 -3.688378)'), GeomFromEWKT('SRID=4674;POINT (-38.475098 -3.688475)'))) / (select extract(epoch from '2026-07-07 12:56:20'::timestamp) - extract(epoch from '2026-07-07 12:56:12'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.475178 -3.688545)', '2026-07-07 12:56:25', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475098 -3.688475)'), GeomFromEWKT('SRID=4674;POINT (-38.475178 -3.688545)'))) / (select extract(epoch from '2026-07-07 12:56:25'::timestamp) - extract(epoch from '2026-07-07 12:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475098 -3.688475)'), GeomFromEWKT('SRID=4674;POINT (-38.475178 -3.688545)'))) / (select extract(epoch from '2026-07-07 12:56:25'::timestamp) - extract(epoch from '2026-07-07 12:56:20'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.475306 -3.688662)', '2026-07-07 12:56:33', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475178 -3.688545)'), GeomFromEWKT('SRID=4674;POINT (-38.475306 -3.688662)'))) / (select extract(epoch from '2026-07-07 12:56:33'::timestamp) - extract(epoch from '2026-07-07 12:56:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475178 -3.688545)'), GeomFromEWKT('SRID=4674;POINT (-38.475306 -3.688662)'))) / (select extract(epoch from '2026-07-07 12:56:33'::timestamp) - extract(epoch from '2026-07-07 12:56:25'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.475452 -3.688761)', '2026-07-07 12:56:41', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475306 -3.688662)'), GeomFromEWKT('SRID=4674;POINT (-38.475452 -3.688761)'))) / (select extract(epoch from '2026-07-07 12:56:41'::timestamp) - extract(epoch from '2026-07-07 12:56:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475306 -3.688662)'), GeomFromEWKT('SRID=4674;POINT (-38.475452 -3.688761)'))) / (select extract(epoch from '2026-07-07 12:56:41'::timestamp) - extract(epoch from '2026-07-07 12:56:33'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.47555 -3.688835)', '2026-07-07 12:56:47', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475452 -3.688761)'), GeomFromEWKT('SRID=4674;POINT (-38.47555 -3.688835)'))) / (select extract(epoch from '2026-07-07 12:56:47'::timestamp) - extract(epoch from '2026-07-07 12:56:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475452 -3.688761)'), GeomFromEWKT('SRID=4674;POINT (-38.47555 -3.688835)'))) / (select extract(epoch from '2026-07-07 12:56:47'::timestamp) - extract(epoch from '2026-07-07 12:56:41'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.475641 -3.68891)', '2026-07-07 12:56:52', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47555 -3.688835)'), GeomFromEWKT('SRID=4674;POINT (-38.475641 -3.68891)'))) / (select extract(epoch from '2026-07-07 12:56:52'::timestamp) - extract(epoch from '2026-07-07 12:56:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47555 -3.688835)'), GeomFromEWKT('SRID=4674;POINT (-38.475641 -3.68891)'))) / (select extract(epoch from '2026-07-07 12:56:52'::timestamp) - extract(epoch from '2026-07-07 12:56:47'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.475735 -3.688993)', '2026-07-07 12:56:58', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475641 -3.68891)'), GeomFromEWKT('SRID=4674;POINT (-38.475735 -3.688993)'))) / (select extract(epoch from '2026-07-07 12:56:58'::timestamp) - extract(epoch from '2026-07-07 12:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475641 -3.68891)'), GeomFromEWKT('SRID=4674;POINT (-38.475735 -3.688993)'))) / (select extract(epoch from '2026-07-07 12:56:58'::timestamp) - extract(epoch from '2026-07-07 12:56:52'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.47582 -3.689086)', '2026-07-07 12:57:04', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475735 -3.688993)'), GeomFromEWKT('SRID=4674;POINT (-38.47582 -3.689086)'))) / (select extract(epoch from '2026-07-07 12:57:04'::timestamp) - extract(epoch from '2026-07-07 12:56:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475735 -3.688993)'), GeomFromEWKT('SRID=4674;POINT (-38.47582 -3.689086)'))) / (select extract(epoch from '2026-07-07 12:57:04'::timestamp) - extract(epoch from '2026-07-07 12:56:58'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.475916 -3.689174)', '2026-07-07 12:57:10', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47582 -3.689086)'), GeomFromEWKT('SRID=4674;POINT (-38.475916 -3.689174)'))) / (select extract(epoch from '2026-07-07 12:57:10'::timestamp) - extract(epoch from '2026-07-07 12:57:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47582 -3.689086)'), GeomFromEWKT('SRID=4674;POINT (-38.475916 -3.689174)'))) / (select extract(epoch from '2026-07-07 12:57:10'::timestamp) - extract(epoch from '2026-07-07 12:57:04'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.476034 -3.68927)', '2026-07-07 12:57:17', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475916 -3.689174)'), GeomFromEWKT('SRID=4674;POINT (-38.476034 -3.68927)'))) / (select extract(epoch from '2026-07-07 12:57:17'::timestamp) - extract(epoch from '2026-07-07 12:57:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475916 -3.689174)'), GeomFromEWKT('SRID=4674;POINT (-38.476034 -3.68927)'))) / (select extract(epoch from '2026-07-07 12:57:17'::timestamp) - extract(epoch from '2026-07-07 12:57:10'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.476138 -3.689397)', '2026-07-07 12:57:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476034 -3.68927)'), GeomFromEWKT('SRID=4674;POINT (-38.476138 -3.689397)'))) / (select extract(epoch from '2026-07-07 12:57:25'::timestamp) - extract(epoch from '2026-07-07 12:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476034 -3.68927)'), GeomFromEWKT('SRID=4674;POINT (-38.476138 -3.689397)'))) / (select extract(epoch from '2026-07-07 12:57:25'::timestamp) - extract(epoch from '2026-07-07 12:57:17'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.476227 -3.689501)', '2026-07-07 12:57:32', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476138 -3.689397)'), GeomFromEWKT('SRID=4674;POINT (-38.476227 -3.689501)'))) / (select extract(epoch from '2026-07-07 12:57:32'::timestamp) - extract(epoch from '2026-07-07 12:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476138 -3.689397)'), GeomFromEWKT('SRID=4674;POINT (-38.476227 -3.689501)'))) / (select extract(epoch from '2026-07-07 12:57:32'::timestamp) - extract(epoch from '2026-07-07 12:57:25'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.47633 -3.689603)', '2026-07-07 12:57:39', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476227 -3.689501)'), GeomFromEWKT('SRID=4674;POINT (-38.47633 -3.689603)'))) / (select extract(epoch from '2026-07-07 12:57:39'::timestamp) - extract(epoch from '2026-07-07 12:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476227 -3.689501)'), GeomFromEWKT('SRID=4674;POINT (-38.47633 -3.689603)'))) / (select extract(epoch from '2026-07-07 12:57:39'::timestamp) - extract(epoch from '2026-07-07 12:57:32'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.476402 -3.689673)', '2026-07-07 12:57:44', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47633 -3.689603)'), GeomFromEWKT('SRID=4674;POINT (-38.476402 -3.689673)'))) / (select extract(epoch from '2026-07-07 12:57:44'::timestamp) - extract(epoch from '2026-07-07 12:57:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47633 -3.689603)'), GeomFromEWKT('SRID=4674;POINT (-38.476402 -3.689673)'))) / (select extract(epoch from '2026-07-07 12:57:44'::timestamp) - extract(epoch from '2026-07-07 12:57:39'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.476468 -3.68977)', '2026-07-07 12:57:50', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476402 -3.689673)'), GeomFromEWKT('SRID=4674;POINT (-38.476468 -3.68977)'))) / (select extract(epoch from '2026-07-07 12:57:50'::timestamp) - extract(epoch from '2026-07-07 12:57:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476402 -3.689673)'), GeomFromEWKT('SRID=4674;POINT (-38.476468 -3.68977)'))) / (select extract(epoch from '2026-07-07 12:57:50'::timestamp) - extract(epoch from '2026-07-07 12:57:44'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.476504 -3.689819)', '2026-07-07 12:57:53', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476468 -3.68977)'), GeomFromEWKT('SRID=4674;POINT (-38.476504 -3.689819)'))) / (select extract(epoch from '2026-07-07 12:57:53'::timestamp) - extract(epoch from '2026-07-07 12:57:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476468 -3.68977)'), GeomFromEWKT('SRID=4674;POINT (-38.476504 -3.689819)'))) / (select extract(epoch from '2026-07-07 12:57:53'::timestamp) - extract(epoch from '2026-07-07 12:57:50'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.47653 -3.689871)', '2026-07-07 12:57:56', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476504 -3.689819)'), GeomFromEWKT('SRID=4674;POINT (-38.47653 -3.689871)'))) / (select extract(epoch from '2026-07-07 12:57:56'::timestamp) - extract(epoch from '2026-07-07 12:57:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476504 -3.689819)'), GeomFromEWKT('SRID=4674;POINT (-38.47653 -3.689871)'))) / (select extract(epoch from '2026-07-07 12:57:56'::timestamp) - extract(epoch from '2026-07-07 12:57:53'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.476559 -3.689964)', '2026-07-07 12:58:02', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47653 -3.689871)'), GeomFromEWKT('SRID=4674;POINT (-38.476559 -3.689964)'))) / (select extract(epoch from '2026-07-07 12:58:02'::timestamp) - extract(epoch from '2026-07-07 12:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47653 -3.689871)'), GeomFromEWKT('SRID=4674;POINT (-38.476559 -3.689964)'))) / (select extract(epoch from '2026-07-07 12:58:02'::timestamp) - extract(epoch from '2026-07-07 12:57:56'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.476559 -3.68998)', '2026-07-07 12:58:03', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476559 -3.689964)'), GeomFromEWKT('SRID=4674;POINT (-38.476559 -3.68998)'))) / (select extract(epoch from '2026-07-07 12:58:03'::timestamp) - extract(epoch from '2026-07-07 12:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476559 -3.689964)'), GeomFromEWKT('SRID=4674;POINT (-38.476559 -3.68998)'))) / (select extract(epoch from '2026-07-07 12:58:03'::timestamp) - extract(epoch from '2026-07-07 12:58:02'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.476562 -3.690046)', '2026-07-07 12:58:07', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476559 -3.68998)'), GeomFromEWKT('SRID=4674;POINT (-38.476562 -3.690046)'))) / (select extract(epoch from '2026-07-07 12:58:07'::timestamp) - extract(epoch from '2026-07-07 12:58:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476559 -3.68998)'), GeomFromEWKT('SRID=4674;POINT (-38.476562 -3.690046)'))) / (select extract(epoch from '2026-07-07 12:58:07'::timestamp) - extract(epoch from '2026-07-07 12:58:03'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.476611 -3.690164)', '2026-07-07 12:58:14', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476562 -3.690046)'), GeomFromEWKT('SRID=4674;POINT (-38.476611 -3.690164)'))) / (select extract(epoch from '2026-07-07 12:58:14'::timestamp) - extract(epoch from '2026-07-07 12:58:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476562 -3.690046)'), GeomFromEWKT('SRID=4674;POINT (-38.476611 -3.690164)'))) / (select extract(epoch from '2026-07-07 12:58:14'::timestamp) - extract(epoch from '2026-07-07 12:58:07'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.476659 -3.690225)', '2026-07-07 12:58:18', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476611 -3.690164)'), GeomFromEWKT('SRID=4674;POINT (-38.476659 -3.690225)'))) / (select extract(epoch from '2026-07-07 12:58:18'::timestamp) - extract(epoch from '2026-07-07 12:58:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476611 -3.690164)'), GeomFromEWKT('SRID=4674;POINT (-38.476659 -3.690225)'))) / (select extract(epoch from '2026-07-07 12:58:18'::timestamp) - extract(epoch from '2026-07-07 12:58:14'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.476734 -3.690312)', '2026-07-07 12:58:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476659 -3.690225)'), GeomFromEWKT('SRID=4674;POINT (-38.476734 -3.690312)'))) / (select extract(epoch from '2026-07-07 12:58:24'::timestamp) - extract(epoch from '2026-07-07 12:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476659 -3.690225)'), GeomFromEWKT('SRID=4674;POINT (-38.476734 -3.690312)'))) / (select extract(epoch from '2026-07-07 12:58:24'::timestamp) - extract(epoch from '2026-07-07 12:58:18'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.476807 -3.690389)', '2026-07-07 12:58:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476734 -3.690312)'), GeomFromEWKT('SRID=4674;POINT (-38.476807 -3.690389)'))) / (select extract(epoch from '2026-07-07 12:58:29'::timestamp) - extract(epoch from '2026-07-07 12:58:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476734 -3.690312)'), GeomFromEWKT('SRID=4674;POINT (-38.476807 -3.690389)'))) / (select extract(epoch from '2026-07-07 12:58:29'::timestamp) - extract(epoch from '2026-07-07 12:58:24'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.476881 -3.690476)', '2026-07-07 12:58:34', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476807 -3.690389)'), GeomFromEWKT('SRID=4674;POINT (-38.476881 -3.690476)'))) / (select extract(epoch from '2026-07-07 12:58:34'::timestamp) - extract(epoch from '2026-07-07 12:58:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476807 -3.690389)'), GeomFromEWKT('SRID=4674;POINT (-38.476881 -3.690476)'))) / (select extract(epoch from '2026-07-07 12:58:34'::timestamp) - extract(epoch from '2026-07-07 12:58:29'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.476961 -3.690583)', '2026-07-07 12:58:40', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476881 -3.690476)'), GeomFromEWKT('SRID=4674;POINT (-38.476961 -3.690583)'))) / (select extract(epoch from '2026-07-07 12:58:40'::timestamp) - extract(epoch from '2026-07-07 12:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476881 -3.690476)'), GeomFromEWKT('SRID=4674;POINT (-38.476961 -3.690583)'))) / (select extract(epoch from '2026-07-07 12:58:40'::timestamp) - extract(epoch from '2026-07-07 12:58:34'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.477052 -3.690676)', '2026-07-07 12:58:45', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476961 -3.690583)'), GeomFromEWKT('SRID=4674;POINT (-38.477052 -3.690676)'))) / (select extract(epoch from '2026-07-07 12:58:45'::timestamp) - extract(epoch from '2026-07-07 12:58:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476961 -3.690583)'), GeomFromEWKT('SRID=4674;POINT (-38.477052 -3.690676)'))) / (select extract(epoch from '2026-07-07 12:58:45'::timestamp) - extract(epoch from '2026-07-07 12:58:40'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.477149 -3.690786)', '2026-07-07 12:58:51', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477052 -3.690676)'), GeomFromEWKT('SRID=4674;POINT (-38.477149 -3.690786)'))) / (select extract(epoch from '2026-07-07 12:58:51'::timestamp) - extract(epoch from '2026-07-07 12:58:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477052 -3.690676)'), GeomFromEWKT('SRID=4674;POINT (-38.477149 -3.690786)'))) / (select extract(epoch from '2026-07-07 12:58:51'::timestamp) - extract(epoch from '2026-07-07 12:58:45'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.477258 -3.690928)', '2026-07-07 12:58:59', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477149 -3.690786)'), GeomFromEWKT('SRID=4674;POINT (-38.477258 -3.690928)'))) / (select extract(epoch from '2026-07-07 12:58:59'::timestamp) - extract(epoch from '2026-07-07 12:58:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477149 -3.690786)'), GeomFromEWKT('SRID=4674;POINT (-38.477258 -3.690928)'))) / (select extract(epoch from '2026-07-07 12:58:59'::timestamp) - extract(epoch from '2026-07-07 12:58:51'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.477345 -3.691029)', '2026-07-07 12:59:04', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477258 -3.690928)'), GeomFromEWKT('SRID=4674;POINT (-38.477345 -3.691029)'))) / (select extract(epoch from '2026-07-07 12:59:04'::timestamp) - extract(epoch from '2026-07-07 12:58:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477258 -3.690928)'), GeomFromEWKT('SRID=4674;POINT (-38.477345 -3.691029)'))) / (select extract(epoch from '2026-07-07 12:59:04'::timestamp) - extract(epoch from '2026-07-07 12:58:59'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.477446 -3.691137)', '2026-07-07 12:59:10', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477345 -3.691029)'), GeomFromEWKT('SRID=4674;POINT (-38.477446 -3.691137)'))) / (select extract(epoch from '2026-07-07 12:59:10'::timestamp) - extract(epoch from '2026-07-07 12:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477345 -3.691029)'), GeomFromEWKT('SRID=4674;POINT (-38.477446 -3.691137)'))) / (select extract(epoch from '2026-07-07 12:59:10'::timestamp) - extract(epoch from '2026-07-07 12:59:04'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.477541 -3.691247)', '2026-07-07 12:59:16', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477446 -3.691137)'), GeomFromEWKT('SRID=4674;POINT (-38.477541 -3.691247)'))) / (select extract(epoch from '2026-07-07 12:59:16'::timestamp) - extract(epoch from '2026-07-07 12:59:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477446 -3.691137)'), GeomFromEWKT('SRID=4674;POINT (-38.477541 -3.691247)'))) / (select extract(epoch from '2026-07-07 12:59:16'::timestamp) - extract(epoch from '2026-07-07 12:59:10'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.477589 -3.691312)', '2026-07-07 12:59:20', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477541 -3.691247)'), GeomFromEWKT('SRID=4674;POINT (-38.477589 -3.691312)'))) / (select extract(epoch from '2026-07-07 12:59:20'::timestamp) - extract(epoch from '2026-07-07 12:59:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477541 -3.691247)'), GeomFromEWKT('SRID=4674;POINT (-38.477589 -3.691312)'))) / (select extract(epoch from '2026-07-07 12:59:20'::timestamp) - extract(epoch from '2026-07-07 12:59:16'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.477673 -3.691407)', '2026-07-07 12:59:25', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477589 -3.691312)'), GeomFromEWKT('SRID=4674;POINT (-38.477673 -3.691407)'))) / (select extract(epoch from '2026-07-07 12:59:25'::timestamp) - extract(epoch from '2026-07-07 12:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477589 -3.691312)'), GeomFromEWKT('SRID=4674;POINT (-38.477673 -3.691407)'))) / (select extract(epoch from '2026-07-07 12:59:25'::timestamp) - extract(epoch from '2026-07-07 12:59:20'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.477761 -3.691515)', '2026-07-07 12:59:31', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477673 -3.691407)'), GeomFromEWKT('SRID=4674;POINT (-38.477761 -3.691515)'))) / (select extract(epoch from '2026-07-07 12:59:31'::timestamp) - extract(epoch from '2026-07-07 12:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477673 -3.691407)'), GeomFromEWKT('SRID=4674;POINT (-38.477761 -3.691515)'))) / (select extract(epoch from '2026-07-07 12:59:31'::timestamp) - extract(epoch from '2026-07-07 12:59:25'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.47788 -3.691667)', '2026-07-07 12:59:39', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477761 -3.691515)'), GeomFromEWKT('SRID=4674;POINT (-38.47788 -3.691667)'))) / (select extract(epoch from '2026-07-07 12:59:39'::timestamp) - extract(epoch from '2026-07-07 12:59:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477761 -3.691515)'), GeomFromEWKT('SRID=4674;POINT (-38.47788 -3.691667)'))) / (select extract(epoch from '2026-07-07 12:59:39'::timestamp) - extract(epoch from '2026-07-07 12:59:31'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.478003 -3.691816)', '2026-07-07 12:59:47', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47788 -3.691667)'), GeomFromEWKT('SRID=4674;POINT (-38.478003 -3.691816)'))) / (select extract(epoch from '2026-07-07 12:59:47'::timestamp) - extract(epoch from '2026-07-07 12:59:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47788 -3.691667)'), GeomFromEWKT('SRID=4674;POINT (-38.478003 -3.691816)'))) / (select extract(epoch from '2026-07-07 12:59:47'::timestamp) - extract(epoch from '2026-07-07 12:59:39'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.478017 -3.691832)', '2026-07-07 12:59:48', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478003 -3.691816)'), GeomFromEWKT('SRID=4674;POINT (-38.478017 -3.691832)'))) / (select extract(epoch from '2026-07-07 12:59:48'::timestamp) - extract(epoch from '2026-07-07 12:59:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478003 -3.691816)'), GeomFromEWKT('SRID=4674;POINT (-38.478017 -3.691832)'))) / (select extract(epoch from '2026-07-07 12:59:48'::timestamp) - extract(epoch from '2026-07-07 12:59:47'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.478126 -3.691966)', '2026-07-07 12:59:55', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478017 -3.691832)'), GeomFromEWKT('SRID=4674;POINT (-38.478126 -3.691966)'))) / (select extract(epoch from '2026-07-07 12:59:55'::timestamp) - extract(epoch from '2026-07-07 12:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478017 -3.691832)'), GeomFromEWKT('SRID=4674;POINT (-38.478126 -3.691966)'))) / (select extract(epoch from '2026-07-07 12:59:55'::timestamp) - extract(epoch from '2026-07-07 12:59:48'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.478238 -3.692118)', '2026-07-07 13:00:03', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478126 -3.691966)'), GeomFromEWKT('SRID=4674;POINT (-38.478238 -3.692118)'))) / (select extract(epoch from '2026-07-07 13:00:03'::timestamp) - extract(epoch from '2026-07-07 12:59:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478126 -3.691966)'), GeomFromEWKT('SRID=4674;POINT (-38.478238 -3.692118)'))) / (select extract(epoch from '2026-07-07 13:00:03'::timestamp) - extract(epoch from '2026-07-07 12:59:55'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.478343 -3.692251)', '2026-07-07 13:00:10', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478238 -3.692118)'), GeomFromEWKT('SRID=4674;POINT (-38.478343 -3.692251)'))) / (select extract(epoch from '2026-07-07 13:00:10'::timestamp) - extract(epoch from '2026-07-07 13:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478238 -3.692118)'), GeomFromEWKT('SRID=4674;POINT (-38.478343 -3.692251)'))) / (select extract(epoch from '2026-07-07 13:00:10'::timestamp) - extract(epoch from '2026-07-07 13:00:03'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.478427 -3.69238)', '2026-07-07 13:00:16', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478343 -3.692251)'), GeomFromEWKT('SRID=4674;POINT (-38.478427 -3.69238)'))) / (select extract(epoch from '2026-07-07 13:00:16'::timestamp) - extract(epoch from '2026-07-07 13:00:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478343 -3.692251)'), GeomFromEWKT('SRID=4674;POINT (-38.478427 -3.69238)'))) / (select extract(epoch from '2026-07-07 13:00:16'::timestamp) - extract(epoch from '2026-07-07 13:00:10'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.478503 -3.692512)', '2026-07-07 13:00:23', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478427 -3.69238)'), GeomFromEWKT('SRID=4674;POINT (-38.478503 -3.692512)'))) / (select extract(epoch from '2026-07-07 13:00:23'::timestamp) - extract(epoch from '2026-07-07 13:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478427 -3.69238)'), GeomFromEWKT('SRID=4674;POINT (-38.478503 -3.692512)'))) / (select extract(epoch from '2026-07-07 13:00:23'::timestamp) - extract(epoch from '2026-07-07 13:00:16'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.478597 -3.692645)', '2026-07-07 13:00:30', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478503 -3.692512)'), GeomFromEWKT('SRID=4674;POINT (-38.478597 -3.692645)'))) / (select extract(epoch from '2026-07-07 13:00:30'::timestamp) - extract(epoch from '2026-07-07 13:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478503 -3.692512)'), GeomFromEWKT('SRID=4674;POINT (-38.478597 -3.692645)'))) / (select extract(epoch from '2026-07-07 13:00:30'::timestamp) - extract(epoch from '2026-07-07 13:00:23'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.47868 -3.692744)', '2026-07-07 13:00:35', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478597 -3.692645)'), GeomFromEWKT('SRID=4674;POINT (-38.47868 -3.692744)'))) / (select extract(epoch from '2026-07-07 13:00:35'::timestamp) - extract(epoch from '2026-07-07 13:00:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478597 -3.692645)'), GeomFromEWKT('SRID=4674;POINT (-38.47868 -3.692744)'))) / (select extract(epoch from '2026-07-07 13:00:35'::timestamp) - extract(epoch from '2026-07-07 13:00:30'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.478774 -3.692874)', '2026-07-07 13:00:42', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47868 -3.692744)'), GeomFromEWKT('SRID=4674;POINT (-38.478774 -3.692874)'))) / (select extract(epoch from '2026-07-07 13:00:42'::timestamp) - extract(epoch from '2026-07-07 13:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47868 -3.692744)'), GeomFromEWKT('SRID=4674;POINT (-38.478774 -3.692874)'))) / (select extract(epoch from '2026-07-07 13:00:42'::timestamp) - extract(epoch from '2026-07-07 13:00:35'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.478854 -3.692974)', '2026-07-07 13:00:47', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478774 -3.692874)'), GeomFromEWKT('SRID=4674;POINT (-38.478854 -3.692974)'))) / (select extract(epoch from '2026-07-07 13:00:47'::timestamp) - extract(epoch from '2026-07-07 13:00:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478774 -3.692874)'), GeomFromEWKT('SRID=4674;POINT (-38.478854 -3.692974)'))) / (select extract(epoch from '2026-07-07 13:00:47'::timestamp) - extract(epoch from '2026-07-07 13:00:42'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.478949 -3.693089)', '2026-07-07 13:00:53', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478854 -3.692974)'), GeomFromEWKT('SRID=4674;POINT (-38.478949 -3.693089)'))) / (select extract(epoch from '2026-07-07 13:00:53'::timestamp) - extract(epoch from '2026-07-07 13:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478854 -3.692974)'), GeomFromEWKT('SRID=4674;POINT (-38.478949 -3.693089)'))) / (select extract(epoch from '2026-07-07 13:00:53'::timestamp) - extract(epoch from '2026-07-07 13:00:47'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.479009 -3.693176)', '2026-07-07 13:00:58', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478949 -3.693089)'), GeomFromEWKT('SRID=4674;POINT (-38.479009 -3.693176)'))) / (select extract(epoch from '2026-07-07 13:00:58'::timestamp) - extract(epoch from '2026-07-07 13:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478949 -3.693089)'), GeomFromEWKT('SRID=4674;POINT (-38.479009 -3.693176)'))) / (select extract(epoch from '2026-07-07 13:00:58'::timestamp) - extract(epoch from '2026-07-07 13:00:53'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.479105 -3.693317)', '2026-07-07 13:01:05', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479009 -3.693176)'), GeomFromEWKT('SRID=4674;POINT (-38.479105 -3.693317)'))) / (select extract(epoch from '2026-07-07 13:01:05'::timestamp) - extract(epoch from '2026-07-07 13:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479009 -3.693176)'), GeomFromEWKT('SRID=4674;POINT (-38.479105 -3.693317)'))) / (select extract(epoch from '2026-07-07 13:01:05'::timestamp) - extract(epoch from '2026-07-07 13:00:58'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.479201 -3.693444)', '2026-07-07 13:01:12', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479105 -3.693317)'), GeomFromEWKT('SRID=4674;POINT (-38.479201 -3.693444)'))) / (select extract(epoch from '2026-07-07 13:01:12'::timestamp) - extract(epoch from '2026-07-07 13:01:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479105 -3.693317)'), GeomFromEWKT('SRID=4674;POINT (-38.479201 -3.693444)'))) / (select extract(epoch from '2026-07-07 13:01:12'::timestamp) - extract(epoch from '2026-07-07 13:01:05'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.479304 -3.693604)', '2026-07-07 13:01:20', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479201 -3.693444)'), GeomFromEWKT('SRID=4674;POINT (-38.479304 -3.693604)'))) / (select extract(epoch from '2026-07-07 13:01:20'::timestamp) - extract(epoch from '2026-07-07 13:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479201 -3.693444)'), GeomFromEWKT('SRID=4674;POINT (-38.479304 -3.693604)'))) / (select extract(epoch from '2026-07-07 13:01:20'::timestamp) - extract(epoch from '2026-07-07 13:01:12'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.479394 -3.693736)', '2026-07-07 13:01:27', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479304 -3.693604)'), GeomFromEWKT('SRID=4674;POINT (-38.479394 -3.693736)'))) / (select extract(epoch from '2026-07-07 13:01:27'::timestamp) - extract(epoch from '2026-07-07 13:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479304 -3.693604)'), GeomFromEWKT('SRID=4674;POINT (-38.479394 -3.693736)'))) / (select extract(epoch from '2026-07-07 13:01:27'::timestamp) - extract(epoch from '2026-07-07 13:01:20'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.479484 -3.693862)', '2026-07-07 13:01:33', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479394 -3.693736)'), GeomFromEWKT('SRID=4674;POINT (-38.479484 -3.693862)'))) / (select extract(epoch from '2026-07-07 13:01:33'::timestamp) - extract(epoch from '2026-07-07 13:01:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479394 -3.693736)'), GeomFromEWKT('SRID=4674;POINT (-38.479484 -3.693862)'))) / (select extract(epoch from '2026-07-07 13:01:33'::timestamp) - extract(epoch from '2026-07-07 13:01:27'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.479577 -3.693995)', '2026-07-07 13:01:40', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479484 -3.693862)'), GeomFromEWKT('SRID=4674;POINT (-38.479577 -3.693995)'))) / (select extract(epoch from '2026-07-07 13:01:40'::timestamp) - extract(epoch from '2026-07-07 13:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479484 -3.693862)'), GeomFromEWKT('SRID=4674;POINT (-38.479577 -3.693995)'))) / (select extract(epoch from '2026-07-07 13:01:40'::timestamp) - extract(epoch from '2026-07-07 13:01:33'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.479653 -3.694112)', '2026-07-07 13:01:46', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479577 -3.693995)'), GeomFromEWKT('SRID=4674;POINT (-38.479653 -3.694112)'))) / (select extract(epoch from '2026-07-07 13:01:46'::timestamp) - extract(epoch from '2026-07-07 13:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479577 -3.693995)'), GeomFromEWKT('SRID=4674;POINT (-38.479653 -3.694112)'))) / (select extract(epoch from '2026-07-07 13:01:46'::timestamp) - extract(epoch from '2026-07-07 13:01:40'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.479726 -3.694201)', '2026-07-07 13:01:51', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479653 -3.694112)'), GeomFromEWKT('SRID=4674;POINT (-38.479726 -3.694201)'))) / (select extract(epoch from '2026-07-07 13:01:51'::timestamp) - extract(epoch from '2026-07-07 13:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479653 -3.694112)'), GeomFromEWKT('SRID=4674;POINT (-38.479726 -3.694201)'))) / (select extract(epoch from '2026-07-07 13:01:51'::timestamp) - extract(epoch from '2026-07-07 13:01:46'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.479814 -3.694288)', '2026-07-07 13:01:56', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479726 -3.694201)'), GeomFromEWKT('SRID=4674;POINT (-38.479814 -3.694288)'))) / (select extract(epoch from '2026-07-07 13:01:56'::timestamp) - extract(epoch from '2026-07-07 13:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479726 -3.694201)'), GeomFromEWKT('SRID=4674;POINT (-38.479814 -3.694288)'))) / (select extract(epoch from '2026-07-07 13:01:56'::timestamp) - extract(epoch from '2026-07-07 13:01:51'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.479879 -3.694366)', '2026-07-07 13:02:01', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479814 -3.694288)'), GeomFromEWKT('SRID=4674;POINT (-38.479879 -3.694366)'))) / (select extract(epoch from '2026-07-07 13:02:01'::timestamp) - extract(epoch from '2026-07-07 13:01:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479814 -3.694288)'), GeomFromEWKT('SRID=4674;POINT (-38.479879 -3.694366)'))) / (select extract(epoch from '2026-07-07 13:02:01'::timestamp) - extract(epoch from '2026-07-07 13:01:56'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.479996 -3.694507)', '2026-07-07 13:02:09', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479879 -3.694366)'), GeomFromEWKT('SRID=4674;POINT (-38.479996 -3.694507)'))) / (select extract(epoch from '2026-07-07 13:02:09'::timestamp) - extract(epoch from '2026-07-07 13:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479879 -3.694366)'), GeomFromEWKT('SRID=4674;POINT (-38.479996 -3.694507)'))) / (select extract(epoch from '2026-07-07 13:02:09'::timestamp) - extract(epoch from '2026-07-07 13:02:01'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.480058 -3.694601)', '2026-07-07 13:02:14', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479996 -3.694507)'), GeomFromEWKT('SRID=4674;POINT (-38.480058 -3.694601)'))) / (select extract(epoch from '2026-07-07 13:02:14'::timestamp) - extract(epoch from '2026-07-07 13:02:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479996 -3.694507)'), GeomFromEWKT('SRID=4674;POINT (-38.480058 -3.694601)'))) / (select extract(epoch from '2026-07-07 13:02:14'::timestamp) - extract(epoch from '2026-07-07 13:02:09'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.480152 -3.69476)', '2026-07-07 13:02:22', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480058 -3.694601)'), GeomFromEWKT('SRID=4674;POINT (-38.480152 -3.69476)'))) / (select extract(epoch from '2026-07-07 13:02:22'::timestamp) - extract(epoch from '2026-07-07 13:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480058 -3.694601)'), GeomFromEWKT('SRID=4674;POINT (-38.480152 -3.69476)'))) / (select extract(epoch from '2026-07-07 13:02:22'::timestamp) - extract(epoch from '2026-07-07 13:02:14'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.480256 -3.694897)', '2026-07-07 13:02:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480152 -3.69476)'), GeomFromEWKT('SRID=4674;POINT (-38.480256 -3.694897)'))) / (select extract(epoch from '2026-07-07 13:02:29'::timestamp) - extract(epoch from '2026-07-07 13:02:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480152 -3.69476)'), GeomFromEWKT('SRID=4674;POINT (-38.480256 -3.694897)'))) / (select extract(epoch from '2026-07-07 13:02:29'::timestamp) - extract(epoch from '2026-07-07 13:02:22'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.480355 -3.694999)', '2026-07-07 13:02:35', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480256 -3.694897)'), GeomFromEWKT('SRID=4674;POINT (-38.480355 -3.694999)'))) / (select extract(epoch from '2026-07-07 13:02:35'::timestamp) - extract(epoch from '2026-07-07 13:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480256 -3.694897)'), GeomFromEWKT('SRID=4674;POINT (-38.480355 -3.694999)'))) / (select extract(epoch from '2026-07-07 13:02:35'::timestamp) - extract(epoch from '2026-07-07 13:02:29'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.480453 -3.695104)', '2026-07-07 13:02:41', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480355 -3.694999)'), GeomFromEWKT('SRID=4674;POINT (-38.480453 -3.695104)'))) / (select extract(epoch from '2026-07-07 13:02:41'::timestamp) - extract(epoch from '2026-07-07 13:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480355 -3.694999)'), GeomFromEWKT('SRID=4674;POINT (-38.480453 -3.695104)'))) / (select extract(epoch from '2026-07-07 13:02:41'::timestamp) - extract(epoch from '2026-07-07 13:02:35'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.480572 -3.695223)', '2026-07-07 13:02:48', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480453 -3.695104)'), GeomFromEWKT('SRID=4674;POINT (-38.480572 -3.695223)'))) / (select extract(epoch from '2026-07-07 13:02:48'::timestamp) - extract(epoch from '2026-07-07 13:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480453 -3.695104)'), GeomFromEWKT('SRID=4674;POINT (-38.480572 -3.695223)'))) / (select extract(epoch from '2026-07-07 13:02:48'::timestamp) - extract(epoch from '2026-07-07 13:02:41'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.480648 -3.695314)', '2026-07-07 13:02:53', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480572 -3.695223)'), GeomFromEWKT('SRID=4674;POINT (-38.480648 -3.695314)'))) / (select extract(epoch from '2026-07-07 13:02:53'::timestamp) - extract(epoch from '2026-07-07 13:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480572 -3.695223)'), GeomFromEWKT('SRID=4674;POINT (-38.480648 -3.695314)'))) / (select extract(epoch from '2026-07-07 13:02:53'::timestamp) - extract(epoch from '2026-07-07 13:02:48'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.480729 -3.69542)', '2026-07-07 13:02:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480648 -3.695314)'), GeomFromEWKT('SRID=4674;POINT (-38.480729 -3.69542)'))) / (select extract(epoch from '2026-07-07 13:02:58'::timestamp) - extract(epoch from '2026-07-07 13:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480648 -3.695314)'), GeomFromEWKT('SRID=4674;POINT (-38.480729 -3.69542)'))) / (select extract(epoch from '2026-07-07 13:02:58'::timestamp) - extract(epoch from '2026-07-07 13:02:53'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.480806 -3.695536)', '2026-07-07 13:03:04', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480729 -3.69542)'), GeomFromEWKT('SRID=4674;POINT (-38.480806 -3.695536)'))) / (select extract(epoch from '2026-07-07 13:03:04'::timestamp) - extract(epoch from '2026-07-07 13:02:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480729 -3.69542)'), GeomFromEWKT('SRID=4674;POINT (-38.480806 -3.695536)'))) / (select extract(epoch from '2026-07-07 13:03:04'::timestamp) - extract(epoch from '2026-07-07 13:02:58'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.480914 -3.695671)', '2026-07-07 13:03:11', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480806 -3.695536)'), GeomFromEWKT('SRID=4674;POINT (-38.480914 -3.695671)'))) / (select extract(epoch from '2026-07-07 13:03:11'::timestamp) - extract(epoch from '2026-07-07 13:03:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480806 -3.695536)'), GeomFromEWKT('SRID=4674;POINT (-38.480914 -3.695671)'))) / (select extract(epoch from '2026-07-07 13:03:11'::timestamp) - extract(epoch from '2026-07-07 13:03:04'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.481011 -3.695814)', '2026-07-07 13:03:18', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480914 -3.695671)'), GeomFromEWKT('SRID=4674;POINT (-38.481011 -3.695814)'))) / (select extract(epoch from '2026-07-07 13:03:18'::timestamp) - extract(epoch from '2026-07-07 13:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480914 -3.695671)'), GeomFromEWKT('SRID=4674;POINT (-38.481011 -3.695814)'))) / (select extract(epoch from '2026-07-07 13:03:18'::timestamp) - extract(epoch from '2026-07-07 13:03:11'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.481092 -3.695928)', '2026-07-07 13:03:24', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481011 -3.695814)'), GeomFromEWKT('SRID=4674;POINT (-38.481092 -3.695928)'))) / (select extract(epoch from '2026-07-07 13:03:24'::timestamp) - extract(epoch from '2026-07-07 13:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481011 -3.695814)'), GeomFromEWKT('SRID=4674;POINT (-38.481092 -3.695928)'))) / (select extract(epoch from '2026-07-07 13:03:24'::timestamp) - extract(epoch from '2026-07-07 13:03:18'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.481199 -3.696033)', '2026-07-07 13:03:30', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481092 -3.695928)'), GeomFromEWKT('SRID=4674;POINT (-38.481199 -3.696033)'))) / (select extract(epoch from '2026-07-07 13:03:30'::timestamp) - extract(epoch from '2026-07-07 13:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481092 -3.695928)'), GeomFromEWKT('SRID=4674;POINT (-38.481199 -3.696033)'))) / (select extract(epoch from '2026-07-07 13:03:30'::timestamp) - extract(epoch from '2026-07-07 13:03:24'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.481274 -3.69613)', '2026-07-07 13:03:35', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481199 -3.696033)'), GeomFromEWKT('SRID=4674;POINT (-38.481274 -3.69613)'))) / (select extract(epoch from '2026-07-07 13:03:35'::timestamp) - extract(epoch from '2026-07-07 13:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481199 -3.696033)'), GeomFromEWKT('SRID=4674;POINT (-38.481274 -3.69613)'))) / (select extract(epoch from '2026-07-07 13:03:35'::timestamp) - extract(epoch from '2026-07-07 13:03:30'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.481356 -3.696271)', '2026-07-07 13:03:42', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481274 -3.69613)'), GeomFromEWKT('SRID=4674;POINT (-38.481356 -3.696271)'))) / (select extract(epoch from '2026-07-07 13:03:42'::timestamp) - extract(epoch from '2026-07-07 13:03:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481274 -3.69613)'), GeomFromEWKT('SRID=4674;POINT (-38.481356 -3.696271)'))) / (select extract(epoch from '2026-07-07 13:03:42'::timestamp) - extract(epoch from '2026-07-07 13:03:35'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.481451 -3.696424)', '2026-07-07 13:03:49', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481356 -3.696271)'), GeomFromEWKT('SRID=4674;POINT (-38.481451 -3.696424)'))) / (select extract(epoch from '2026-07-07 13:03:49'::timestamp) - extract(epoch from '2026-07-07 13:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481356 -3.696271)'), GeomFromEWKT('SRID=4674;POINT (-38.481451 -3.696424)'))) / (select extract(epoch from '2026-07-07 13:03:49'::timestamp) - extract(epoch from '2026-07-07 13:03:42'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.48154 -3.696597)', '2026-07-07 13:03:57', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481451 -3.696424)'), GeomFromEWKT('SRID=4674;POINT (-38.48154 -3.696597)'))) / (select extract(epoch from '2026-07-07 13:03:57'::timestamp) - extract(epoch from '2026-07-07 13:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481451 -3.696424)'), GeomFromEWKT('SRID=4674;POINT (-38.48154 -3.696597)'))) / (select extract(epoch from '2026-07-07 13:03:57'::timestamp) - extract(epoch from '2026-07-07 13:03:49'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.481591 -3.696766)', '2026-07-07 13:04:04', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48154 -3.696597)'), GeomFromEWKT('SRID=4674;POINT (-38.481591 -3.696766)'))) / (select extract(epoch from '2026-07-07 13:04:04'::timestamp) - extract(epoch from '2026-07-07 13:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48154 -3.696597)'), GeomFromEWKT('SRID=4674;POINT (-38.481591 -3.696766)'))) / (select extract(epoch from '2026-07-07 13:04:04'::timestamp) - extract(epoch from '2026-07-07 13:03:57'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.481642 -3.696904)', '2026-07-07 13:04:10', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481591 -3.696766)'), GeomFromEWKT('SRID=4674;POINT (-38.481642 -3.696904)'))) / (select extract(epoch from '2026-07-07 13:04:10'::timestamp) - extract(epoch from '2026-07-07 13:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481591 -3.696766)'), GeomFromEWKT('SRID=4674;POINT (-38.481642 -3.696904)'))) / (select extract(epoch from '2026-07-07 13:04:10'::timestamp) - extract(epoch from '2026-07-07 13:04:04'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.481709 -3.697072)', '2026-07-07 13:04:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481642 -3.696904)'), GeomFromEWKT('SRID=4674;POINT (-38.481709 -3.697072)'))) / (select extract(epoch from '2026-07-07 13:04:17'::timestamp) - extract(epoch from '2026-07-07 13:04:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481642 -3.696904)'), GeomFromEWKT('SRID=4674;POINT (-38.481709 -3.697072)'))) / (select extract(epoch from '2026-07-07 13:04:17'::timestamp) - extract(epoch from '2026-07-07 13:04:10'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.481718 -3.697098)', '2026-07-07 13:04:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481709 -3.697072)'), GeomFromEWKT('SRID=4674;POINT (-38.481718 -3.697098)'))) / (select extract(epoch from '2026-07-07 13:04:18'::timestamp) - extract(epoch from '2026-07-07 13:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481709 -3.697072)'), GeomFromEWKT('SRID=4674;POINT (-38.481718 -3.697098)'))) / (select extract(epoch from '2026-07-07 13:04:18'::timestamp) - extract(epoch from '2026-07-07 13:04:17'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.481761 -3.697213)', '2026-07-07 13:04:23', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481718 -3.697098)'), GeomFromEWKT('SRID=4674;POINT (-38.481761 -3.697213)'))) / (select extract(epoch from '2026-07-07 13:04:23'::timestamp) - extract(epoch from '2026-07-07 13:04:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481718 -3.697098)'), GeomFromEWKT('SRID=4674;POINT (-38.481761 -3.697213)'))) / (select extract(epoch from '2026-07-07 13:04:23'::timestamp) - extract(epoch from '2026-07-07 13:04:18'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.481822 -3.697344)', '2026-07-07 13:04:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481761 -3.697213)'), GeomFromEWKT('SRID=4674;POINT (-38.481822 -3.697344)'))) / (select extract(epoch from '2026-07-07 13:04:29'::timestamp) - extract(epoch from '2026-07-07 13:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481761 -3.697213)'), GeomFromEWKT('SRID=4674;POINT (-38.481822 -3.697344)'))) / (select extract(epoch from '2026-07-07 13:04:29'::timestamp) - extract(epoch from '2026-07-07 13:04:23'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.48188 -3.697482)', '2026-07-07 13:04:35', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481822 -3.697344)'), GeomFromEWKT('SRID=4674;POINT (-38.48188 -3.697482)'))) / (select extract(epoch from '2026-07-07 13:04:35'::timestamp) - extract(epoch from '2026-07-07 13:04:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481822 -3.697344)'), GeomFromEWKT('SRID=4674;POINT (-38.48188 -3.697482)'))) / (select extract(epoch from '2026-07-07 13:04:35'::timestamp) - extract(epoch from '2026-07-07 13:04:29'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.481929 -3.697593)', '2026-07-07 13:04:40', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48188 -3.697482)'), GeomFromEWKT('SRID=4674;POINT (-38.481929 -3.697593)'))) / (select extract(epoch from '2026-07-07 13:04:40'::timestamp) - extract(epoch from '2026-07-07 13:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48188 -3.697482)'), GeomFromEWKT('SRID=4674;POINT (-38.481929 -3.697593)'))) / (select extract(epoch from '2026-07-07 13:04:40'::timestamp) - extract(epoch from '2026-07-07 13:04:35'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.481984 -3.697724)', '2026-07-07 13:04:46', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481929 -3.697593)'), GeomFromEWKT('SRID=4674;POINT (-38.481984 -3.697724)'))) / (select extract(epoch from '2026-07-07 13:04:46'::timestamp) - extract(epoch from '2026-07-07 13:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481929 -3.697593)'), GeomFromEWKT('SRID=4674;POINT (-38.481984 -3.697724)'))) / (select extract(epoch from '2026-07-07 13:04:46'::timestamp) - extract(epoch from '2026-07-07 13:04:40'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.482027 -3.697817)', '2026-07-07 13:04:50', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481984 -3.697724)'), GeomFromEWKT('SRID=4674;POINT (-38.482027 -3.697817)'))) / (select extract(epoch from '2026-07-07 13:04:50'::timestamp) - extract(epoch from '2026-07-07 13:04:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481984 -3.697724)'), GeomFromEWKT('SRID=4674;POINT (-38.482027 -3.697817)'))) / (select extract(epoch from '2026-07-07 13:04:50'::timestamp) - extract(epoch from '2026-07-07 13:04:46'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.482084 -3.697941)', '2026-07-07 13:04:56', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482027 -3.697817)'), GeomFromEWKT('SRID=4674;POINT (-38.482084 -3.697941)'))) / (select extract(epoch from '2026-07-07 13:04:56'::timestamp) - extract(epoch from '2026-07-07 13:04:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482027 -3.697817)'), GeomFromEWKT('SRID=4674;POINT (-38.482084 -3.697941)'))) / (select extract(epoch from '2026-07-07 13:04:56'::timestamp) - extract(epoch from '2026-07-07 13:04:50'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.482136 -3.698082)', '2026-07-07 13:05:02', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482084 -3.697941)'), GeomFromEWKT('SRID=4674;POINT (-38.482136 -3.698082)'))) / (select extract(epoch from '2026-07-07 13:05:02'::timestamp) - extract(epoch from '2026-07-07 13:04:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482084 -3.697941)'), GeomFromEWKT('SRID=4674;POINT (-38.482136 -3.698082)'))) / (select extract(epoch from '2026-07-07 13:05:02'::timestamp) - extract(epoch from '2026-07-07 13:04:56'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.482206 -3.698209)', '2026-07-07 13:05:08', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482136 -3.698082)'), GeomFromEWKT('SRID=4674;POINT (-38.482206 -3.698209)'))) / (select extract(epoch from '2026-07-07 13:05:08'::timestamp) - extract(epoch from '2026-07-07 13:05:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482136 -3.698082)'), GeomFromEWKT('SRID=4674;POINT (-38.482206 -3.698209)'))) / (select extract(epoch from '2026-07-07 13:05:08'::timestamp) - extract(epoch from '2026-07-07 13:05:02'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.482312 -3.698311)', '2026-07-07 13:05:14', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482206 -3.698209)'), GeomFromEWKT('SRID=4674;POINT (-38.482312 -3.698311)'))) / (select extract(epoch from '2026-07-07 13:05:14'::timestamp) - extract(epoch from '2026-07-07 13:05:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482206 -3.698209)'), GeomFromEWKT('SRID=4674;POINT (-38.482312 -3.698311)'))) / (select extract(epoch from '2026-07-07 13:05:14'::timestamp) - extract(epoch from '2026-07-07 13:05:08'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.482409 -3.698389)', '2026-07-07 13:05:19', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482312 -3.698311)'), GeomFromEWKT('SRID=4674;POINT (-38.482409 -3.698389)'))) / (select extract(epoch from '2026-07-07 13:05:19'::timestamp) - extract(epoch from '2026-07-07 13:05:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482312 -3.698311)'), GeomFromEWKT('SRID=4674;POINT (-38.482409 -3.698389)'))) / (select extract(epoch from '2026-07-07 13:05:19'::timestamp) - extract(epoch from '2026-07-07 13:05:14'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.482499 -3.698463)', '2026-07-07 13:05:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482409 -3.698389)'), GeomFromEWKT('SRID=4674;POINT (-38.482499 -3.698463)'))) / (select extract(epoch from '2026-07-07 13:05:24'::timestamp) - extract(epoch from '2026-07-07 13:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482409 -3.698389)'), GeomFromEWKT('SRID=4674;POINT (-38.482499 -3.698463)'))) / (select extract(epoch from '2026-07-07 13:05:24'::timestamp) - extract(epoch from '2026-07-07 13:05:19'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.482617 -3.698562)', '2026-07-07 13:05:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482499 -3.698463)'), GeomFromEWKT('SRID=4674;POINT (-38.482617 -3.698562)'))) / (select extract(epoch from '2026-07-07 13:05:30'::timestamp) - extract(epoch from '2026-07-07 13:05:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482499 -3.698463)'), GeomFromEWKT('SRID=4674;POINT (-38.482617 -3.698562)'))) / (select extract(epoch from '2026-07-07 13:05:30'::timestamp) - extract(epoch from '2026-07-07 13:05:24'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.482718 -3.698728)', '2026-07-07 13:05:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482617 -3.698562)'), GeomFromEWKT('SRID=4674;POINT (-38.482718 -3.698728)'))) / (select extract(epoch from '2026-07-07 13:05:38'::timestamp) - extract(epoch from '2026-07-07 13:05:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482617 -3.698562)'), GeomFromEWKT('SRID=4674;POINT (-38.482718 -3.698728)'))) / (select extract(epoch from '2026-07-07 13:05:38'::timestamp) - extract(epoch from '2026-07-07 13:05:30'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.482752 -3.698878)', '2026-07-07 13:05:44', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482718 -3.698728)'), GeomFromEWKT('SRID=4674;POINT (-38.482752 -3.698878)'))) / (select extract(epoch from '2026-07-07 13:05:44'::timestamp) - extract(epoch from '2026-07-07 13:05:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482718 -3.698728)'), GeomFromEWKT('SRID=4674;POINT (-38.482752 -3.698878)'))) / (select extract(epoch from '2026-07-07 13:05:44'::timestamp) - extract(epoch from '2026-07-07 13:05:38'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.482755 -3.699073)', '2026-07-07 13:05:52', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482752 -3.698878)'), GeomFromEWKT('SRID=4674;POINT (-38.482755 -3.699073)'))) / (select extract(epoch from '2026-07-07 13:05:52'::timestamp) - extract(epoch from '2026-07-07 13:05:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482752 -3.698878)'), GeomFromEWKT('SRID=4674;POINT (-38.482755 -3.699073)'))) / (select extract(epoch from '2026-07-07 13:05:52'::timestamp) - extract(epoch from '2026-07-07 13:05:44'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.482754 -3.699121)', '2026-07-07 13:05:54', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482755 -3.699073)'), GeomFromEWKT('SRID=4674;POINT (-38.482754 -3.699121)'))) / (select extract(epoch from '2026-07-07 13:05:54'::timestamp) - extract(epoch from '2026-07-07 13:05:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482755 -3.699073)'), GeomFromEWKT('SRID=4674;POINT (-38.482754 -3.699121)'))) / (select extract(epoch from '2026-07-07 13:05:54'::timestamp) - extract(epoch from '2026-07-07 13:05:52'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.482782 -3.699308)', '2026-07-07 13:06:02', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482754 -3.699121)'), GeomFromEWKT('SRID=4674;POINT (-38.482782 -3.699308)'))) / (select extract(epoch from '2026-07-07 13:06:02'::timestamp) - extract(epoch from '2026-07-07 13:05:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482754 -3.699121)'), GeomFromEWKT('SRID=4674;POINT (-38.482782 -3.699308)'))) / (select extract(epoch from '2026-07-07 13:06:02'::timestamp) - extract(epoch from '2026-07-07 13:05:54'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.482792 -3.69933)', '2026-07-07 13:06:03', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482782 -3.699308)'), GeomFromEWKT('SRID=4674;POINT (-38.482792 -3.69933)'))) / (select extract(epoch from '2026-07-07 13:06:03'::timestamp) - extract(epoch from '2026-07-07 13:06:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482782 -3.699308)'), GeomFromEWKT('SRID=4674;POINT (-38.482792 -3.69933)'))) / (select extract(epoch from '2026-07-07 13:06:03'::timestamp) - extract(epoch from '2026-07-07 13:06:02'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.482929 -3.699468)', '2026-07-07 13:06:11', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482792 -3.69933)'), GeomFromEWKT('SRID=4674;POINT (-38.482929 -3.699468)'))) / (select extract(epoch from '2026-07-07 13:06:11'::timestamp) - extract(epoch from '2026-07-07 13:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482792 -3.69933)'), GeomFromEWKT('SRID=4674;POINT (-38.482929 -3.699468)'))) / (select extract(epoch from '2026-07-07 13:06:11'::timestamp) - extract(epoch from '2026-07-07 13:06:03'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.48311 -3.699554)', '2026-07-07 13:06:19', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482929 -3.699468)'), GeomFromEWKT('SRID=4674;POINT (-38.48311 -3.699554)'))) / (select extract(epoch from '2026-07-07 13:06:19'::timestamp) - extract(epoch from '2026-07-07 13:06:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482929 -3.699468)'), GeomFromEWKT('SRID=4674;POINT (-38.48311 -3.699554)'))) / (select extract(epoch from '2026-07-07 13:06:19'::timestamp) - extract(epoch from '2026-07-07 13:06:11'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483134 -3.699562)', '2026-07-07 13:06:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48311 -3.699554)'), GeomFromEWKT('SRID=4674;POINT (-38.483134 -3.699562)'))) / (select extract(epoch from '2026-07-07 13:06:20'::timestamp) - extract(epoch from '2026-07-07 13:06:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48311 -3.699554)'), GeomFromEWKT('SRID=4674;POINT (-38.483134 -3.699562)'))) / (select extract(epoch from '2026-07-07 13:06:20'::timestamp) - extract(epoch from '2026-07-07 13:06:19'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483327 -3.699619)', '2026-07-07 13:06:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483134 -3.699562)'), GeomFromEWKT('SRID=4674;POINT (-38.483327 -3.699619)'))) / (select extract(epoch from '2026-07-07 13:06:28'::timestamp) - extract(epoch from '2026-07-07 13:06:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483134 -3.699562)'), GeomFromEWKT('SRID=4674;POINT (-38.483327 -3.699619)'))) / (select extract(epoch from '2026-07-07 13:06:28'::timestamp) - extract(epoch from '2026-07-07 13:06:20'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483349 -3.699632)', '2026-07-07 13:06:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483327 -3.699619)'), GeomFromEWKT('SRID=4674;POINT (-38.483349 -3.699632)'))) / (select extract(epoch from '2026-07-07 13:06:29'::timestamp) - extract(epoch from '2026-07-07 13:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483327 -3.699619)'), GeomFromEWKT('SRID=4674;POINT (-38.483349 -3.699632)'))) / (select extract(epoch from '2026-07-07 13:06:29'::timestamp) - extract(epoch from '2026-07-07 13:06:28'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483468 -3.69976)', '2026-07-07 13:06:36', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483349 -3.699632)'), GeomFromEWKT('SRID=4674;POINT (-38.483468 -3.69976)'))) / (select extract(epoch from '2026-07-07 13:06:36'::timestamp) - extract(epoch from '2026-07-07 13:06:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483349 -3.699632)'), GeomFromEWKT('SRID=4674;POINT (-38.483468 -3.69976)'))) / (select extract(epoch from '2026-07-07 13:06:36'::timestamp) - extract(epoch from '2026-07-07 13:06:29'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483519 -3.699904)', '2026-07-07 13:06:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483468 -3.69976)'), GeomFromEWKT('SRID=4674;POINT (-38.483519 -3.699904)'))) / (select extract(epoch from '2026-07-07 13:06:42'::timestamp) - extract(epoch from '2026-07-07 13:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483468 -3.69976)'), GeomFromEWKT('SRID=4674;POINT (-38.483519 -3.699904)'))) / (select extract(epoch from '2026-07-07 13:06:42'::timestamp) - extract(epoch from '2026-07-07 13:06:36'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483559 -3.700036)', '2026-07-07 13:06:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483519 -3.699904)'), GeomFromEWKT('SRID=4674;POINT (-38.483559 -3.700036)'))) / (select extract(epoch from '2026-07-07 13:06:48'::timestamp) - extract(epoch from '2026-07-07 13:06:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483519 -3.699904)'), GeomFromEWKT('SRID=4674;POINT (-38.483559 -3.700036)'))) / (select extract(epoch from '2026-07-07 13:06:48'::timestamp) - extract(epoch from '2026-07-07 13:06:42'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483627 -3.700203)', '2026-07-07 13:06:55', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483559 -3.700036)'), GeomFromEWKT('SRID=4674;POINT (-38.483627 -3.700203)'))) / (select extract(epoch from '2026-07-07 13:06:55'::timestamp) - extract(epoch from '2026-07-07 13:06:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483559 -3.700036)'), GeomFromEWKT('SRID=4674;POINT (-38.483627 -3.700203)'))) / (select extract(epoch from '2026-07-07 13:06:55'::timestamp) - extract(epoch from '2026-07-07 13:06:48'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483705 -3.700392)', '2026-07-07 13:07:03', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483627 -3.700203)'), GeomFromEWKT('SRID=4674;POINT (-38.483705 -3.700392)'))) / (select extract(epoch from '2026-07-07 13:07:03'::timestamp) - extract(epoch from '2026-07-07 13:06:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483627 -3.700203)'), GeomFromEWKT('SRID=4674;POINT (-38.483705 -3.700392)'))) / (select extract(epoch from '2026-07-07 13:07:03'::timestamp) - extract(epoch from '2026-07-07 13:06:55'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483724 -3.700438)', '2026-07-07 13:07:05', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483705 -3.700392)'), GeomFromEWKT('SRID=4674;POINT (-38.483724 -3.700438)'))) / (select extract(epoch from '2026-07-07 13:07:05'::timestamp) - extract(epoch from '2026-07-07 13:07:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483705 -3.700392)'), GeomFromEWKT('SRID=4674;POINT (-38.483724 -3.700438)'))) / (select extract(epoch from '2026-07-07 13:07:05'::timestamp) - extract(epoch from '2026-07-07 13:07:03'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483786 -3.700626)', '2026-07-07 13:07:13', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483724 -3.700438)'), GeomFromEWKT('SRID=4674;POINT (-38.483786 -3.700626)'))) / (select extract(epoch from '2026-07-07 13:07:13'::timestamp) - extract(epoch from '2026-07-07 13:07:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483724 -3.700438)'), GeomFromEWKT('SRID=4674;POINT (-38.483786 -3.700626)'))) / (select extract(epoch from '2026-07-07 13:07:13'::timestamp) - extract(epoch from '2026-07-07 13:07:05'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483794 -3.700647)', '2026-07-07 13:07:14', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483786 -3.700626)'), GeomFromEWKT('SRID=4674;POINT (-38.483794 -3.700647)'))) / (select extract(epoch from '2026-07-07 13:07:14'::timestamp) - extract(epoch from '2026-07-07 13:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483786 -3.700626)'), GeomFromEWKT('SRID=4674;POINT (-38.483794 -3.700647)'))) / (select extract(epoch from '2026-07-07 13:07:14'::timestamp) - extract(epoch from '2026-07-07 13:07:13'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483851 -3.700826)', '2026-07-07 13:07:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483794 -3.700647)'), GeomFromEWKT('SRID=4674;POINT (-38.483851 -3.700826)'))) / (select extract(epoch from '2026-07-07 13:07:22'::timestamp) - extract(epoch from '2026-07-07 13:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483794 -3.700647)'), GeomFromEWKT('SRID=4674;POINT (-38.483851 -3.700826)'))) / (select extract(epoch from '2026-07-07 13:07:22'::timestamp) - extract(epoch from '2026-07-07 13:07:14'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483879 -3.700894)', '2026-07-07 13:07:25', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483851 -3.700826)'), GeomFromEWKT('SRID=4674;POINT (-38.483879 -3.700894)'))) / (select extract(epoch from '2026-07-07 13:07:25'::timestamp) - extract(epoch from '2026-07-07 13:07:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483851 -3.700826)'), GeomFromEWKT('SRID=4674;POINT (-38.483879 -3.700894)'))) / (select extract(epoch from '2026-07-07 13:07:25'::timestamp) - extract(epoch from '2026-07-07 13:07:22'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483932 -3.70108)', '2026-07-07 13:07:33', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483879 -3.700894)'), GeomFromEWKT('SRID=4674;POINT (-38.483932 -3.70108)'))) / (select extract(epoch from '2026-07-07 13:07:33'::timestamp) - extract(epoch from '2026-07-07 13:07:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483879 -3.700894)'), GeomFromEWKT('SRID=4674;POINT (-38.483932 -3.70108)'))) / (select extract(epoch from '2026-07-07 13:07:33'::timestamp) - extract(epoch from '2026-07-07 13:07:25'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.48395 -3.701126)', '2026-07-07 13:07:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483932 -3.70108)'), GeomFromEWKT('SRID=4674;POINT (-38.48395 -3.701126)'))) / (select extract(epoch from '2026-07-07 13:07:35'::timestamp) - extract(epoch from '2026-07-07 13:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483932 -3.70108)'), GeomFromEWKT('SRID=4674;POINT (-38.48395 -3.701126)'))) / (select extract(epoch from '2026-07-07 13:07:35'::timestamp) - extract(epoch from '2026-07-07 13:07:33'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.484018 -3.701316)', '2026-07-07 13:07:43', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48395 -3.701126)'), GeomFromEWKT('SRID=4674;POINT (-38.484018 -3.701316)'))) / (select extract(epoch from '2026-07-07 13:07:43'::timestamp) - extract(epoch from '2026-07-07 13:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48395 -3.701126)'), GeomFromEWKT('SRID=4674;POINT (-38.484018 -3.701316)'))) / (select extract(epoch from '2026-07-07 13:07:43'::timestamp) - extract(epoch from '2026-07-07 13:07:35'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.484026 -3.70134)', '2026-07-07 13:07:44', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484018 -3.701316)'), GeomFromEWKT('SRID=4674;POINT (-38.484026 -3.70134)'))) / (select extract(epoch from '2026-07-07 13:07:44'::timestamp) - extract(epoch from '2026-07-07 13:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484018 -3.701316)'), GeomFromEWKT('SRID=4674;POINT (-38.484026 -3.70134)'))) / (select extract(epoch from '2026-07-07 13:07:44'::timestamp) - extract(epoch from '2026-07-07 13:07:43'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.484065 -3.701529)', '2026-07-07 13:07:52', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484026 -3.70134)'), GeomFromEWKT('SRID=4674;POINT (-38.484065 -3.701529)'))) / (select extract(epoch from '2026-07-07 13:07:52'::timestamp) - extract(epoch from '2026-07-07 13:07:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484026 -3.70134)'), GeomFromEWKT('SRID=4674;POINT (-38.484065 -3.701529)'))) / (select extract(epoch from '2026-07-07 13:07:52'::timestamp) - extract(epoch from '2026-07-07 13:07:44'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.484071 -3.701552)', '2026-07-07 13:07:53', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484065 -3.701529)'), GeomFromEWKT('SRID=4674;POINT (-38.484071 -3.701552)'))) / (select extract(epoch from '2026-07-07 13:07:53'::timestamp) - extract(epoch from '2026-07-07 13:07:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484065 -3.701529)'), GeomFromEWKT('SRID=4674;POINT (-38.484071 -3.701552)'))) / (select extract(epoch from '2026-07-07 13:07:53'::timestamp) - extract(epoch from '2026-07-07 13:07:52'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.484119 -3.701728)', '2026-07-07 13:08:01', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484071 -3.701552)'), GeomFromEWKT('SRID=4674;POINT (-38.484119 -3.701728)'))) / (select extract(epoch from '2026-07-07 13:08:01'::timestamp) - extract(epoch from '2026-07-07 13:07:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484071 -3.701552)'), GeomFromEWKT('SRID=4674;POINT (-38.484119 -3.701728)'))) / (select extract(epoch from '2026-07-07 13:08:01'::timestamp) - extract(epoch from '2026-07-07 13:07:53'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.484125 -3.701751)', '2026-07-07 13:08:02', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484119 -3.701728)'), GeomFromEWKT('SRID=4674;POINT (-38.484125 -3.701751)'))) / (select extract(epoch from '2026-07-07 13:08:02'::timestamp) - extract(epoch from '2026-07-07 13:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484119 -3.701728)'), GeomFromEWKT('SRID=4674;POINT (-38.484125 -3.701751)'))) / (select extract(epoch from '2026-07-07 13:08:02'::timestamp) - extract(epoch from '2026-07-07 13:08:01'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.484174 -3.701933)', '2026-07-07 13:08:10', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484125 -3.701751)'), GeomFromEWKT('SRID=4674;POINT (-38.484174 -3.701933)'))) / (select extract(epoch from '2026-07-07 13:08:10'::timestamp) - extract(epoch from '2026-07-07 13:08:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484125 -3.701751)'), GeomFromEWKT('SRID=4674;POINT (-38.484174 -3.701933)'))) / (select extract(epoch from '2026-07-07 13:08:10'::timestamp) - extract(epoch from '2026-07-07 13:08:02'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.484185 -3.702004)', '2026-07-07 13:08:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484174 -3.701933)'), GeomFromEWKT('SRID=4674;POINT (-38.484185 -3.702004)'))) / (select extract(epoch from '2026-07-07 13:08:13'::timestamp) - extract(epoch from '2026-07-07 13:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484174 -3.701933)'), GeomFromEWKT('SRID=4674;POINT (-38.484185 -3.702004)'))) / (select extract(epoch from '2026-07-07 13:08:13'::timestamp) - extract(epoch from '2026-07-07 13:08:10'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.484228 -3.702184)', '2026-07-07 13:08:21', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484185 -3.702004)'), GeomFromEWKT('SRID=4674;POINT (-38.484228 -3.702184)'))) / (select extract(epoch from '2026-07-07 13:08:21'::timestamp) - extract(epoch from '2026-07-07 13:08:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484185 -3.702004)'), GeomFromEWKT('SRID=4674;POINT (-38.484228 -3.702184)'))) / (select extract(epoch from '2026-07-07 13:08:21'::timestamp) - extract(epoch from '2026-07-07 13:08:13'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.484235 -3.702206)', '2026-07-07 13:08:22', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484228 -3.702184)'), GeomFromEWKT('SRID=4674;POINT (-38.484235 -3.702206)'))) / (select extract(epoch from '2026-07-07 13:08:22'::timestamp) - extract(epoch from '2026-07-07 13:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484228 -3.702184)'), GeomFromEWKT('SRID=4674;POINT (-38.484235 -3.702206)'))) / (select extract(epoch from '2026-07-07 13:08:22'::timestamp) - extract(epoch from '2026-07-07 13:08:21'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.484328 -3.702318)', '2026-07-07 13:08:28', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484235 -3.702206)'), GeomFromEWKT('SRID=4674;POINT (-38.484328 -3.702318)'))) / (select extract(epoch from '2026-07-07 13:08:28'::timestamp) - extract(epoch from '2026-07-07 13:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484235 -3.702206)'), GeomFromEWKT('SRID=4674;POINT (-38.484328 -3.702318)'))) / (select extract(epoch from '2026-07-07 13:08:28'::timestamp) - extract(epoch from '2026-07-07 13:08:22'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.484412 -3.702461)', '2026-07-07 13:08:35', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484328 -3.702318)'), GeomFromEWKT('SRID=4674;POINT (-38.484412 -3.702461)'))) / (select extract(epoch from '2026-07-07 13:08:35'::timestamp) - extract(epoch from '2026-07-07 13:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484328 -3.702318)'), GeomFromEWKT('SRID=4674;POINT (-38.484412 -3.702461)'))) / (select extract(epoch from '2026-07-07 13:08:35'::timestamp) - extract(epoch from '2026-07-07 13:08:28'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.484449 -3.702617)', '2026-07-07 13:08:42', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484412 -3.702461)'), GeomFromEWKT('SRID=4674;POINT (-38.484449 -3.702617)'))) / (select extract(epoch from '2026-07-07 13:08:42'::timestamp) - extract(epoch from '2026-07-07 13:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484412 -3.702461)'), GeomFromEWKT('SRID=4674;POINT (-38.484449 -3.702617)'))) / (select extract(epoch from '2026-07-07 13:08:42'::timestamp) - extract(epoch from '2026-07-07 13:08:35'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.484497 -3.702776)', '2026-07-07 13:08:49', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484449 -3.702617)'), GeomFromEWKT('SRID=4674;POINT (-38.484497 -3.702776)'))) / (select extract(epoch from '2026-07-07 13:08:49'::timestamp) - extract(epoch from '2026-07-07 13:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484449 -3.702617)'), GeomFromEWKT('SRID=4674;POINT (-38.484497 -3.702776)'))) / (select extract(epoch from '2026-07-07 13:08:49'::timestamp) - extract(epoch from '2026-07-07 13:08:42'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.484554 -3.702957)', '2026-07-07 13:08:57', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484497 -3.702776)'), GeomFromEWKT('SRID=4674;POINT (-38.484554 -3.702957)'))) / (select extract(epoch from '2026-07-07 13:08:57'::timestamp) - extract(epoch from '2026-07-07 13:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484497 -3.702776)'), GeomFromEWKT('SRID=4674;POINT (-38.484554 -3.702957)'))) / (select extract(epoch from '2026-07-07 13:08:57'::timestamp) - extract(epoch from '2026-07-07 13:08:49'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.484627 -3.703126)', '2026-07-07 13:09:05', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484554 -3.702957)'), GeomFromEWKT('SRID=4674;POINT (-38.484627 -3.703126)'))) / (select extract(epoch from '2026-07-07 13:09:05'::timestamp) - extract(epoch from '2026-07-07 13:08:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484554 -3.702957)'), GeomFromEWKT('SRID=4674;POINT (-38.484627 -3.703126)'))) / (select extract(epoch from '2026-07-07 13:09:05'::timestamp) - extract(epoch from '2026-07-07 13:08:57'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.484653 -3.703288)', '2026-07-07 13:09:12', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484627 -3.703126)'), GeomFromEWKT('SRID=4674;POINT (-38.484653 -3.703288)'))) / (select extract(epoch from '2026-07-07 13:09:12'::timestamp) - extract(epoch from '2026-07-07 13:09:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484627 -3.703126)'), GeomFromEWKT('SRID=4674;POINT (-38.484653 -3.703288)'))) / (select extract(epoch from '2026-07-07 13:09:12'::timestamp) - extract(epoch from '2026-07-07 13:09:05'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.484675 -3.703481)', '2026-07-07 13:09:20', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484653 -3.703288)'), GeomFromEWKT('SRID=4674;POINT (-38.484675 -3.703481)'))) / (select extract(epoch from '2026-07-07 13:09:20'::timestamp) - extract(epoch from '2026-07-07 13:09:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484653 -3.703288)'), GeomFromEWKT('SRID=4674;POINT (-38.484675 -3.703481)'))) / (select extract(epoch from '2026-07-07 13:09:20'::timestamp) - extract(epoch from '2026-07-07 13:09:12'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.484678 -3.703666)', '2026-07-07 13:09:28', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484675 -3.703481)'), GeomFromEWKT('SRID=4674;POINT (-38.484678 -3.703666)'))) / (select extract(epoch from '2026-07-07 13:09:28'::timestamp) - extract(epoch from '2026-07-07 13:09:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484675 -3.703481)'), GeomFromEWKT('SRID=4674;POINT (-38.484678 -3.703666)'))) / (select extract(epoch from '2026-07-07 13:09:28'::timestamp) - extract(epoch from '2026-07-07 13:09:20'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.484683 -3.703711)', '2026-07-07 13:09:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484678 -3.703666)'), GeomFromEWKT('SRID=4674;POINT (-38.484683 -3.703711)'))) / (select extract(epoch from '2026-07-07 13:09:30'::timestamp) - extract(epoch from '2026-07-07 13:09:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484678 -3.703666)'), GeomFromEWKT('SRID=4674;POINT (-38.484683 -3.703711)'))) / (select extract(epoch from '2026-07-07 13:09:30'::timestamp) - extract(epoch from '2026-07-07 13:09:28'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.484739 -3.703835)', '2026-07-07 13:09:36', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484683 -3.703711)'), GeomFromEWKT('SRID=4674;POINT (-38.484739 -3.703835)'))) / (select extract(epoch from '2026-07-07 13:09:36'::timestamp) - extract(epoch from '2026-07-07 13:09:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484683 -3.703711)'), GeomFromEWKT('SRID=4674;POINT (-38.484739 -3.703835)'))) / (select extract(epoch from '2026-07-07 13:09:36'::timestamp) - extract(epoch from '2026-07-07 13:09:30'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.484843 -3.703999)', '2026-07-07 13:09:44', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484739 -3.703835)'), GeomFromEWKT('SRID=4674;POINT (-38.484843 -3.703999)'))) / (select extract(epoch from '2026-07-07 13:09:44'::timestamp) - extract(epoch from '2026-07-07 13:09:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484739 -3.703835)'), GeomFromEWKT('SRID=4674;POINT (-38.484843 -3.703999)'))) / (select extract(epoch from '2026-07-07 13:09:44'::timestamp) - extract(epoch from '2026-07-07 13:09:36'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.484909 -3.704181)', '2026-07-07 13:09:52', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484843 -3.703999)'), GeomFromEWKT('SRID=4674;POINT (-38.484909 -3.704181)'))) / (select extract(epoch from '2026-07-07 13:09:52'::timestamp) - extract(epoch from '2026-07-07 13:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484843 -3.703999)'), GeomFromEWKT('SRID=4674;POINT (-38.484909 -3.704181)'))) / (select extract(epoch from '2026-07-07 13:09:52'::timestamp) - extract(epoch from '2026-07-07 13:09:44'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.484945 -3.704371)', '2026-07-07 13:10:00', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484909 -3.704181)'), GeomFromEWKT('SRID=4674;POINT (-38.484945 -3.704371)'))) / (select extract(epoch from '2026-07-07 13:10:00'::timestamp) - extract(epoch from '2026-07-07 13:09:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484909 -3.704181)'), GeomFromEWKT('SRID=4674;POINT (-38.484945 -3.704371)'))) / (select extract(epoch from '2026-07-07 13:10:00'::timestamp) - extract(epoch from '2026-07-07 13:09:52'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.484973 -3.704566)', '2026-07-07 13:10:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484945 -3.704371)'), GeomFromEWKT('SRID=4674;POINT (-38.484973 -3.704566)'))) / (select extract(epoch from '2026-07-07 13:10:08'::timestamp) - extract(epoch from '2026-07-07 13:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484945 -3.704371)'), GeomFromEWKT('SRID=4674;POINT (-38.484973 -3.704566)'))) / (select extract(epoch from '2026-07-07 13:10:08'::timestamp) - extract(epoch from '2026-07-07 13:10:00'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.485003 -3.704753)', '2026-07-07 13:10:16', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484973 -3.704566)'), GeomFromEWKT('SRID=4674;POINT (-38.485003 -3.704753)'))) / (select extract(epoch from '2026-07-07 13:10:16'::timestamp) - extract(epoch from '2026-07-07 13:10:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484973 -3.704566)'), GeomFromEWKT('SRID=4674;POINT (-38.485003 -3.704753)'))) / (select extract(epoch from '2026-07-07 13:10:16'::timestamp) - extract(epoch from '2026-07-07 13:10:08'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.485083 -3.70493)', '2026-07-07 13:10:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485003 -3.704753)'), GeomFromEWKT('SRID=4674;POINT (-38.485083 -3.70493)'))) / (select extract(epoch from '2026-07-07 13:10:24'::timestamp) - extract(epoch from '2026-07-07 13:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485003 -3.704753)'), GeomFromEWKT('SRID=4674;POINT (-38.485083 -3.70493)'))) / (select extract(epoch from '2026-07-07 13:10:24'::timestamp) - extract(epoch from '2026-07-07 13:10:16'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.485158 -3.705108)', '2026-07-07 13:10:32', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485083 -3.70493)'), GeomFromEWKT('SRID=4674;POINT (-38.485158 -3.705108)'))) / (select extract(epoch from '2026-07-07 13:10:32'::timestamp) - extract(epoch from '2026-07-07 13:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485083 -3.70493)'), GeomFromEWKT('SRID=4674;POINT (-38.485158 -3.705108)'))) / (select extract(epoch from '2026-07-07 13:10:32'::timestamp) - extract(epoch from '2026-07-07 13:10:24'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.485171 -3.705298)', '2026-07-07 13:10:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485158 -3.705108)'), GeomFromEWKT('SRID=4674;POINT (-38.485171 -3.705298)'))) / (select extract(epoch from '2026-07-07 13:10:40'::timestamp) - extract(epoch from '2026-07-07 13:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485158 -3.705108)'), GeomFromEWKT('SRID=4674;POINT (-38.485171 -3.705298)'))) / (select extract(epoch from '2026-07-07 13:10:40'::timestamp) - extract(epoch from '2026-07-07 13:10:32'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.485175 -3.705493)', '2026-07-07 13:10:48', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485171 -3.705298)'), GeomFromEWKT('SRID=4674;POINT (-38.485175 -3.705493)'))) / (select extract(epoch from '2026-07-07 13:10:48'::timestamp) - extract(epoch from '2026-07-07 13:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485171 -3.705298)'), GeomFromEWKT('SRID=4674;POINT (-38.485175 -3.705493)'))) / (select extract(epoch from '2026-07-07 13:10:48'::timestamp) - extract(epoch from '2026-07-07 13:10:40'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.485167 -3.705684)', '2026-07-07 13:10:56', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485175 -3.705493)'), GeomFromEWKT('SRID=4674;POINT (-38.485167 -3.705684)'))) / (select extract(epoch from '2026-07-07 13:10:56'::timestamp) - extract(epoch from '2026-07-07 13:10:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485175 -3.705493)'), GeomFromEWKT('SRID=4674;POINT (-38.485167 -3.705684)'))) / (select extract(epoch from '2026-07-07 13:10:56'::timestamp) - extract(epoch from '2026-07-07 13:10:48'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.485168 -3.705729)', '2026-07-07 13:10:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485167 -3.705684)'), GeomFromEWKT('SRID=4674;POINT (-38.485168 -3.705729)'))) / (select extract(epoch from '2026-07-07 13:10:58'::timestamp) - extract(epoch from '2026-07-07 13:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485167 -3.705684)'), GeomFromEWKT('SRID=4674;POINT (-38.485168 -3.705729)'))) / (select extract(epoch from '2026-07-07 13:10:58'::timestamp) - extract(epoch from '2026-07-07 13:10:56'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.485222 -3.705865)', '2026-07-07 13:11:04', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485168 -3.705729)'), GeomFromEWKT('SRID=4674;POINT (-38.485222 -3.705865)'))) / (select extract(epoch from '2026-07-07 13:11:04'::timestamp) - extract(epoch from '2026-07-07 13:10:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485168 -3.705729)'), GeomFromEWKT('SRID=4674;POINT (-38.485222 -3.705865)'))) / (select extract(epoch from '2026-07-07 13:11:04'::timestamp) - extract(epoch from '2026-07-07 13:10:58'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.485283 -3.706038)', '2026-07-07 13:11:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485222 -3.705865)'), GeomFromEWKT('SRID=4674;POINT (-38.485283 -3.706038)'))) / (select extract(epoch from '2026-07-07 13:11:12'::timestamp) - extract(epoch from '2026-07-07 13:11:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485222 -3.705865)'), GeomFromEWKT('SRID=4674;POINT (-38.485283 -3.706038)'))) / (select extract(epoch from '2026-07-07 13:11:12'::timestamp) - extract(epoch from '2026-07-07 13:11:04'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.485285 -3.706227)', '2026-07-07 13:11:20', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485283 -3.706038)'), GeomFromEWKT('SRID=4674;POINT (-38.485285 -3.706227)'))) / (select extract(epoch from '2026-07-07 13:11:20'::timestamp) - extract(epoch from '2026-07-07 13:11:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485283 -3.706038)'), GeomFromEWKT('SRID=4674;POINT (-38.485285 -3.706227)'))) / (select extract(epoch from '2026-07-07 13:11:20'::timestamp) - extract(epoch from '2026-07-07 13:11:12'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.485302 -3.70642)', '2026-07-07 13:11:28', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485285 -3.706227)'), GeomFromEWKT('SRID=4674;POINT (-38.485302 -3.70642)'))) / (select extract(epoch from '2026-07-07 13:11:28'::timestamp) - extract(epoch from '2026-07-07 13:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485285 -3.706227)'), GeomFromEWKT('SRID=4674;POINT (-38.485302 -3.70642)'))) / (select extract(epoch from '2026-07-07 13:11:28'::timestamp) - extract(epoch from '2026-07-07 13:11:20'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.485304 -3.706443)', '2026-07-07 13:11:29', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485302 -3.70642)'), GeomFromEWKT('SRID=4674;POINT (-38.485304 -3.706443)'))) / (select extract(epoch from '2026-07-07 13:11:29'::timestamp) - extract(epoch from '2026-07-07 13:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485302 -3.70642)'), GeomFromEWKT('SRID=4674;POINT (-38.485304 -3.706443)'))) / (select extract(epoch from '2026-07-07 13:11:29'::timestamp) - extract(epoch from '2026-07-07 13:11:28'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.485314 -3.706614)', '2026-07-07 13:11:36', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485304 -3.706443)'), GeomFromEWKT('SRID=4674;POINT (-38.485314 -3.706614)'))) / (select extract(epoch from '2026-07-07 13:11:36'::timestamp) - extract(epoch from '2026-07-07 13:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485304 -3.706443)'), GeomFromEWKT('SRID=4674;POINT (-38.485314 -3.706614)'))) / (select extract(epoch from '2026-07-07 13:11:36'::timestamp) - extract(epoch from '2026-07-07 13:11:29'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.485295 -3.706793)', '2026-07-07 13:11:44', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485314 -3.706614)'), GeomFromEWKT('SRID=4674;POINT (-38.485295 -3.706793)'))) / (select extract(epoch from '2026-07-07 13:11:44'::timestamp) - extract(epoch from '2026-07-07 13:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485314 -3.706614)'), GeomFromEWKT('SRID=4674;POINT (-38.485295 -3.706793)'))) / (select extract(epoch from '2026-07-07 13:11:44'::timestamp) - extract(epoch from '2026-07-07 13:11:36'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.485333 -3.706953)', '2026-07-07 13:11:51', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485295 -3.706793)'), GeomFromEWKT('SRID=4674;POINT (-38.485333 -3.706953)'))) / (select extract(epoch from '2026-07-07 13:11:51'::timestamp) - extract(epoch from '2026-07-07 13:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485295 -3.706793)'), GeomFromEWKT('SRID=4674;POINT (-38.485333 -3.706953)'))) / (select extract(epoch from '2026-07-07 13:11:51'::timestamp) - extract(epoch from '2026-07-07 13:11:44'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.485332 -3.707118)', '2026-07-07 13:11:58', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485333 -3.706953)'), GeomFromEWKT('SRID=4674;POINT (-38.485332 -3.707118)'))) / (select extract(epoch from '2026-07-07 13:11:58'::timestamp) - extract(epoch from '2026-07-07 13:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485333 -3.706953)'), GeomFromEWKT('SRID=4674;POINT (-38.485332 -3.707118)'))) / (select extract(epoch from '2026-07-07 13:11:58'::timestamp) - extract(epoch from '2026-07-07 13:11:51'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.485344 -3.707302)', '2026-07-07 13:12:06', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485332 -3.707118)'), GeomFromEWKT('SRID=4674;POINT (-38.485344 -3.707302)'))) / (select extract(epoch from '2026-07-07 13:12:06'::timestamp) - extract(epoch from '2026-07-07 13:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485332 -3.707118)'), GeomFromEWKT('SRID=4674;POINT (-38.485344 -3.707302)'))) / (select extract(epoch from '2026-07-07 13:12:06'::timestamp) - extract(epoch from '2026-07-07 13:11:58'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.485348 -3.707326)', '2026-07-07 13:12:07', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485344 -3.707302)'), GeomFromEWKT('SRID=4674;POINT (-38.485348 -3.707326)'))) / (select extract(epoch from '2026-07-07 13:12:07'::timestamp) - extract(epoch from '2026-07-07 13:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485344 -3.707302)'), GeomFromEWKT('SRID=4674;POINT (-38.485348 -3.707326)'))) / (select extract(epoch from '2026-07-07 13:12:07'::timestamp) - extract(epoch from '2026-07-07 13:12:06'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.485365 -3.707491)', '2026-07-07 13:12:14', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485348 -3.707326)'), GeomFromEWKT('SRID=4674;POINT (-38.485365 -3.707491)'))) / (select extract(epoch from '2026-07-07 13:12:14'::timestamp) - extract(epoch from '2026-07-07 13:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485348 -3.707326)'), GeomFromEWKT('SRID=4674;POINT (-38.485365 -3.707491)'))) / (select extract(epoch from '2026-07-07 13:12:14'::timestamp) - extract(epoch from '2026-07-07 13:12:07'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.485352 -3.707673)', '2026-07-07 13:12:22', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485365 -3.707491)'), GeomFromEWKT('SRID=4674;POINT (-38.485352 -3.707673)'))) / (select extract(epoch from '2026-07-07 13:12:22'::timestamp) - extract(epoch from '2026-07-07 13:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485365 -3.707491)'), GeomFromEWKT('SRID=4674;POINT (-38.485352 -3.707673)'))) / (select extract(epoch from '2026-07-07 13:12:22'::timestamp) - extract(epoch from '2026-07-07 13:12:14'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.485333 -3.707853)', '2026-07-07 13:12:30', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485352 -3.707673)'), GeomFromEWKT('SRID=4674;POINT (-38.485333 -3.707853)'))) / (select extract(epoch from '2026-07-07 13:12:30'::timestamp) - extract(epoch from '2026-07-07 13:12:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485352 -3.707673)'), GeomFromEWKT('SRID=4674;POINT (-38.485333 -3.707853)'))) / (select extract(epoch from '2026-07-07 13:12:30'::timestamp) - extract(epoch from '2026-07-07 13:12:22'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.485332 -3.707877)', '2026-07-07 13:12:31', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485333 -3.707853)'), GeomFromEWKT('SRID=4674;POINT (-38.485332 -3.707877)'))) / (select extract(epoch from '2026-07-07 13:12:31'::timestamp) - extract(epoch from '2026-07-07 13:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485333 -3.707853)'), GeomFromEWKT('SRID=4674;POINT (-38.485332 -3.707877)'))) / (select extract(epoch from '2026-07-07 13:12:31'::timestamp) - extract(epoch from '2026-07-07 13:12:30'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.485305 -3.708056)', '2026-07-07 13:12:39', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485332 -3.707877)'), GeomFromEWKT('SRID=4674;POINT (-38.485305 -3.708056)'))) / (select extract(epoch from '2026-07-07 13:12:39'::timestamp) - extract(epoch from '2026-07-07 13:12:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485332 -3.707877)'), GeomFromEWKT('SRID=4674;POINT (-38.485305 -3.708056)'))) / (select extract(epoch from '2026-07-07 13:12:39'::timestamp) - extract(epoch from '2026-07-07 13:12:31'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.4853 -3.70808)', '2026-07-07 13:12:40', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485305 -3.708056)'), GeomFromEWKT('SRID=4674;POINT (-38.4853 -3.70808)'))) / (select extract(epoch from '2026-07-07 13:12:40'::timestamp) - extract(epoch from '2026-07-07 13:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485305 -3.708056)'), GeomFromEWKT('SRID=4674;POINT (-38.4853 -3.70808)'))) / (select extract(epoch from '2026-07-07 13:12:40'::timestamp) - extract(epoch from '2026-07-07 13:12:39'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.48527 -3.708259)', '2026-07-07 13:12:48', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4853 -3.70808)'), GeomFromEWKT('SRID=4674;POINT (-38.48527 -3.708259)'))) / (select extract(epoch from '2026-07-07 13:12:48'::timestamp) - extract(epoch from '2026-07-07 13:12:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4853 -3.70808)'), GeomFromEWKT('SRID=4674;POINT (-38.48527 -3.708259)'))) / (select extract(epoch from '2026-07-07 13:12:48'::timestamp) - extract(epoch from '2026-07-07 13:12:40'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.485266 -3.708283)', '2026-07-07 13:12:49', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48527 -3.708259)'), GeomFromEWKT('SRID=4674;POINT (-38.485266 -3.708283)'))) / (select extract(epoch from '2026-07-07 13:12:49'::timestamp) - extract(epoch from '2026-07-07 13:12:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48527 -3.708259)'), GeomFromEWKT('SRID=4674;POINT (-38.485266 -3.708283)'))) / (select extract(epoch from '2026-07-07 13:12:49'::timestamp) - extract(epoch from '2026-07-07 13:12:48'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.485261 -3.708438)', '2026-07-07 13:12:56', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485266 -3.708283)'), GeomFromEWKT('SRID=4674;POINT (-38.485261 -3.708438)'))) / (select extract(epoch from '2026-07-07 13:12:56'::timestamp) - extract(epoch from '2026-07-07 13:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485266 -3.708283)'), GeomFromEWKT('SRID=4674;POINT (-38.485261 -3.708438)'))) / (select extract(epoch from '2026-07-07 13:12:56'::timestamp) - extract(epoch from '2026-07-07 13:12:49'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.485334 -3.708604)', '2026-07-07 13:13:04', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485261 -3.708438)'), GeomFromEWKT('SRID=4674;POINT (-38.485334 -3.708604)'))) / (select extract(epoch from '2026-07-07 13:13:04'::timestamp) - extract(epoch from '2026-07-07 13:12:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485261 -3.708438)'), GeomFromEWKT('SRID=4674;POINT (-38.485334 -3.708604)'))) / (select extract(epoch from '2026-07-07 13:13:04'::timestamp) - extract(epoch from '2026-07-07 13:12:56'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.485337 -3.708763)', '2026-07-07 13:13:11', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485334 -3.708604)'), GeomFromEWKT('SRID=4674;POINT (-38.485337 -3.708763)'))) / (select extract(epoch from '2026-07-07 13:13:11'::timestamp) - extract(epoch from '2026-07-07 13:13:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485334 -3.708604)'), GeomFromEWKT('SRID=4674;POINT (-38.485337 -3.708763)'))) / (select extract(epoch from '2026-07-07 13:13:11'::timestamp) - extract(epoch from '2026-07-07 13:13:04'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.485281 -3.708941)', '2026-07-07 13:13:19', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485337 -3.708763)'), GeomFromEWKT('SRID=4674;POINT (-38.485281 -3.708941)'))) / (select extract(epoch from '2026-07-07 13:13:19'::timestamp) - extract(epoch from '2026-07-07 13:13:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485337 -3.708763)'), GeomFromEWKT('SRID=4674;POINT (-38.485281 -3.708941)'))) / (select extract(epoch from '2026-07-07 13:13:19'::timestamp) - extract(epoch from '2026-07-07 13:13:11'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.485172 -3.709078)', '2026-07-07 13:13:27', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485281 -3.708941)'), GeomFromEWKT('SRID=4674;POINT (-38.485172 -3.709078)'))) / (select extract(epoch from '2026-07-07 13:13:27'::timestamp) - extract(epoch from '2026-07-07 13:13:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485281 -3.708941)'), GeomFromEWKT('SRID=4674;POINT (-38.485172 -3.709078)'))) / (select extract(epoch from '2026-07-07 13:13:27'::timestamp) - extract(epoch from '2026-07-07 13:13:19'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.485028 -3.709091)', '2026-07-07 13:13:34', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485172 -3.709078)'), GeomFromEWKT('SRID=4674;POINT (-38.485028 -3.709091)'))) / (select extract(epoch from '2026-07-07 13:13:34'::timestamp) - extract(epoch from '2026-07-07 13:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485172 -3.709078)'), GeomFromEWKT('SRID=4674;POINT (-38.485028 -3.709091)'))) / (select extract(epoch from '2026-07-07 13:13:34'::timestamp) - extract(epoch from '2026-07-07 13:13:27'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.48483 -3.70911)', '2026-07-07 13:13:43', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485028 -3.709091)'), GeomFromEWKT('SRID=4674;POINT (-38.48483 -3.70911)'))) / (select extract(epoch from '2026-07-07 13:13:43'::timestamp) - extract(epoch from '2026-07-07 13:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485028 -3.709091)'), GeomFromEWKT('SRID=4674;POINT (-38.48483 -3.70911)'))) / (select extract(epoch from '2026-07-07 13:13:43'::timestamp) - extract(epoch from '2026-07-07 13:13:34'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.484809 -3.709118)', '2026-07-07 13:13:44', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48483 -3.70911)'), GeomFromEWKT('SRID=4674;POINT (-38.484809 -3.709118)'))) / (select extract(epoch from '2026-07-07 13:13:44'::timestamp) - extract(epoch from '2026-07-07 13:13:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48483 -3.70911)'), GeomFromEWKT('SRID=4674;POINT (-38.484809 -3.709118)'))) / (select extract(epoch from '2026-07-07 13:13:44'::timestamp) - extract(epoch from '2026-07-07 13:13:43'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.484653 -3.709209)', '2026-07-07 13:13:52', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484809 -3.709118)'), GeomFromEWKT('SRID=4674;POINT (-38.484653 -3.709209)'))) / (select extract(epoch from '2026-07-07 13:13:52'::timestamp) - extract(epoch from '2026-07-07 13:13:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484809 -3.709118)'), GeomFromEWKT('SRID=4674;POINT (-38.484653 -3.709209)'))) / (select extract(epoch from '2026-07-07 13:13:52'::timestamp) - extract(epoch from '2026-07-07 13:13:44'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.484634 -3.709226)', '2026-07-07 13:13:53', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484653 -3.709209)'), GeomFromEWKT('SRID=4674;POINT (-38.484634 -3.709226)'))) / (select extract(epoch from '2026-07-07 13:13:53'::timestamp) - extract(epoch from '2026-07-07 13:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484653 -3.709209)'), GeomFromEWKT('SRID=4674;POINT (-38.484634 -3.709226)'))) / (select extract(epoch from '2026-07-07 13:13:53'::timestamp) - extract(epoch from '2026-07-07 13:13:52'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.484481 -3.709349)', '2026-07-07 13:14:01', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484634 -3.709226)'), GeomFromEWKT('SRID=4674;POINT (-38.484481 -3.709349)'))) / (select extract(epoch from '2026-07-07 13:14:01'::timestamp) - extract(epoch from '2026-07-07 13:13:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484634 -3.709226)'), GeomFromEWKT('SRID=4674;POINT (-38.484481 -3.709349)'))) / (select extract(epoch from '2026-07-07 13:14:01'::timestamp) - extract(epoch from '2026-07-07 13:13:53'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.484463 -3.709361)', '2026-07-07 13:14:02', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484481 -3.709349)'), GeomFromEWKT('SRID=4674;POINT (-38.484463 -3.709361)'))) / (select extract(epoch from '2026-07-07 13:14:02'::timestamp) - extract(epoch from '2026-07-07 13:14:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484481 -3.709349)'), GeomFromEWKT('SRID=4674;POINT (-38.484463 -3.709361)'))) / (select extract(epoch from '2026-07-07 13:14:02'::timestamp) - extract(epoch from '2026-07-07 13:14:01'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.484335 -3.709491)', '2026-07-07 13:14:10', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484463 -3.709361)'), GeomFromEWKT('SRID=4674;POINT (-38.484335 -3.709491)'))) / (select extract(epoch from '2026-07-07 13:14:10'::timestamp) - extract(epoch from '2026-07-07 13:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484463 -3.709361)'), GeomFromEWKT('SRID=4674;POINT (-38.484335 -3.709491)'))) / (select extract(epoch from '2026-07-07 13:14:10'::timestamp) - extract(epoch from '2026-07-07 13:14:02'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.484229 -3.709654)', '2026-07-07 13:14:18', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484335 -3.709491)'), GeomFromEWKT('SRID=4674;POINT (-38.484229 -3.709654)'))) / (select extract(epoch from '2026-07-07 13:14:18'::timestamp) - extract(epoch from '2026-07-07 13:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484335 -3.709491)'), GeomFromEWKT('SRID=4674;POINT (-38.484229 -3.709654)'))) / (select extract(epoch from '2026-07-07 13:14:18'::timestamp) - extract(epoch from '2026-07-07 13:14:10'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.484152 -3.709796)', '2026-07-07 13:14:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484229 -3.709654)'), GeomFromEWKT('SRID=4674;POINT (-38.484152 -3.709796)'))) / (select extract(epoch from '2026-07-07 13:14:25'::timestamp) - extract(epoch from '2026-07-07 13:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484229 -3.709654)'), GeomFromEWKT('SRID=4674;POINT (-38.484152 -3.709796)'))) / (select extract(epoch from '2026-07-07 13:14:25'::timestamp) - extract(epoch from '2026-07-07 13:14:18'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.484045 -3.709946)', '2026-07-07 13:14:33', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484152 -3.709796)'), GeomFromEWKT('SRID=4674;POINT (-38.484045 -3.709946)'))) / (select extract(epoch from '2026-07-07 13:14:33'::timestamp) - extract(epoch from '2026-07-07 13:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484152 -3.709796)'), GeomFromEWKT('SRID=4674;POINT (-38.484045 -3.709946)'))) / (select extract(epoch from '2026-07-07 13:14:33'::timestamp) - extract(epoch from '2026-07-07 13:14:25'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.484031 -3.709965)', '2026-07-07 13:14:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484045 -3.709946)'), GeomFromEWKT('SRID=4674;POINT (-38.484031 -3.709965)'))) / (select extract(epoch from '2026-07-07 13:14:34'::timestamp) - extract(epoch from '2026-07-07 13:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484045 -3.709946)'), GeomFromEWKT('SRID=4674;POINT (-38.484031 -3.709965)'))) / (select extract(epoch from '2026-07-07 13:14:34'::timestamp) - extract(epoch from '2026-07-07 13:14:33'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483923 -3.710091)', '2026-07-07 13:14:41', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484031 -3.709965)'), GeomFromEWKT('SRID=4674;POINT (-38.483923 -3.710091)'))) / (select extract(epoch from '2026-07-07 13:14:41'::timestamp) - extract(epoch from '2026-07-07 13:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484031 -3.709965)'), GeomFromEWKT('SRID=4674;POINT (-38.483923 -3.710091)'))) / (select extract(epoch from '2026-07-07 13:14:41'::timestamp) - extract(epoch from '2026-07-07 13:14:34'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483789 -3.71023)', '2026-07-07 13:14:49', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483923 -3.710091)'), GeomFromEWKT('SRID=4674;POINT (-38.483789 -3.71023)'))) / (select extract(epoch from '2026-07-07 13:14:49'::timestamp) - extract(epoch from '2026-07-07 13:14:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483923 -3.710091)'), GeomFromEWKT('SRID=4674;POINT (-38.483789 -3.71023)'))) / (select extract(epoch from '2026-07-07 13:14:49'::timestamp) - extract(epoch from '2026-07-07 13:14:41'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483774 -3.710249)', '2026-07-07 13:14:50', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483789 -3.71023)'), GeomFromEWKT('SRID=4674;POINT (-38.483774 -3.710249)'))) / (select extract(epoch from '2026-07-07 13:14:50'::timestamp) - extract(epoch from '2026-07-07 13:14:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483789 -3.71023)'), GeomFromEWKT('SRID=4674;POINT (-38.483774 -3.710249)'))) / (select extract(epoch from '2026-07-07 13:14:50'::timestamp) - extract(epoch from '2026-07-07 13:14:49'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483677 -3.71038)', '2026-07-07 13:14:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483774 -3.710249)'), GeomFromEWKT('SRID=4674;POINT (-38.483677 -3.71038)'))) / (select extract(epoch from '2026-07-07 13:14:57'::timestamp) - extract(epoch from '2026-07-07 13:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483774 -3.710249)'), GeomFromEWKT('SRID=4674;POINT (-38.483677 -3.71038)'))) / (select extract(epoch from '2026-07-07 13:14:57'::timestamp) - extract(epoch from '2026-07-07 13:14:50'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483572 -3.710537)', '2026-07-07 13:15:05', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483677 -3.71038)'), GeomFromEWKT('SRID=4674;POINT (-38.483572 -3.710537)'))) / (select extract(epoch from '2026-07-07 13:15:05'::timestamp) - extract(epoch from '2026-07-07 13:14:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483677 -3.71038)'), GeomFromEWKT('SRID=4674;POINT (-38.483572 -3.710537)'))) / (select extract(epoch from '2026-07-07 13:15:05'::timestamp) - extract(epoch from '2026-07-07 13:14:57'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483558 -3.71056)', '2026-07-07 13:15:06', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483572 -3.710537)'), GeomFromEWKT('SRID=4674;POINT (-38.483558 -3.71056)'))) / (select extract(epoch from '2026-07-07 13:15:06'::timestamp) - extract(epoch from '2026-07-07 13:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483572 -3.710537)'), GeomFromEWKT('SRID=4674;POINT (-38.483558 -3.71056)'))) / (select extract(epoch from '2026-07-07 13:15:06'::timestamp) - extract(epoch from '2026-07-07 13:15:05'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483481 -3.710729)', '2026-07-07 13:15:14', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483558 -3.71056)'), GeomFromEWKT('SRID=4674;POINT (-38.483481 -3.710729)'))) / (select extract(epoch from '2026-07-07 13:15:14'::timestamp) - extract(epoch from '2026-07-07 13:15:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483558 -3.71056)'), GeomFromEWKT('SRID=4674;POINT (-38.483481 -3.710729)'))) / (select extract(epoch from '2026-07-07 13:15:14'::timestamp) - extract(epoch from '2026-07-07 13:15:06'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483416 -3.710894)', '2026-07-07 13:15:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483481 -3.710729)'), GeomFromEWKT('SRID=4674;POINT (-38.483416 -3.710894)'))) / (select extract(epoch from '2026-07-07 13:15:22'::timestamp) - extract(epoch from '2026-07-07 13:15:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483481 -3.710729)'), GeomFromEWKT('SRID=4674;POINT (-38.483416 -3.710894)'))) / (select extract(epoch from '2026-07-07 13:15:22'::timestamp) - extract(epoch from '2026-07-07 13:15:14'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483407 -3.711082)', '2026-07-07 13:15:30', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483416 -3.710894)'), GeomFromEWKT('SRID=4674;POINT (-38.483407 -3.711082)'))) / (select extract(epoch from '2026-07-07 13:15:30'::timestamp) - extract(epoch from '2026-07-07 13:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483416 -3.710894)'), GeomFromEWKT('SRID=4674;POINT (-38.483407 -3.711082)'))) / (select extract(epoch from '2026-07-07 13:15:30'::timestamp) - extract(epoch from '2026-07-07 13:15:22'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483407 -3.711104)', '2026-07-07 13:15:31', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483407 -3.711082)'), GeomFromEWKT('SRID=4674;POINT (-38.483407 -3.711104)'))) / (select extract(epoch from '2026-07-07 13:15:31'::timestamp) - extract(epoch from '2026-07-07 13:15:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483407 -3.711082)'), GeomFromEWKT('SRID=4674;POINT (-38.483407 -3.711104)'))) / (select extract(epoch from '2026-07-07 13:15:31'::timestamp) - extract(epoch from '2026-07-07 13:15:30'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483423 -3.711296)', '2026-07-07 13:15:39', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483407 -3.711104)'), GeomFromEWKT('SRID=4674;POINT (-38.483423 -3.711296)'))) / (select extract(epoch from '2026-07-07 13:15:39'::timestamp) - extract(epoch from '2026-07-07 13:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483407 -3.711104)'), GeomFromEWKT('SRID=4674;POINT (-38.483423 -3.711296)'))) / (select extract(epoch from '2026-07-07 13:15:39'::timestamp) - extract(epoch from '2026-07-07 13:15:31'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483425 -3.711342)', '2026-07-07 13:15:41', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483423 -3.711296)'), GeomFromEWKT('SRID=4674;POINT (-38.483425 -3.711342)'))) / (select extract(epoch from '2026-07-07 13:15:41'::timestamp) - extract(epoch from '2026-07-07 13:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483423 -3.711296)'), GeomFromEWKT('SRID=4674;POINT (-38.483425 -3.711342)'))) / (select extract(epoch from '2026-07-07 13:15:41'::timestamp) - extract(epoch from '2026-07-07 13:15:39'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483434 -3.711535)', '2026-07-07 13:15:49', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483425 -3.711342)'), GeomFromEWKT('SRID=4674;POINT (-38.483434 -3.711535)'))) / (select extract(epoch from '2026-07-07 13:15:49'::timestamp) - extract(epoch from '2026-07-07 13:15:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483425 -3.711342)'), GeomFromEWKT('SRID=4674;POINT (-38.483434 -3.711535)'))) / (select extract(epoch from '2026-07-07 13:15:49'::timestamp) - extract(epoch from '2026-07-07 13:15:41'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483441 -3.711585)', '2026-07-07 13:15:51', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483434 -3.711535)'), GeomFromEWKT('SRID=4674;POINT (-38.483441 -3.711585)'))) / (select extract(epoch from '2026-07-07 13:15:51'::timestamp) - extract(epoch from '2026-07-07 13:15:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483434 -3.711535)'), GeomFromEWKT('SRID=4674;POINT (-38.483441 -3.711585)'))) / (select extract(epoch from '2026-07-07 13:15:51'::timestamp) - extract(epoch from '2026-07-07 13:15:49'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483465 -3.711779)', '2026-07-07 13:15:59', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483441 -3.711585)'), GeomFromEWKT('SRID=4674;POINT (-38.483465 -3.711779)'))) / (select extract(epoch from '2026-07-07 13:15:59'::timestamp) - extract(epoch from '2026-07-07 13:15:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483441 -3.711585)'), GeomFromEWKT('SRID=4674;POINT (-38.483465 -3.711779)'))) / (select extract(epoch from '2026-07-07 13:15:59'::timestamp) - extract(epoch from '2026-07-07 13:15:51'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483507 -3.711964)', '2026-07-07 13:16:07', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483465 -3.711779)'), GeomFromEWKT('SRID=4674;POINT (-38.483507 -3.711964)'))) / (select extract(epoch from '2026-07-07 13:16:07'::timestamp) - extract(epoch from '2026-07-07 13:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483465 -3.711779)'), GeomFromEWKT('SRID=4674;POINT (-38.483507 -3.711964)'))) / (select extract(epoch from '2026-07-07 13:16:07'::timestamp) - extract(epoch from '2026-07-07 13:15:59'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483513 -3.71201)', '2026-07-07 13:16:09', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483507 -3.711964)'), GeomFromEWKT('SRID=4674;POINT (-38.483513 -3.71201)'))) / (select extract(epoch from '2026-07-07 13:16:09'::timestamp) - extract(epoch from '2026-07-07 13:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483507 -3.711964)'), GeomFromEWKT('SRID=4674;POINT (-38.483513 -3.71201)'))) / (select extract(epoch from '2026-07-07 13:16:09'::timestamp) - extract(epoch from '2026-07-07 13:16:07'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483543 -3.7122)', '2026-07-07 13:16:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483513 -3.71201)'), GeomFromEWKT('SRID=4674;POINT (-38.483543 -3.7122)'))) / (select extract(epoch from '2026-07-07 13:16:17'::timestamp) - extract(epoch from '2026-07-07 13:16:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483513 -3.71201)'), GeomFromEWKT('SRID=4674;POINT (-38.483543 -3.7122)'))) / (select extract(epoch from '2026-07-07 13:16:17'::timestamp) - extract(epoch from '2026-07-07 13:16:09'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483545 -3.712223)', '2026-07-07 13:16:18', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483543 -3.7122)'), GeomFromEWKT('SRID=4674;POINT (-38.483545 -3.712223)'))) / (select extract(epoch from '2026-07-07 13:16:18'::timestamp) - extract(epoch from '2026-07-07 13:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483543 -3.7122)'), GeomFromEWKT('SRID=4674;POINT (-38.483545 -3.712223)'))) / (select extract(epoch from '2026-07-07 13:16:18'::timestamp) - extract(epoch from '2026-07-07 13:16:17'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483562 -3.71241)', '2026-07-07 13:16:26', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483545 -3.712223)'), GeomFromEWKT('SRID=4674;POINT (-38.483562 -3.71241)'))) / (select extract(epoch from '2026-07-07 13:16:26'::timestamp) - extract(epoch from '2026-07-07 13:16:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483545 -3.712223)'), GeomFromEWKT('SRID=4674;POINT (-38.483562 -3.71241)'))) / (select extract(epoch from '2026-07-07 13:16:26'::timestamp) - extract(epoch from '2026-07-07 13:16:18'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483565 -3.712457)', '2026-07-07 13:16:28', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483562 -3.71241)'), GeomFromEWKT('SRID=4674;POINT (-38.483565 -3.712457)'))) / (select extract(epoch from '2026-07-07 13:16:28'::timestamp) - extract(epoch from '2026-07-07 13:16:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483562 -3.71241)'), GeomFromEWKT('SRID=4674;POINT (-38.483565 -3.712457)'))) / (select extract(epoch from '2026-07-07 13:16:28'::timestamp) - extract(epoch from '2026-07-07 13:16:26'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483574 -3.712641)', '2026-07-07 13:16:36', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483565 -3.712457)'), GeomFromEWKT('SRID=4674;POINT (-38.483574 -3.712641)'))) / (select extract(epoch from '2026-07-07 13:16:36'::timestamp) - extract(epoch from '2026-07-07 13:16:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483565 -3.712457)'), GeomFromEWKT('SRID=4674;POINT (-38.483574 -3.712641)'))) / (select extract(epoch from '2026-07-07 13:16:36'::timestamp) - extract(epoch from '2026-07-07 13:16:28'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483572 -3.712711)', '2026-07-07 13:16:39', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483574 -3.712641)'), GeomFromEWKT('SRID=4674;POINT (-38.483572 -3.712711)'))) / (select extract(epoch from '2026-07-07 13:16:39'::timestamp) - extract(epoch from '2026-07-07 13:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483574 -3.712641)'), GeomFromEWKT('SRID=4674;POINT (-38.483572 -3.712711)'))) / (select extract(epoch from '2026-07-07 13:16:39'::timestamp) - extract(epoch from '2026-07-07 13:16:36'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483577 -3.712898)', '2026-07-07 13:16:47', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483572 -3.712711)'), GeomFromEWKT('SRID=4674;POINT (-38.483577 -3.712898)'))) / (select extract(epoch from '2026-07-07 13:16:47'::timestamp) - extract(epoch from '2026-07-07 13:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483572 -3.712711)'), GeomFromEWKT('SRID=4674;POINT (-38.483577 -3.712898)'))) / (select extract(epoch from '2026-07-07 13:16:47'::timestamp) - extract(epoch from '2026-07-07 13:16:39'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483578 -3.712947)', '2026-07-07 13:16:49', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483577 -3.712898)'), GeomFromEWKT('SRID=4674;POINT (-38.483578 -3.712947)'))) / (select extract(epoch from '2026-07-07 13:16:49'::timestamp) - extract(epoch from '2026-07-07 13:16:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483577 -3.712898)'), GeomFromEWKT('SRID=4674;POINT (-38.483578 -3.712947)'))) / (select extract(epoch from '2026-07-07 13:16:49'::timestamp) - extract(epoch from '2026-07-07 13:16:47'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483573 -3.713132)', '2026-07-07 13:16:57', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483578 -3.712947)'), GeomFromEWKT('SRID=4674;POINT (-38.483573 -3.713132)'))) / (select extract(epoch from '2026-07-07 13:16:57'::timestamp) - extract(epoch from '2026-07-07 13:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483578 -3.712947)'), GeomFromEWKT('SRID=4674;POINT (-38.483573 -3.713132)'))) / (select extract(epoch from '2026-07-07 13:16:57'::timestamp) - extract(epoch from '2026-07-07 13:16:49'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483565 -3.713324)', '2026-07-07 13:17:05', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483573 -3.713132)'), GeomFromEWKT('SRID=4674;POINT (-38.483565 -3.713324)'))) / (select extract(epoch from '2026-07-07 13:17:05'::timestamp) - extract(epoch from '2026-07-07 13:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483573 -3.713132)'), GeomFromEWKT('SRID=4674;POINT (-38.483565 -3.713324)'))) / (select extract(epoch from '2026-07-07 13:17:05'::timestamp) - extract(epoch from '2026-07-07 13:16:57'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483566 -3.713347)', '2026-07-07 13:17:06', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483565 -3.713324)'), GeomFromEWKT('SRID=4674;POINT (-38.483566 -3.713347)'))) / (select extract(epoch from '2026-07-07 13:17:06'::timestamp) - extract(epoch from '2026-07-07 13:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483565 -3.713324)'), GeomFromEWKT('SRID=4674;POINT (-38.483566 -3.713347)'))) / (select extract(epoch from '2026-07-07 13:17:06'::timestamp) - extract(epoch from '2026-07-07 13:17:05'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483561 -3.713536)', '2026-07-07 13:17:14', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483566 -3.713347)'), GeomFromEWKT('SRID=4674;POINT (-38.483561 -3.713536)'))) / (select extract(epoch from '2026-07-07 13:17:14'::timestamp) - extract(epoch from '2026-07-07 13:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483566 -3.713347)'), GeomFromEWKT('SRID=4674;POINT (-38.483561 -3.713536)'))) / (select extract(epoch from '2026-07-07 13:17:14'::timestamp) - extract(epoch from '2026-07-07 13:17:06'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483559 -3.713607)', '2026-07-07 13:17:17', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483561 -3.713536)'), GeomFromEWKT('SRID=4674;POINT (-38.483559 -3.713607)'))) / (select extract(epoch from '2026-07-07 13:17:17'::timestamp) - extract(epoch from '2026-07-07 13:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483561 -3.713536)'), GeomFromEWKT('SRID=4674;POINT (-38.483559 -3.713607)'))) / (select extract(epoch from '2026-07-07 13:17:17'::timestamp) - extract(epoch from '2026-07-07 13:17:14'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483544 -3.713796)', '2026-07-07 13:17:25', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483559 -3.713607)'), GeomFromEWKT('SRID=4674;POINT (-38.483544 -3.713796)'))) / (select extract(epoch from '2026-07-07 13:17:25'::timestamp) - extract(epoch from '2026-07-07 13:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483559 -3.713607)'), GeomFromEWKT('SRID=4674;POINT (-38.483544 -3.713796)'))) / (select extract(epoch from '2026-07-07 13:17:25'::timestamp) - extract(epoch from '2026-07-07 13:17:17'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483534 -3.713913)', '2026-07-07 13:17:30', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483544 -3.713796)'), GeomFromEWKT('SRID=4674;POINT (-38.483534 -3.713913)'))) / (select extract(epoch from '2026-07-07 13:17:30'::timestamp) - extract(epoch from '2026-07-07 13:17:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483544 -3.713796)'), GeomFromEWKT('SRID=4674;POINT (-38.483534 -3.713913)'))) / (select extract(epoch from '2026-07-07 13:17:30'::timestamp) - extract(epoch from '2026-07-07 13:17:25'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483511 -3.714101)', '2026-07-07 13:17:38', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483534 -3.713913)'), GeomFromEWKT('SRID=4674;POINT (-38.483511 -3.714101)'))) / (select extract(epoch from '2026-07-07 13:17:38'::timestamp) - extract(epoch from '2026-07-07 13:17:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483534 -3.713913)'), GeomFromEWKT('SRID=4674;POINT (-38.483511 -3.714101)'))) / (select extract(epoch from '2026-07-07 13:17:38'::timestamp) - extract(epoch from '2026-07-07 13:17:30'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483501 -3.714168)', '2026-07-07 13:17:41', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483511 -3.714101)'), GeomFromEWKT('SRID=4674;POINT (-38.483501 -3.714168)'))) / (select extract(epoch from '2026-07-07 13:17:41'::timestamp) - extract(epoch from '2026-07-07 13:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483511 -3.714101)'), GeomFromEWKT('SRID=4674;POINT (-38.483501 -3.714168)'))) / (select extract(epoch from '2026-07-07 13:17:41'::timestamp) - extract(epoch from '2026-07-07 13:17:38'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.48348 -3.714355)', '2026-07-07 13:17:49', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483501 -3.714168)'), GeomFromEWKT('SRID=4674;POINT (-38.48348 -3.714355)'))) / (select extract(epoch from '2026-07-07 13:17:49'::timestamp) - extract(epoch from '2026-07-07 13:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483501 -3.714168)'), GeomFromEWKT('SRID=4674;POINT (-38.48348 -3.714355)'))) / (select extract(epoch from '2026-07-07 13:17:49'::timestamp) - extract(epoch from '2026-07-07 13:17:41'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483474 -3.714399)', '2026-07-07 13:17:51', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48348 -3.714355)'), GeomFromEWKT('SRID=4674;POINT (-38.483474 -3.714399)'))) / (select extract(epoch from '2026-07-07 13:17:51'::timestamp) - extract(epoch from '2026-07-07 13:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48348 -3.714355)'), GeomFromEWKT('SRID=4674;POINT (-38.483474 -3.714399)'))) / (select extract(epoch from '2026-07-07 13:17:51'::timestamp) - extract(epoch from '2026-07-07 13:17:49'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483441 -3.714581)', '2026-07-07 13:17:59', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483474 -3.714399)'), GeomFromEWKT('SRID=4674;POINT (-38.483441 -3.714581)'))) / (select extract(epoch from '2026-07-07 13:17:59'::timestamp) - extract(epoch from '2026-07-07 13:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483474 -3.714399)'), GeomFromEWKT('SRID=4674;POINT (-38.483441 -3.714581)'))) / (select extract(epoch from '2026-07-07 13:17:59'::timestamp) - extract(epoch from '2026-07-07 13:17:51'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483426 -3.714643)', '2026-07-07 13:18:02', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483441 -3.714581)'), GeomFromEWKT('SRID=4674;POINT (-38.483426 -3.714643)'))) / (select extract(epoch from '2026-07-07 13:18:02'::timestamp) - extract(epoch from '2026-07-07 13:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483441 -3.714581)'), GeomFromEWKT('SRID=4674;POINT (-38.483426 -3.714643)'))) / (select extract(epoch from '2026-07-07 13:18:02'::timestamp) - extract(epoch from '2026-07-07 13:17:59'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483385 -3.714841)', '2026-07-07 13:18:11', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483426 -3.714643)'), GeomFromEWKT('SRID=4674;POINT (-38.483385 -3.714841)'))) / (select extract(epoch from '2026-07-07 13:18:11'::timestamp) - extract(epoch from '2026-07-07 13:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483426 -3.714643)'), GeomFromEWKT('SRID=4674;POINT (-38.483385 -3.714841)'))) / (select extract(epoch from '2026-07-07 13:18:11'::timestamp) - extract(epoch from '2026-07-07 13:18:02'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483384 -3.714864)', '2026-07-07 13:18:12', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483385 -3.714841)'), GeomFromEWKT('SRID=4674;POINT (-38.483384 -3.714864)'))) / (select extract(epoch from '2026-07-07 13:18:12'::timestamp) - extract(epoch from '2026-07-07 13:18:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483385 -3.714841)'), GeomFromEWKT('SRID=4674;POINT (-38.483384 -3.714864)'))) / (select extract(epoch from '2026-07-07 13:18:12'::timestamp) - extract(epoch from '2026-07-07 13:18:11'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483368 -3.715051)', '2026-07-07 13:18:20', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483384 -3.714864)'), GeomFromEWKT('SRID=4674;POINT (-38.483368 -3.715051)'))) / (select extract(epoch from '2026-07-07 13:18:20'::timestamp) - extract(epoch from '2026-07-07 13:18:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483384 -3.714864)'), GeomFromEWKT('SRID=4674;POINT (-38.483368 -3.715051)'))) / (select extract(epoch from '2026-07-07 13:18:20'::timestamp) - extract(epoch from '2026-07-07 13:18:12'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483366 -3.715099)', '2026-07-07 13:18:22', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483368 -3.715051)'), GeomFromEWKT('SRID=4674;POINT (-38.483366 -3.715099)'))) / (select extract(epoch from '2026-07-07 13:18:22'::timestamp) - extract(epoch from '2026-07-07 13:18:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483368 -3.715051)'), GeomFromEWKT('SRID=4674;POINT (-38.483366 -3.715099)'))) / (select extract(epoch from '2026-07-07 13:18:22'::timestamp) - extract(epoch from '2026-07-07 13:18:20'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483354 -3.715285)', '2026-07-07 13:18:30', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483366 -3.715099)'), GeomFromEWKT('SRID=4674;POINT (-38.483354 -3.715285)'))) / (select extract(epoch from '2026-07-07 13:18:30'::timestamp) - extract(epoch from '2026-07-07 13:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483366 -3.715099)'), GeomFromEWKT('SRID=4674;POINT (-38.483354 -3.715285)'))) / (select extract(epoch from '2026-07-07 13:18:30'::timestamp) - extract(epoch from '2026-07-07 13:18:22'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483351 -3.715309)', '2026-07-07 13:18:31', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483354 -3.715285)'), GeomFromEWKT('SRID=4674;POINT (-38.483351 -3.715309)'))) / (select extract(epoch from '2026-07-07 13:18:31'::timestamp) - extract(epoch from '2026-07-07 13:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483354 -3.715285)'), GeomFromEWKT('SRID=4674;POINT (-38.483351 -3.715309)'))) / (select extract(epoch from '2026-07-07 13:18:31'::timestamp) - extract(epoch from '2026-07-07 13:18:30'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483321 -3.715488)', '2026-07-07 13:18:39', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483351 -3.715309)'), GeomFromEWKT('SRID=4674;POINT (-38.483321 -3.715488)'))) / (select extract(epoch from '2026-07-07 13:18:39'::timestamp) - extract(epoch from '2026-07-07 13:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483351 -3.715309)'), GeomFromEWKT('SRID=4674;POINT (-38.483321 -3.715488)'))) / (select extract(epoch from '2026-07-07 13:18:39'::timestamp) - extract(epoch from '2026-07-07 13:18:31'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483312 -3.715535)', '2026-07-07 13:18:41', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483321 -3.715488)'), GeomFromEWKT('SRID=4674;POINT (-38.483312 -3.715535)'))) / (select extract(epoch from '2026-07-07 13:18:41'::timestamp) - extract(epoch from '2026-07-07 13:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483321 -3.715488)'), GeomFromEWKT('SRID=4674;POINT (-38.483312 -3.715535)'))) / (select extract(epoch from '2026-07-07 13:18:41'::timestamp) - extract(epoch from '2026-07-07 13:18:39'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483271 -3.715726)', '2026-07-07 13:18:49', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483312 -3.715535)'), GeomFromEWKT('SRID=4674;POINT (-38.483271 -3.715726)'))) / (select extract(epoch from '2026-07-07 13:18:49'::timestamp) - extract(epoch from '2026-07-07 13:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483312 -3.715535)'), GeomFromEWKT('SRID=4674;POINT (-38.483271 -3.715726)'))) / (select extract(epoch from '2026-07-07 13:18:49'::timestamp) - extract(epoch from '2026-07-07 13:18:41'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483266 -3.715749)', '2026-07-07 13:18:50', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483271 -3.715726)'), GeomFromEWKT('SRID=4674;POINT (-38.483266 -3.715749)'))) / (select extract(epoch from '2026-07-07 13:18:50'::timestamp) - extract(epoch from '2026-07-07 13:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483271 -3.715726)'), GeomFromEWKT('SRID=4674;POINT (-38.483266 -3.715749)'))) / (select extract(epoch from '2026-07-07 13:18:50'::timestamp) - extract(epoch from '2026-07-07 13:18:49'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483227 -3.715927)', '2026-07-07 13:18:58', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483266 -3.715749)'), GeomFromEWKT('SRID=4674;POINT (-38.483227 -3.715927)'))) / (select extract(epoch from '2026-07-07 13:18:58'::timestamp) - extract(epoch from '2026-07-07 13:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483266 -3.715749)'), GeomFromEWKT('SRID=4674;POINT (-38.483227 -3.715927)'))) / (select extract(epoch from '2026-07-07 13:18:58'::timestamp) - extract(epoch from '2026-07-07 13:18:50'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483217 -3.715971)', '2026-07-07 13:19:00', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483227 -3.715927)'), GeomFromEWKT('SRID=4674;POINT (-38.483217 -3.715971)'))) / (select extract(epoch from '2026-07-07 13:19:00'::timestamp) - extract(epoch from '2026-07-07 13:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483227 -3.715927)'), GeomFromEWKT('SRID=4674;POINT (-38.483217 -3.715971)'))) / (select extract(epoch from '2026-07-07 13:19:00'::timestamp) - extract(epoch from '2026-07-07 13:18:58'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483183 -3.716154)', '2026-07-07 13:19:08', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483217 -3.715971)'), GeomFromEWKT('SRID=4674;POINT (-38.483183 -3.716154)'))) / (select extract(epoch from '2026-07-07 13:19:08'::timestamp) - extract(epoch from '2026-07-07 13:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483217 -3.715971)'), GeomFromEWKT('SRID=4674;POINT (-38.483183 -3.716154)'))) / (select extract(epoch from '2026-07-07 13:19:08'::timestamp) - extract(epoch from '2026-07-07 13:19:00'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.48318 -3.716177)', '2026-07-07 13:19:09', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483183 -3.716154)'), GeomFromEWKT('SRID=4674;POINT (-38.48318 -3.716177)'))) / (select extract(epoch from '2026-07-07 13:19:09'::timestamp) - extract(epoch from '2026-07-07 13:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483183 -3.716154)'), GeomFromEWKT('SRID=4674;POINT (-38.48318 -3.716177)'))) / (select extract(epoch from '2026-07-07 13:19:09'::timestamp) - extract(epoch from '2026-07-07 13:19:08'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483111 -3.716366)', '2026-07-07 13:19:18', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48318 -3.716177)'), GeomFromEWKT('SRID=4674;POINT (-38.483111 -3.716366)'))) / (select extract(epoch from '2026-07-07 13:19:18'::timestamp) - extract(epoch from '2026-07-07 13:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48318 -3.716177)'), GeomFromEWKT('SRID=4674;POINT (-38.483111 -3.716366)'))) / (select extract(epoch from '2026-07-07 13:19:18'::timestamp) - extract(epoch from '2026-07-07 13:19:09'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483044 -3.716538)', '2026-07-07 13:19:26', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483111 -3.716366)'), GeomFromEWKT('SRID=4674;POINT (-38.483044 -3.716538)'))) / (select extract(epoch from '2026-07-07 13:19:26'::timestamp) - extract(epoch from '2026-07-07 13:19:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483111 -3.716366)'), GeomFromEWKT('SRID=4674;POINT (-38.483044 -3.716538)'))) / (select extract(epoch from '2026-07-07 13:19:26'::timestamp) - extract(epoch from '2026-07-07 13:19:18'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.483037 -3.716559)', '2026-07-07 13:19:27', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483044 -3.716538)'), GeomFromEWKT('SRID=4674;POINT (-38.483037 -3.716559)'))) / (select extract(epoch from '2026-07-07 13:19:27'::timestamp) - extract(epoch from '2026-07-07 13:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483044 -3.716538)'), GeomFromEWKT('SRID=4674;POINT (-38.483037 -3.716559)'))) / (select extract(epoch from '2026-07-07 13:19:27'::timestamp) - extract(epoch from '2026-07-07 13:19:26'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.482975 -3.716732)', '2026-07-07 13:19:35', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483037 -3.716559)'), GeomFromEWKT('SRID=4674;POINT (-38.482975 -3.716732)'))) / (select extract(epoch from '2026-07-07 13:19:35'::timestamp) - extract(epoch from '2026-07-07 13:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483037 -3.716559)'), GeomFromEWKT('SRID=4674;POINT (-38.482975 -3.716732)'))) / (select extract(epoch from '2026-07-07 13:19:35'::timestamp) - extract(epoch from '2026-07-07 13:19:27'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.482967 -3.716755)', '2026-07-07 13:19:36', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482975 -3.716732)'), GeomFromEWKT('SRID=4674;POINT (-38.482967 -3.716755)'))) / (select extract(epoch from '2026-07-07 13:19:36'::timestamp) - extract(epoch from '2026-07-07 13:19:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482975 -3.716732)'), GeomFromEWKT('SRID=4674;POINT (-38.482967 -3.716755)'))) / (select extract(epoch from '2026-07-07 13:19:36'::timestamp) - extract(epoch from '2026-07-07 13:19:35'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.48292 -3.716929)', '2026-07-07 13:19:44', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482967 -3.716755)'), GeomFromEWKT('SRID=4674;POINT (-38.48292 -3.716929)'))) / (select extract(epoch from '2026-07-07 13:19:44'::timestamp) - extract(epoch from '2026-07-07 13:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482967 -3.716755)'), GeomFromEWKT('SRID=4674;POINT (-38.48292 -3.716929)'))) / (select extract(epoch from '2026-07-07 13:19:44'::timestamp) - extract(epoch from '2026-07-07 13:19:36'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.482875 -3.717109)', '2026-07-07 13:19:52', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48292 -3.716929)'), GeomFromEWKT('SRID=4674;POINT (-38.482875 -3.717109)'))) / (select extract(epoch from '2026-07-07 13:19:52'::timestamp) - extract(epoch from '2026-07-07 13:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48292 -3.716929)'), GeomFromEWKT('SRID=4674;POINT (-38.482875 -3.717109)'))) / (select extract(epoch from '2026-07-07 13:19:52'::timestamp) - extract(epoch from '2026-07-07 13:19:44'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.482865 -3.717178)', '2026-07-07 13:19:55', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482875 -3.717109)'), GeomFromEWKT('SRID=4674;POINT (-38.482865 -3.717178)'))) / (select extract(epoch from '2026-07-07 13:19:55'::timestamp) - extract(epoch from '2026-07-07 13:19:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482875 -3.717109)'), GeomFromEWKT('SRID=4674;POINT (-38.482865 -3.717178)'))) / (select extract(epoch from '2026-07-07 13:19:55'::timestamp) - extract(epoch from '2026-07-07 13:19:52'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.482862 -3.717376)', '2026-07-07 13:20:03', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482865 -3.717178)'), GeomFromEWKT('SRID=4674;POINT (-38.482862 -3.717376)'))) / (select extract(epoch from '2026-07-07 13:20:03'::timestamp) - extract(epoch from '2026-07-07 13:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482865 -3.717178)'), GeomFromEWKT('SRID=4674;POINT (-38.482862 -3.717376)'))) / (select extract(epoch from '2026-07-07 13:20:03'::timestamp) - extract(epoch from '2026-07-07 13:19:55'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.482865 -3.717401)', '2026-07-07 13:20:04', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482862 -3.717376)'), GeomFromEWKT('SRID=4674;POINT (-38.482865 -3.717401)'))) / (select extract(epoch from '2026-07-07 13:20:04'::timestamp) - extract(epoch from '2026-07-07 13:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482862 -3.717376)'), GeomFromEWKT('SRID=4674;POINT (-38.482865 -3.717401)'))) / (select extract(epoch from '2026-07-07 13:20:04'::timestamp) - extract(epoch from '2026-07-07 13:20:03'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.482864 -3.717575)', '2026-07-07 13:20:11', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482865 -3.717401)'), GeomFromEWKT('SRID=4674;POINT (-38.482864 -3.717575)'))) / (select extract(epoch from '2026-07-07 13:20:11'::timestamp) - extract(epoch from '2026-07-07 13:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482865 -3.717401)'), GeomFromEWKT('SRID=4674;POINT (-38.482864 -3.717575)'))) / (select extract(epoch from '2026-07-07 13:20:11'::timestamp) - extract(epoch from '2026-07-07 13:20:04'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.482845 -3.717775)', '2026-07-07 13:20:19', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482864 -3.717575)'), GeomFromEWKT('SRID=4674;POINT (-38.482845 -3.717775)'))) / (select extract(epoch from '2026-07-07 13:20:19'::timestamp) - extract(epoch from '2026-07-07 13:20:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482864 -3.717575)'), GeomFromEWKT('SRID=4674;POINT (-38.482845 -3.717775)'))) / (select extract(epoch from '2026-07-07 13:20:19'::timestamp) - extract(epoch from '2026-07-07 13:20:11'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.482839 -3.7178)', '2026-07-07 13:20:20', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482845 -3.717775)'), GeomFromEWKT('SRID=4674;POINT (-38.482839 -3.7178)'))) / (select extract(epoch from '2026-07-07 13:20:20'::timestamp) - extract(epoch from '2026-07-07 13:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482845 -3.717775)'), GeomFromEWKT('SRID=4674;POINT (-38.482839 -3.7178)'))) / (select extract(epoch from '2026-07-07 13:20:20'::timestamp) - extract(epoch from '2026-07-07 13:20:19'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.482777 -3.717985)', '2026-07-07 13:20:28', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482839 -3.7178)'), GeomFromEWKT('SRID=4674;POINT (-38.482777 -3.717985)'))) / (select extract(epoch from '2026-07-07 13:20:28'::timestamp) - extract(epoch from '2026-07-07 13:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482839 -3.7178)'), GeomFromEWKT('SRID=4674;POINT (-38.482777 -3.717985)'))) / (select extract(epoch from '2026-07-07 13:20:28'::timestamp) - extract(epoch from '2026-07-07 13:20:20'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.482732 -3.718074)', '2026-07-07 13:20:32', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482777 -3.717985)'), GeomFromEWKT('SRID=4674;POINT (-38.482732 -3.718074)'))) / (select extract(epoch from '2026-07-07 13:20:32'::timestamp) - extract(epoch from '2026-07-07 13:20:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482777 -3.717985)'), GeomFromEWKT('SRID=4674;POINT (-38.482732 -3.718074)'))) / (select extract(epoch from '2026-07-07 13:20:32'::timestamp) - extract(epoch from '2026-07-07 13:20:28'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.48264 -3.718251)', '2026-07-07 13:20:40', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482732 -3.718074)'), GeomFromEWKT('SRID=4674;POINT (-38.48264 -3.718251)'))) / (select extract(epoch from '2026-07-07 13:20:40'::timestamp) - extract(epoch from '2026-07-07 13:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482732 -3.718074)'), GeomFromEWKT('SRID=4674;POINT (-38.48264 -3.718251)'))) / (select extract(epoch from '2026-07-07 13:20:40'::timestamp) - extract(epoch from '2026-07-07 13:20:32'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.482604 -3.718318)', '2026-07-07 13:20:43', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48264 -3.718251)'), GeomFromEWKT('SRID=4674;POINT (-38.482604 -3.718318)'))) / (select extract(epoch from '2026-07-07 13:20:43'::timestamp) - extract(epoch from '2026-07-07 13:20:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48264 -3.718251)'), GeomFromEWKT('SRID=4674;POINT (-38.482604 -3.718318)'))) / (select extract(epoch from '2026-07-07 13:20:43'::timestamp) - extract(epoch from '2026-07-07 13:20:40'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.482488 -3.718478)', '2026-07-07 13:20:51', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482604 -3.718318)'), GeomFromEWKT('SRID=4674;POINT (-38.482488 -3.718478)'))) / (select extract(epoch from '2026-07-07 13:20:51'::timestamp) - extract(epoch from '2026-07-07 13:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482604 -3.718318)'), GeomFromEWKT('SRID=4674;POINT (-38.482488 -3.718478)'))) / (select extract(epoch from '2026-07-07 13:20:51'::timestamp) - extract(epoch from '2026-07-07 13:20:43'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.482457 -3.718518)', '2026-07-07 13:20:53', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482488 -3.718478)'), GeomFromEWKT('SRID=4674;POINT (-38.482457 -3.718518)'))) / (select extract(epoch from '2026-07-07 13:20:53'::timestamp) - extract(epoch from '2026-07-07 13:20:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482488 -3.718478)'), GeomFromEWKT('SRID=4674;POINT (-38.482457 -3.718518)'))) / (select extract(epoch from '2026-07-07 13:20:53'::timestamp) - extract(epoch from '2026-07-07 13:20:51'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.482338 -3.718675)', '2026-07-07 13:21:01', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482457 -3.718518)'), GeomFromEWKT('SRID=4674;POINT (-38.482338 -3.718675)'))) / (select extract(epoch from '2026-07-07 13:21:01'::timestamp) - extract(epoch from '2026-07-07 13:20:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482457 -3.718518)'), GeomFromEWKT('SRID=4674;POINT (-38.482338 -3.718675)'))) / (select extract(epoch from '2026-07-07 13:21:01'::timestamp) - extract(epoch from '2026-07-07 13:20:53'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.482321 -3.718694)', '2026-07-07 13:21:02', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482338 -3.718675)'), GeomFromEWKT('SRID=4674;POINT (-38.482321 -3.718694)'))) / (select extract(epoch from '2026-07-07 13:21:02'::timestamp) - extract(epoch from '2026-07-07 13:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482338 -3.718675)'), GeomFromEWKT('SRID=4674;POINT (-38.482321 -3.718694)'))) / (select extract(epoch from '2026-07-07 13:21:02'::timestamp) - extract(epoch from '2026-07-07 13:21:01'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.482199 -3.718849)', '2026-07-07 13:21:10', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482321 -3.718694)'), GeomFromEWKT('SRID=4674;POINT (-38.482199 -3.718849)'))) / (select extract(epoch from '2026-07-07 13:21:10'::timestamp) - extract(epoch from '2026-07-07 13:21:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482321 -3.718694)'), GeomFromEWKT('SRID=4674;POINT (-38.482199 -3.718849)'))) / (select extract(epoch from '2026-07-07 13:21:10'::timestamp) - extract(epoch from '2026-07-07 13:21:02'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.482158 -3.718908)', '2026-07-07 13:21:13', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482199 -3.718849)'), GeomFromEWKT('SRID=4674;POINT (-38.482158 -3.718908)'))) / (select extract(epoch from '2026-07-07 13:21:13'::timestamp) - extract(epoch from '2026-07-07 13:21:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482199 -3.718849)'), GeomFromEWKT('SRID=4674;POINT (-38.482158 -3.718908)'))) / (select extract(epoch from '2026-07-07 13:21:13'::timestamp) - extract(epoch from '2026-07-07 13:21:10'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.482059 -3.719078)', '2026-07-07 13:21:21', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482158 -3.718908)'), GeomFromEWKT('SRID=4674;POINT (-38.482059 -3.719078)'))) / (select extract(epoch from '2026-07-07 13:21:21'::timestamp) - extract(epoch from '2026-07-07 13:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482158 -3.718908)'), GeomFromEWKT('SRID=4674;POINT (-38.482059 -3.719078)'))) / (select extract(epoch from '2026-07-07 13:21:21'::timestamp) - extract(epoch from '2026-07-07 13:21:13'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.482034 -3.719121)', '2026-07-07 13:21:23', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482059 -3.719078)'), GeomFromEWKT('SRID=4674;POINT (-38.482034 -3.719121)'))) / (select extract(epoch from '2026-07-07 13:21:23'::timestamp) - extract(epoch from '2026-07-07 13:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482059 -3.719078)'), GeomFromEWKT('SRID=4674;POINT (-38.482034 -3.719121)'))) / (select extract(epoch from '2026-07-07 13:21:23'::timestamp) - extract(epoch from '2026-07-07 13:21:21'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.481914 -3.719275)', '2026-07-07 13:21:31', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482034 -3.719121)'), GeomFromEWKT('SRID=4674;POINT (-38.481914 -3.719275)'))) / (select extract(epoch from '2026-07-07 13:21:31'::timestamp) - extract(epoch from '2026-07-07 13:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482034 -3.719121)'), GeomFromEWKT('SRID=4674;POINT (-38.481914 -3.719275)'))) / (select extract(epoch from '2026-07-07 13:21:31'::timestamp) - extract(epoch from '2026-07-07 13:21:23'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.481877 -3.719339)', '2026-07-07 13:21:34', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481914 -3.719275)'), GeomFromEWKT('SRID=4674;POINT (-38.481877 -3.719339)'))) / (select extract(epoch from '2026-07-07 13:21:34'::timestamp) - extract(epoch from '2026-07-07 13:21:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481914 -3.719275)'), GeomFromEWKT('SRID=4674;POINT (-38.481877 -3.719339)'))) / (select extract(epoch from '2026-07-07 13:21:34'::timestamp) - extract(epoch from '2026-07-07 13:21:31'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.481763 -3.719501)', '2026-07-07 13:21:42', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481877 -3.719339)'), GeomFromEWKT('SRID=4674;POINT (-38.481763 -3.719501)'))) / (select extract(epoch from '2026-07-07 13:21:42'::timestamp) - extract(epoch from '2026-07-07 13:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481877 -3.719339)'), GeomFromEWKT('SRID=4674;POINT (-38.481763 -3.719501)'))) / (select extract(epoch from '2026-07-07 13:21:42'::timestamp) - extract(epoch from '2026-07-07 13:21:34'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.481728 -3.719535)', '2026-07-07 13:21:44', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481763 -3.719501)'), GeomFromEWKT('SRID=4674;POINT (-38.481728 -3.719535)'))) / (select extract(epoch from '2026-07-07 13:21:44'::timestamp) - extract(epoch from '2026-07-07 13:21:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481763 -3.719501)'), GeomFromEWKT('SRID=4674;POINT (-38.481728 -3.719535)'))) / (select extract(epoch from '2026-07-07 13:21:44'::timestamp) - extract(epoch from '2026-07-07 13:21:42'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
