BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.481696 -3.719497)', '2026-07-07 04:58:34', 4.6, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.48174 -3.719443)', '2026-07-07 04:58:37', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481696 -3.719497)'), GeomFromEWKT('SRID=4674;POINT (-38.48174 -3.719443)'))) / (select extract(epoch from '2026-07-07 04:58:37'::timestamp) - extract(epoch from '2026-07-07 04:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481696 -3.719497)'), GeomFromEWKT('SRID=4674;POINT (-38.48174 -3.719443)'))) / (select extract(epoch from '2026-07-07 04:58:37'::timestamp) - extract(epoch from '2026-07-07 04: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.481842 -3.719291)', '2026-07-07 04:58:45', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48174 -3.719443)'), GeomFromEWKT('SRID=4674;POINT (-38.481842 -3.719291)'))) / (select extract(epoch from '2026-07-07 04:58:45'::timestamp) - extract(epoch from '2026-07-07 04:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48174 -3.719443)'), GeomFromEWKT('SRID=4674;POINT (-38.481842 -3.719291)'))) / (select extract(epoch from '2026-07-07 04:58:45'::timestamp) - extract(epoch from '2026-07-07 04:58: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.481887 -3.719213)', '2026-07-07 04:58:49', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481842 -3.719291)'), GeomFromEWKT('SRID=4674;POINT (-38.481887 -3.719213)'))) / (select extract(epoch from '2026-07-07 04:58:49'::timestamp) - extract(epoch from '2026-07-07 04:58:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481842 -3.719291)'), GeomFromEWKT('SRID=4674;POINT (-38.481887 -3.719213)'))) / (select extract(epoch from '2026-07-07 04:58:49'::timestamp) - extract(epoch from '2026-07-07 04: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.48197 -3.719051)', '2026-07-07 04:58:57', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481887 -3.719213)'), GeomFromEWKT('SRID=4674;POINT (-38.48197 -3.719051)'))) / (select extract(epoch from '2026-07-07 04:58:57'::timestamp) - extract(epoch from '2026-07-07 04:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481887 -3.719213)'), GeomFromEWKT('SRID=4674;POINT (-38.48197 -3.719051)'))) / (select extract(epoch from '2026-07-07 04:58:57'::timestamp) - extract(epoch from '2026-07-07 04:58: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.482012 -3.718969)', '2026-07-07 04:59:01', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48197 -3.719051)'), GeomFromEWKT('SRID=4674;POINT (-38.482012 -3.718969)'))) / (select extract(epoch from '2026-07-07 04:59:01'::timestamp) - extract(epoch from '2026-07-07 04:58:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48197 -3.719051)'), GeomFromEWKT('SRID=4674;POINT (-38.482012 -3.718969)'))) / (select extract(epoch from '2026-07-07 04:59:01'::timestamp) - extract(epoch from '2026-07-07 04:58: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.482088 -3.718799)', '2026-07-07 04:59:09', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482012 -3.718969)'), GeomFromEWKT('SRID=4674;POINT (-38.482088 -3.718799)'))) / (select extract(epoch from '2026-07-07 04:59:09'::timestamp) - extract(epoch from '2026-07-07 04:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482012 -3.718969)'), GeomFromEWKT('SRID=4674;POINT (-38.482088 -3.718799)'))) / (select extract(epoch from '2026-07-07 04:59:09'::timestamp) - extract(epoch from '2026-07-07 04:59: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.482127 -3.718716)', '2026-07-07 04:59:13', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482088 -3.718799)'), GeomFromEWKT('SRID=4674;POINT (-38.482127 -3.718716)'))) / (select extract(epoch from '2026-07-07 04:59:13'::timestamp) - extract(epoch from '2026-07-07 04:59:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482088 -3.718799)'), GeomFromEWKT('SRID=4674;POINT (-38.482127 -3.718716)'))) / (select extract(epoch from '2026-07-07 04:59:13'::timestamp) - extract(epoch from '2026-07-07 04:59: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.482198 -3.718545)', '2026-07-07 04:59:21', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482127 -3.718716)'), GeomFromEWKT('SRID=4674;POINT (-38.482198 -3.718545)'))) / (select extract(epoch from '2026-07-07 04:59:21'::timestamp) - extract(epoch from '2026-07-07 04:59:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482127 -3.718716)'), GeomFromEWKT('SRID=4674;POINT (-38.482198 -3.718545)'))) / (select extract(epoch from '2026-07-07 04:59:21'::timestamp) - extract(epoch from '2026-07-07 04:59: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.482249 -3.71844)', '2026-07-07 04:59:26', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482198 -3.718545)'), GeomFromEWKT('SRID=4674;POINT (-38.482249 -3.71844)'))) / (select extract(epoch from '2026-07-07 04:59:26'::timestamp) - extract(epoch from '2026-07-07 04:59:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482198 -3.718545)'), GeomFromEWKT('SRID=4674;POINT (-38.482249 -3.71844)'))) / (select extract(epoch from '2026-07-07 04:59:26'::timestamp) - extract(epoch from '2026-07-07 04:59: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.482329 -3.718268)', '2026-07-07 04:59:34', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482249 -3.71844)'), GeomFromEWKT('SRID=4674;POINT (-38.482329 -3.718268)'))) / (select extract(epoch from '2026-07-07 04:59:34'::timestamp) - extract(epoch from '2026-07-07 04:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482249 -3.71844)'), GeomFromEWKT('SRID=4674;POINT (-38.482329 -3.718268)'))) / (select extract(epoch from '2026-07-07 04:59:34'::timestamp) - extract(epoch from '2026-07-07 04:59: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.48235 -3.718227)', '2026-07-07 04:59:36', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482329 -3.718268)'), GeomFromEWKT('SRID=4674;POINT (-38.48235 -3.718227)'))) / (select extract(epoch from '2026-07-07 04:59:36'::timestamp) - extract(epoch from '2026-07-07 04:59:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482329 -3.718268)'), GeomFromEWKT('SRID=4674;POINT (-38.48235 -3.718227)'))) / (select extract(epoch from '2026-07-07 04:59:36'::timestamp) - extract(epoch from '2026-07-07 04:59: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.482431 -3.718058)', '2026-07-07 04:59:44', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48235 -3.718227)'), GeomFromEWKT('SRID=4674;POINT (-38.482431 -3.718058)'))) / (select extract(epoch from '2026-07-07 04:59:44'::timestamp) - extract(epoch from '2026-07-07 04:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48235 -3.718227)'), GeomFromEWKT('SRID=4674;POINT (-38.482431 -3.718058)'))) / (select extract(epoch from '2026-07-07 04:59:44'::timestamp) - extract(epoch from '2026-07-07 04:59: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.482488 -3.717927)', '2026-07-07 04:59:50', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482431 -3.718058)'), GeomFromEWKT('SRID=4674;POINT (-38.482488 -3.717927)'))) / (select extract(epoch from '2026-07-07 04:59:50'::timestamp) - extract(epoch from '2026-07-07 04:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482431 -3.718058)'), GeomFromEWKT('SRID=4674;POINT (-38.482488 -3.717927)'))) / (select extract(epoch from '2026-07-07 04:59:50'::timestamp) - extract(epoch from '2026-07-07 04:59: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.48257 -3.717758)', '2026-07-07 04:59:58', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482488 -3.717927)'), GeomFromEWKT('SRID=4674;POINT (-38.48257 -3.717758)'))) / (select extract(epoch from '2026-07-07 04:59:58'::timestamp) - extract(epoch from '2026-07-07 04:59:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482488 -3.717927)'), GeomFromEWKT('SRID=4674;POINT (-38.48257 -3.717758)'))) / (select extract(epoch from '2026-07-07 04:59:58'::timestamp) - extract(epoch from '2026-07-07 04:59: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.482625 -3.717649)', '2026-07-07 05:00:03', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48257 -3.717758)'), GeomFromEWKT('SRID=4674;POINT (-38.482625 -3.717649)'))) / (select extract(epoch from '2026-07-07 05:00:03'::timestamp) - extract(epoch from '2026-07-07 04:59:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48257 -3.717758)'), GeomFromEWKT('SRID=4674;POINT (-38.482625 -3.717649)'))) / (select extract(epoch from '2026-07-07 05:00:03'::timestamp) - extract(epoch from '2026-07-07 04:59: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.482712 -3.71748)', '2026-07-07 05:00:11', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482625 -3.717649)'), GeomFromEWKT('SRID=4674;POINT (-38.482712 -3.71748)'))) / (select extract(epoch from '2026-07-07 05:00:11'::timestamp) - extract(epoch from '2026-07-07 05:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482625 -3.717649)'), GeomFromEWKT('SRID=4674;POINT (-38.482712 -3.71748)'))) / (select extract(epoch from '2026-07-07 05:00:11'::timestamp) - extract(epoch from '2026-07-07 05: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.482795 -3.717314)', '2026-07-07 05:00:19', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482712 -3.71748)'), GeomFromEWKT('SRID=4674;POINT (-38.482795 -3.717314)'))) / (select extract(epoch from '2026-07-07 05:00:19'::timestamp) - extract(epoch from '2026-07-07 05:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482712 -3.71748)'), GeomFromEWKT('SRID=4674;POINT (-38.482795 -3.717314)'))) / (select extract(epoch from '2026-07-07 05:00:19'::timestamp) - extract(epoch from '2026-07-07 05:00: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.48288 -3.717146)', '2026-07-07 05:00:27', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482795 -3.717314)'), GeomFromEWKT('SRID=4674;POINT (-38.48288 -3.717146)'))) / (select extract(epoch from '2026-07-07 05:00:27'::timestamp) - extract(epoch from '2026-07-07 05:00:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482795 -3.717314)'), GeomFromEWKT('SRID=4674;POINT (-38.48288 -3.717146)'))) / (select extract(epoch from '2026-07-07 05:00:27'::timestamp) - extract(epoch from '2026-07-07 05:00: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.482923 -3.717059)', '2026-07-07 05:00:31', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48288 -3.717146)'), GeomFromEWKT('SRID=4674;POINT (-38.482923 -3.717059)'))) / (select extract(epoch from '2026-07-07 05:00:31'::timestamp) - extract(epoch from '2026-07-07 05:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48288 -3.717146)'), GeomFromEWKT('SRID=4674;POINT (-38.482923 -3.717059)'))) / (select extract(epoch from '2026-07-07 05:00:31'::timestamp) - extract(epoch from '2026-07-07 05:00: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.483 -3.716883)', '2026-07-07 05:00:39', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482923 -3.717059)'), GeomFromEWKT('SRID=4674;POINT (-38.483 -3.716883)'))) / (select extract(epoch from '2026-07-07 05:00:39'::timestamp) - extract(epoch from '2026-07-07 05:00:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482923 -3.717059)'), GeomFromEWKT('SRID=4674;POINT (-38.483 -3.716883)'))) / (select extract(epoch from '2026-07-07 05:00:39'::timestamp) - extract(epoch from '2026-07-07 05:00: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.483051 -3.716748)', '2026-07-07 05:00:45', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483 -3.716883)'), GeomFromEWKT('SRID=4674;POINT (-38.483051 -3.716748)'))) / (select extract(epoch from '2026-07-07 05:00:45'::timestamp) - extract(epoch from '2026-07-07 05:00:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483 -3.716883)'), GeomFromEWKT('SRID=4674;POINT (-38.483051 -3.716748)'))) / (select extract(epoch from '2026-07-07 05:00:45'::timestamp) - extract(epoch from '2026-07-07 05:00: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.483114 -3.716569)', '2026-07-07 05:00:53', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483051 -3.716748)'), GeomFromEWKT('SRID=4674;POINT (-38.483114 -3.716569)'))) / (select extract(epoch from '2026-07-07 05:00:53'::timestamp) - extract(epoch from '2026-07-07 05:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483051 -3.716748)'), GeomFromEWKT('SRID=4674;POINT (-38.483114 -3.716569)'))) / (select extract(epoch from '2026-07-07 05:00:53'::timestamp) - extract(epoch from '2026-07-07 05:00: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.483138 -3.716504)', '2026-07-07 05:00:56', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483114 -3.716569)'), GeomFromEWKT('SRID=4674;POINT (-38.483138 -3.716504)'))) / (select extract(epoch from '2026-07-07 05:00:56'::timestamp) - extract(epoch from '2026-07-07 05:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483114 -3.716569)'), GeomFromEWKT('SRID=4674;POINT (-38.483138 -3.716504)'))) / (select extract(epoch from '2026-07-07 05:00:56'::timestamp) - extract(epoch from '2026-07-07 05: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.483209 -3.716326)', '2026-07-07 05:01:04', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483138 -3.716504)'), GeomFromEWKT('SRID=4674;POINT (-38.483209 -3.716326)'))) / (select extract(epoch from '2026-07-07 05:01:04'::timestamp) - extract(epoch from '2026-07-07 05:00:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483138 -3.716504)'), GeomFromEWKT('SRID=4674;POINT (-38.483209 -3.716326)'))) / (select extract(epoch from '2026-07-07 05:01:04'::timestamp) - extract(epoch from '2026-07-07 05:00: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.483226 -3.716283)', '2026-07-07 05:01:06', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483209 -3.716326)'), GeomFromEWKT('SRID=4674;POINT (-38.483226 -3.716283)'))) / (select extract(epoch from '2026-07-07 05:01:06'::timestamp) - extract(epoch from '2026-07-07 05:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483209 -3.716326)'), GeomFromEWKT('SRID=4674;POINT (-38.483226 -3.716283)'))) / (select extract(epoch from '2026-07-07 05:01:06'::timestamp) - extract(epoch from '2026-07-07 05:01: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.483287 -3.716112)', '2026-07-07 05:01:14', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483226 -3.716283)'), GeomFromEWKT('SRID=4674;POINT (-38.483287 -3.716112)'))) / (select extract(epoch from '2026-07-07 05:01:14'::timestamp) - extract(epoch from '2026-07-07 05:01:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483226 -3.716283)'), GeomFromEWKT('SRID=4674;POINT (-38.483287 -3.716112)'))) / (select extract(epoch from '2026-07-07 05:01:14'::timestamp) - extract(epoch from '2026-07-07 05:01: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.483329 -3.715997)', '2026-07-07 05:01:19', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483287 -3.716112)'), GeomFromEWKT('SRID=4674;POINT (-38.483329 -3.715997)'))) / (select extract(epoch from '2026-07-07 05:01:19'::timestamp) - extract(epoch from '2026-07-07 05:01:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483287 -3.716112)'), GeomFromEWKT('SRID=4674;POINT (-38.483329 -3.715997)'))) / (select extract(epoch from '2026-07-07 05:01:19'::timestamp) - extract(epoch from '2026-07-07 05:01: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.483397 -3.715819)', '2026-07-07 05:01:27', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483329 -3.715997)'), GeomFromEWKT('SRID=4674;POINT (-38.483397 -3.715819)'))) / (select extract(epoch from '2026-07-07 05:01:27'::timestamp) - extract(epoch from '2026-07-07 05:01:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483329 -3.715997)'), GeomFromEWKT('SRID=4674;POINT (-38.483397 -3.715819)'))) / (select extract(epoch from '2026-07-07 05:01:27'::timestamp) - extract(epoch from '2026-07-07 05:01: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.483431 -3.715726)', '2026-07-07 05:01:31', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483397 -3.715819)'), GeomFromEWKT('SRID=4674;POINT (-38.483431 -3.715726)'))) / (select extract(epoch from '2026-07-07 05:01:31'::timestamp) - extract(epoch from '2026-07-07 05:01:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483397 -3.715819)'), GeomFromEWKT('SRID=4674;POINT (-38.483431 -3.715726)'))) / (select extract(epoch from '2026-07-07 05:01:31'::timestamp) - extract(epoch from '2026-07-07 05: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.483501 -3.715544)', '2026-07-07 05:01:39', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483431 -3.715726)'), GeomFromEWKT('SRID=4674;POINT (-38.483501 -3.715544)'))) / (select extract(epoch from '2026-07-07 05:01:39'::timestamp) - extract(epoch from '2026-07-07 05:01:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483431 -3.715726)'), GeomFromEWKT('SRID=4674;POINT (-38.483501 -3.715544)'))) / (select extract(epoch from '2026-07-07 05:01:39'::timestamp) - extract(epoch from '2026-07-07 05:01: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.483545 -3.715435)', '2026-07-07 05:01:44', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483501 -3.715544)'), GeomFromEWKT('SRID=4674;POINT (-38.483545 -3.715435)'))) / (select extract(epoch from '2026-07-07 05:01:44'::timestamp) - extract(epoch from '2026-07-07 05:01:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483501 -3.715544)'), GeomFromEWKT('SRID=4674;POINT (-38.483545 -3.715435)'))) / (select extract(epoch from '2026-07-07 05:01:44'::timestamp) - extract(epoch from '2026-07-07 05:01: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.483611 -3.715257)', '2026-07-07 05:01:52', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483545 -3.715435)'), GeomFromEWKT('SRID=4674;POINT (-38.483611 -3.715257)'))) / (select extract(epoch from '2026-07-07 05:01:52'::timestamp) - extract(epoch from '2026-07-07 05:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483545 -3.715435)'), GeomFromEWKT('SRID=4674;POINT (-38.483611 -3.715257)'))) / (select extract(epoch from '2026-07-07 05:01:52'::timestamp) - extract(epoch from '2026-07-07 05:01: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.483647 -3.715147)', '2026-07-07 05:01:57', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483611 -3.715257)'), GeomFromEWKT('SRID=4674;POINT (-38.483647 -3.715147)'))) / (select extract(epoch from '2026-07-07 05:01:57'::timestamp) - extract(epoch from '2026-07-07 05:01:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483611 -3.715257)'), GeomFromEWKT('SRID=4674;POINT (-38.483647 -3.715147)'))) / (select extract(epoch from '2026-07-07 05:01:57'::timestamp) - extract(epoch from '2026-07-07 05:01: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.483715 -3.71497)', '2026-07-07 05:02:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483647 -3.715147)'), GeomFromEWKT('SRID=4674;POINT (-38.483715 -3.71497)'))) / (select extract(epoch from '2026-07-07 05:02:05'::timestamp) - extract(epoch from '2026-07-07 05:01:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483647 -3.715147)'), GeomFromEWKT('SRID=4674;POINT (-38.483715 -3.71497)'))) / (select extract(epoch from '2026-07-07 05:02:05'::timestamp) - extract(epoch from '2026-07-07 05:01: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.483752 -3.714881)', '2026-07-07 05:02:09', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483715 -3.71497)'), GeomFromEWKT('SRID=4674;POINT (-38.483752 -3.714881)'))) / (select extract(epoch from '2026-07-07 05:02:09'::timestamp) - extract(epoch from '2026-07-07 05:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483715 -3.71497)'), GeomFromEWKT('SRID=4674;POINT (-38.483752 -3.714881)'))) / (select extract(epoch from '2026-07-07 05:02:09'::timestamp) - extract(epoch from '2026-07-07 05:02: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.483831 -3.714712)', '2026-07-07 05:02:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483752 -3.714881)'), GeomFromEWKT('SRID=4674;POINT (-38.483831 -3.714712)'))) / (select extract(epoch from '2026-07-07 05:02:17'::timestamp) - extract(epoch from '2026-07-07 05:02:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483752 -3.714881)'), GeomFromEWKT('SRID=4674;POINT (-38.483831 -3.714712)'))) / (select extract(epoch from '2026-07-07 05:02:17'::timestamp) - extract(epoch from '2026-07-07 05: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.483863 -3.714649)', '2026-07-07 05:02:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483831 -3.714712)'), GeomFromEWKT('SRID=4674;POINT (-38.483863 -3.714649)'))) / (select extract(epoch from '2026-07-07 05:02:20'::timestamp) - extract(epoch from '2026-07-07 05:02:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483831 -3.714712)'), GeomFromEWKT('SRID=4674;POINT (-38.483863 -3.714649)'))) / (select extract(epoch from '2026-07-07 05:02:20'::timestamp) - extract(epoch from '2026-07-07 05:02: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.483948 -3.714476)', '2026-07-07 05:02:28', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483863 -3.714649)'), GeomFromEWKT('SRID=4674;POINT (-38.483948 -3.714476)'))) / (select extract(epoch from '2026-07-07 05:02:28'::timestamp) - extract(epoch from '2026-07-07 05:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483863 -3.714649)'), GeomFromEWKT('SRID=4674;POINT (-38.483948 -3.714476)'))) / (select extract(epoch from '2026-07-07 05:02:28'::timestamp) - extract(epoch from '2026-07-07 05:02: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.483967 -3.714432)', '2026-07-07 05:02:30', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483948 -3.714476)'), GeomFromEWKT('SRID=4674;POINT (-38.483967 -3.714432)'))) / (select extract(epoch from '2026-07-07 05:02:30'::timestamp) - extract(epoch from '2026-07-07 05:02:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483948 -3.714476)'), GeomFromEWKT('SRID=4674;POINT (-38.483967 -3.714432)'))) / (select extract(epoch from '2026-07-07 05:02:30'::timestamp) - extract(epoch from '2026-07-07 05:02: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.484027 -3.714252)', '2026-07-07 05:02:38', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483967 -3.714432)'), GeomFromEWKT('SRID=4674;POINT (-38.484027 -3.714252)'))) / (select extract(epoch from '2026-07-07 05:02:38'::timestamp) - extract(epoch from '2026-07-07 05:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483967 -3.714432)'), GeomFromEWKT('SRID=4674;POINT (-38.484027 -3.714252)'))) / (select extract(epoch from '2026-07-07 05:02:38'::timestamp) - extract(epoch from '2026-07-07 05:02: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.484035 -3.714229)', '2026-07-07 05:02:39', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484027 -3.714252)'), GeomFromEWKT('SRID=4674;POINT (-38.484035 -3.714229)'))) / (select extract(epoch from '2026-07-07 05:02:39'::timestamp) - extract(epoch from '2026-07-07 05:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484027 -3.714252)'), GeomFromEWKT('SRID=4674;POINT (-38.484035 -3.714229)'))) / (select extract(epoch from '2026-07-07 05:02:39'::timestamp) - extract(epoch from '2026-07-07 05:02: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.48408 -3.714044)', '2026-07-07 05:02:47', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484035 -3.714229)'), GeomFromEWKT('SRID=4674;POINT (-38.48408 -3.714044)'))) / (select extract(epoch from '2026-07-07 05:02:47'::timestamp) - extract(epoch from '2026-07-07 05:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484035 -3.714229)'), GeomFromEWKT('SRID=4674;POINT (-38.48408 -3.714044)'))) / (select extract(epoch from '2026-07-07 05:02:47'::timestamp) - extract(epoch from '2026-07-07 05:02: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.484105 -3.71388)', '2026-07-07 05:02:54', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48408 -3.714044)'), GeomFromEWKT('SRID=4674;POINT (-38.484105 -3.71388)'))) / (select extract(epoch from '2026-07-07 05:02:54'::timestamp) - extract(epoch from '2026-07-07 05:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48408 -3.714044)'), GeomFromEWKT('SRID=4674;POINT (-38.484105 -3.71388)'))) / (select extract(epoch from '2026-07-07 05:02:54'::timestamp) - extract(epoch from '2026-07-07 05:02: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.484158 -3.7137)', '2026-07-07 05:03:02', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484105 -3.71388)'), GeomFromEWKT('SRID=4674;POINT (-38.484158 -3.7137)'))) / (select extract(epoch from '2026-07-07 05:03:02'::timestamp) - extract(epoch from '2026-07-07 05:02:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484105 -3.71388)'), GeomFromEWKT('SRID=4674;POINT (-38.484158 -3.7137)'))) / (select extract(epoch from '2026-07-07 05:03:02'::timestamp) - extract(epoch from '2026-07-07 05:02: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.484174 -3.713656)', '2026-07-07 05:03:04', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484158 -3.7137)'), GeomFromEWKT('SRID=4674;POINT (-38.484174 -3.713656)'))) / (select extract(epoch from '2026-07-07 05:03:04'::timestamp) - extract(epoch from '2026-07-07 05:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484158 -3.7137)'), GeomFromEWKT('SRID=4674;POINT (-38.484174 -3.713656)'))) / (select extract(epoch from '2026-07-07 05:03:04'::timestamp) - extract(epoch from '2026-07-07 05:03: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.484243 -3.713484)', '2026-07-07 05:03:12', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484174 -3.713656)'), GeomFromEWKT('SRID=4674;POINT (-38.484243 -3.713484)'))) / (select extract(epoch from '2026-07-07 05:03:12'::timestamp) - extract(epoch from '2026-07-07 05:03:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484174 -3.713656)'), GeomFromEWKT('SRID=4674;POINT (-38.484243 -3.713484)'))) / (select extract(epoch from '2026-07-07 05:03:12'::timestamp) - extract(epoch from '2026-07-07 05: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.484258 -3.71344)', '2026-07-07 05:03:14', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484243 -3.713484)'), GeomFromEWKT('SRID=4674;POINT (-38.484258 -3.71344)'))) / (select extract(epoch from '2026-07-07 05:03:14'::timestamp) - extract(epoch from '2026-07-07 05:03:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484243 -3.713484)'), GeomFromEWKT('SRID=4674;POINT (-38.484258 -3.71344)'))) / (select extract(epoch from '2026-07-07 05:03:14'::timestamp) - extract(epoch from '2026-07-07 05:03: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.484317 -3.713263)', '2026-07-07 05:03:22', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484258 -3.71344)'), GeomFromEWKT('SRID=4674;POINT (-38.484317 -3.713263)'))) / (select extract(epoch from '2026-07-07 05:03:22'::timestamp) - extract(epoch from '2026-07-07 05:03:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484258 -3.71344)'), GeomFromEWKT('SRID=4674;POINT (-38.484317 -3.713263)'))) / (select extract(epoch from '2026-07-07 05:03:22'::timestamp) - extract(epoch from '2026-07-07 05:03: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.484332 -3.713218)', '2026-07-07 05:03:24', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484317 -3.713263)'), GeomFromEWKT('SRID=4674;POINT (-38.484332 -3.713218)'))) / (select extract(epoch from '2026-07-07 05:03:24'::timestamp) - extract(epoch from '2026-07-07 05:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484317 -3.713263)'), GeomFromEWKT('SRID=4674;POINT (-38.484332 -3.713218)'))) / (select extract(epoch from '2026-07-07 05:03:24'::timestamp) - extract(epoch from '2026-07-07 05:03: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.484378 -3.713035)', '2026-07-07 05:03:32', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484332 -3.713218)'), GeomFromEWKT('SRID=4674;POINT (-38.484378 -3.713035)'))) / (select extract(epoch from '2026-07-07 05:03:32'::timestamp) - extract(epoch from '2026-07-07 05:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484332 -3.713218)'), GeomFromEWKT('SRID=4674;POINT (-38.484378 -3.713035)'))) / (select extract(epoch from '2026-07-07 05:03:32'::timestamp) - extract(epoch from '2026-07-07 05: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.484392 -3.712962)', '2026-07-07 05:03:35', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484378 -3.713035)'), GeomFromEWKT('SRID=4674;POINT (-38.484392 -3.712962)'))) / (select extract(epoch from '2026-07-07 05:03:35'::timestamp) - extract(epoch from '2026-07-07 05:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484378 -3.713035)'), GeomFromEWKT('SRID=4674;POINT (-38.484392 -3.712962)'))) / (select extract(epoch from '2026-07-07 05:03:35'::timestamp) - extract(epoch from '2026-07-07 05:03: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.484433 -3.712784)', '2026-07-07 05:03:43', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484392 -3.712962)'), GeomFromEWKT('SRID=4674;POINT (-38.484433 -3.712784)'))) / (select extract(epoch from '2026-07-07 05:03:43'::timestamp) - extract(epoch from '2026-07-07 05:03:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484392 -3.712962)'), GeomFromEWKT('SRID=4674;POINT (-38.484433 -3.712784)'))) / (select extract(epoch from '2026-07-07 05:03:43'::timestamp) - extract(epoch from '2026-07-07 05: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.484439 -3.712763)', '2026-07-07 05:03:44', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484433 -3.712784)'), GeomFromEWKT('SRID=4674;POINT (-38.484439 -3.712763)'))) / (select extract(epoch from '2026-07-07 05:03:44'::timestamp) - extract(epoch from '2026-07-07 05:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484433 -3.712784)'), GeomFromEWKT('SRID=4674;POINT (-38.484439 -3.712763)'))) / (select extract(epoch from '2026-07-07 05:03:44'::timestamp) - extract(epoch from '2026-07-07 05:03: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.484479 -3.712583)', '2026-07-07 05:03:52', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484439 -3.712763)'), GeomFromEWKT('SRID=4674;POINT (-38.484479 -3.712583)'))) / (select extract(epoch from '2026-07-07 05:03:52'::timestamp) - extract(epoch from '2026-07-07 05:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484439 -3.712763)'), GeomFromEWKT('SRID=4674;POINT (-38.484479 -3.712583)'))) / (select extract(epoch from '2026-07-07 05:03:52'::timestamp) - extract(epoch from '2026-07-07 05:03: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.484488 -3.712539)', '2026-07-07 05:03:54', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484479 -3.712583)'), GeomFromEWKT('SRID=4674;POINT (-38.484488 -3.712539)'))) / (select extract(epoch from '2026-07-07 05:03:54'::timestamp) - extract(epoch from '2026-07-07 05:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484479 -3.712583)'), GeomFromEWKT('SRID=4674;POINT (-38.484488 -3.712539)'))) / (select extract(epoch from '2026-07-07 05:03:54'::timestamp) - extract(epoch from '2026-07-07 05:03: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.484532 -3.712361)', '2026-07-07 05:04:02', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484488 -3.712539)'), GeomFromEWKT('SRID=4674;POINT (-38.484532 -3.712361)'))) / (select extract(epoch from '2026-07-07 05:04:02'::timestamp) - extract(epoch from '2026-07-07 05:03:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484488 -3.712539)'), GeomFromEWKT('SRID=4674;POINT (-38.484532 -3.712361)'))) / (select extract(epoch from '2026-07-07 05:04:02'::timestamp) - extract(epoch from '2026-07-07 05:03: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.484565 -3.712244)', '2026-07-07 05:04:07', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484532 -3.712361)'), GeomFromEWKT('SRID=4674;POINT (-38.484565 -3.712244)'))) / (select extract(epoch from '2026-07-07 05:04:07'::timestamp) - extract(epoch from '2026-07-07 05:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484532 -3.712361)'), GeomFromEWKT('SRID=4674;POINT (-38.484565 -3.712244)'))) / (select extract(epoch from '2026-07-07 05:04:07'::timestamp) - extract(epoch from '2026-07-07 05:04: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.48463 -3.712074)', '2026-07-07 05:04:15', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484565 -3.712244)'), GeomFromEWKT('SRID=4674;POINT (-38.48463 -3.712074)'))) / (select extract(epoch from '2026-07-07 05:04:15'::timestamp) - extract(epoch from '2026-07-07 05:04:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484565 -3.712244)'), GeomFromEWKT('SRID=4674;POINT (-38.48463 -3.712074)'))) / (select extract(epoch from '2026-07-07 05:04:15'::timestamp) - extract(epoch from '2026-07-07 05:04: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.484662 -3.711989)', '2026-07-07 05:04:19', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48463 -3.712074)'), GeomFromEWKT('SRID=4674;POINT (-38.484662 -3.711989)'))) / (select extract(epoch from '2026-07-07 05:04:19'::timestamp) - extract(epoch from '2026-07-07 05:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48463 -3.712074)'), GeomFromEWKT('SRID=4674;POINT (-38.484662 -3.711989)'))) / (select extract(epoch from '2026-07-07 05:04:19'::timestamp) - extract(epoch from '2026-07-07 05:04: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.484712 -3.711812)', '2026-07-07 05:04:27', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484662 -3.711989)'), GeomFromEWKT('SRID=4674;POINT (-38.484712 -3.711812)'))) / (select extract(epoch from '2026-07-07 05:04:27'::timestamp) - extract(epoch from '2026-07-07 05:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484662 -3.711989)'), GeomFromEWKT('SRID=4674;POINT (-38.484712 -3.711812)'))) / (select extract(epoch from '2026-07-07 05:04:27'::timestamp) - extract(epoch from '2026-07-07 05:04: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.484733 -3.711726)', '2026-07-07 05:04:31', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484712 -3.711812)'), GeomFromEWKT('SRID=4674;POINT (-38.484733 -3.711726)'))) / (select extract(epoch from '2026-07-07 05:04:31'::timestamp) - extract(epoch from '2026-07-07 05:04:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484712 -3.711812)'), GeomFromEWKT('SRID=4674;POINT (-38.484733 -3.711726)'))) / (select extract(epoch from '2026-07-07 05:04:31'::timestamp) - extract(epoch from '2026-07-07 05:04: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.484773 -3.711547)', '2026-07-07 05:04:39', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484733 -3.711726)'), GeomFromEWKT('SRID=4674;POINT (-38.484773 -3.711547)'))) / (select extract(epoch from '2026-07-07 05:04:39'::timestamp) - extract(epoch from '2026-07-07 05:04:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484733 -3.711726)'), GeomFromEWKT('SRID=4674;POINT (-38.484773 -3.711547)'))) / (select extract(epoch from '2026-07-07 05:04:39'::timestamp) - extract(epoch from '2026-07-07 05:04: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.484788 -3.711454)', '2026-07-07 05:04:43', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484773 -3.711547)'), GeomFromEWKT('SRID=4674;POINT (-38.484788 -3.711454)'))) / (select extract(epoch from '2026-07-07 05:04:43'::timestamp) - extract(epoch from '2026-07-07 05:04:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484773 -3.711547)'), GeomFromEWKT('SRID=4674;POINT (-38.484788 -3.711454)'))) / (select extract(epoch from '2026-07-07 05:04:43'::timestamp) - extract(epoch from '2026-07-07 05:04: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.484807 -3.711267)', '2026-07-07 05:04:51', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484788 -3.711454)'), GeomFromEWKT('SRID=4674;POINT (-38.484807 -3.711267)'))) / (select extract(epoch from '2026-07-07 05:04:51'::timestamp) - extract(epoch from '2026-07-07 05:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484788 -3.711454)'), GeomFromEWKT('SRID=4674;POINT (-38.484807 -3.711267)'))) / (select extract(epoch from '2026-07-07 05:04:51'::timestamp) - extract(epoch from '2026-07-07 05:04: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.484816 -3.711147)', '2026-07-07 05:04:56', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484807 -3.711267)'), GeomFromEWKT('SRID=4674;POINT (-38.484816 -3.711147)'))) / (select extract(epoch from '2026-07-07 05:04:56'::timestamp) - extract(epoch from '2026-07-07 05:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484807 -3.711267)'), GeomFromEWKT('SRID=4674;POINT (-38.484816 -3.711147)'))) / (select extract(epoch from '2026-07-07 05:04:56'::timestamp) - extract(epoch from '2026-07-07 05:04: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.484839 -3.710962)', '2026-07-07 05:05:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484816 -3.711147)'), GeomFromEWKT('SRID=4674;POINT (-38.484839 -3.710962)'))) / (select extract(epoch from '2026-07-07 05:05:04'::timestamp) - extract(epoch from '2026-07-07 05:04:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484816 -3.711147)'), GeomFromEWKT('SRID=4674;POINT (-38.484839 -3.710962)'))) / (select extract(epoch from '2026-07-07 05:05:04'::timestamp) - extract(epoch from '2026-07-07 05: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.484849 -3.710849)', '2026-07-07 05:05:09', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484839 -3.710962)'), GeomFromEWKT('SRID=4674;POINT (-38.484849 -3.710849)'))) / (select extract(epoch from '2026-07-07 05:05:09'::timestamp) - extract(epoch from '2026-07-07 05:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484839 -3.710962)'), GeomFromEWKT('SRID=4674;POINT (-38.484849 -3.710849)'))) / (select extract(epoch from '2026-07-07 05:05:09'::timestamp) - extract(epoch from '2026-07-07 05:05: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.484864 -3.710668)', '2026-07-07 05:05:17', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484849 -3.710849)'), GeomFromEWKT('SRID=4674;POINT (-38.484864 -3.710668)'))) / (select extract(epoch from '2026-07-07 05:05:17'::timestamp) - extract(epoch from '2026-07-07 05:05:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484849 -3.710849)'), GeomFromEWKT('SRID=4674;POINT (-38.484864 -3.710668)'))) / (select extract(epoch from '2026-07-07 05:05:17'::timestamp) - extract(epoch from '2026-07-07 05:05: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.484868 -3.710623)', '2026-07-07 05:05:19', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484864 -3.710668)'), GeomFromEWKT('SRID=4674;POINT (-38.484868 -3.710623)'))) / (select extract(epoch from '2026-07-07 05:05:19'::timestamp) - extract(epoch from '2026-07-07 05:05:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484864 -3.710668)'), GeomFromEWKT('SRID=4674;POINT (-38.484868 -3.710623)'))) / (select extract(epoch from '2026-07-07 05:05:19'::timestamp) - extract(epoch from '2026-07-07 05:05: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.484869 -3.710421)', '2026-07-07 05:05:28', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484868 -3.710623)'), GeomFromEWKT('SRID=4674;POINT (-38.484869 -3.710421)'))) / (select extract(epoch from '2026-07-07 05:05:28'::timestamp) - extract(epoch from '2026-07-07 05:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484868 -3.710623)'), GeomFromEWKT('SRID=4674;POINT (-38.484869 -3.710421)'))) / (select extract(epoch from '2026-07-07 05:05:28'::timestamp) - extract(epoch from '2026-07-07 05: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.484858 -3.710331)', '2026-07-07 05:05:32', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484869 -3.710421)'), GeomFromEWKT('SRID=4674;POINT (-38.484858 -3.710331)'))) / (select extract(epoch from '2026-07-07 05:05:32'::timestamp) - extract(epoch from '2026-07-07 05:05:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484869 -3.710421)'), GeomFromEWKT('SRID=4674;POINT (-38.484858 -3.710331)'))) / (select extract(epoch from '2026-07-07 05:05:32'::timestamp) - extract(epoch from '2026-07-07 05:05: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.484837 -3.71013)', '2026-07-07 05:05:41', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484858 -3.710331)'), GeomFromEWKT('SRID=4674;POINT (-38.484837 -3.71013)'))) / (select extract(epoch from '2026-07-07 05:05:41'::timestamp) - extract(epoch from '2026-07-07 05:05:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484858 -3.710331)'), GeomFromEWKT('SRID=4674;POINT (-38.484837 -3.71013)'))) / (select extract(epoch from '2026-07-07 05:05:41'::timestamp) - extract(epoch from '2026-07-07 05:05: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.484837 -3.710107)', '2026-07-07 05:05:42', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484837 -3.71013)'), GeomFromEWKT('SRID=4674;POINT (-38.484837 -3.710107)'))) / (select extract(epoch from '2026-07-07 05:05:42'::timestamp) - extract(epoch from '2026-07-07 05:05:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484837 -3.71013)'), GeomFromEWKT('SRID=4674;POINT (-38.484837 -3.710107)'))) / (select extract(epoch from '2026-07-07 05:05:42'::timestamp) - extract(epoch from '2026-07-07 05:05: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.484832 -3.709921)', '2026-07-07 05:05:50', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484837 -3.710107)'), GeomFromEWKT('SRID=4674;POINT (-38.484832 -3.709921)'))) / (select extract(epoch from '2026-07-07 05:05:50'::timestamp) - extract(epoch from '2026-07-07 05:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484837 -3.710107)'), GeomFromEWKT('SRID=4674;POINT (-38.484832 -3.709921)'))) / (select extract(epoch from '2026-07-07 05:05:50'::timestamp) - extract(epoch from '2026-07-07 05:05: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.484828 -3.709802)', '2026-07-07 05:05:55', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484832 -3.709921)'), GeomFromEWKT('SRID=4674;POINT (-38.484828 -3.709802)'))) / (select extract(epoch from '2026-07-07 05:05:55'::timestamp) - extract(epoch from '2026-07-07 05:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484832 -3.709921)'), GeomFromEWKT('SRID=4674;POINT (-38.484828 -3.709802)'))) / (select extract(epoch from '2026-07-07 05:05:55'::timestamp) - extract(epoch from '2026-07-07 05:05: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.484825 -3.709621)', '2026-07-07 05:06:03', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484828 -3.709802)'), GeomFromEWKT('SRID=4674;POINT (-38.484825 -3.709621)'))) / (select extract(epoch from '2026-07-07 05:06:03'::timestamp) - extract(epoch from '2026-07-07 05:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484828 -3.709802)'), GeomFromEWKT('SRID=4674;POINT (-38.484825 -3.709621)'))) / (select extract(epoch from '2026-07-07 05:06:03'::timestamp) - extract(epoch from '2026-07-07 05:05: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.484828 -3.709504)', '2026-07-07 05:06:08', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484825 -3.709621)'), GeomFromEWKT('SRID=4674;POINT (-38.484828 -3.709504)'))) / (select extract(epoch from '2026-07-07 05:06:08'::timestamp) - extract(epoch from '2026-07-07 05:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484825 -3.709621)'), GeomFromEWKT('SRID=4674;POINT (-38.484828 -3.709504)'))) / (select extract(epoch from '2026-07-07 05:06:08'::timestamp) - extract(epoch from '2026-07-07 05: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.484834 -3.709322)', '2026-07-07 05:06:16', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484828 -3.709504)'), GeomFromEWKT('SRID=4674;POINT (-38.484834 -3.709322)'))) / (select extract(epoch from '2026-07-07 05:06:16'::timestamp) - extract(epoch from '2026-07-07 05:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484828 -3.709504)'), GeomFromEWKT('SRID=4674;POINT (-38.484834 -3.709322)'))) / (select extract(epoch from '2026-07-07 05:06:16'::timestamp) - extract(epoch from '2026-07-07 05:06: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.484835 -3.709279)', '2026-07-07 05:06:18', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484834 -3.709322)'), GeomFromEWKT('SRID=4674;POINT (-38.484835 -3.709279)'))) / (select extract(epoch from '2026-07-07 05:06:18'::timestamp) - extract(epoch from '2026-07-07 05:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484834 -3.709322)'), GeomFromEWKT('SRID=4674;POINT (-38.484835 -3.709279)'))) / (select extract(epoch from '2026-07-07 05:06:18'::timestamp) - extract(epoch from '2026-07-07 05:06: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.484836 -3.709098)', '2026-07-07 05:06:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484835 -3.709279)'), GeomFromEWKT('SRID=4674;POINT (-38.484836 -3.709098)'))) / (select extract(epoch from '2026-07-07 05:06:26'::timestamp) - extract(epoch from '2026-07-07 05:06:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484835 -3.709279)'), GeomFromEWKT('SRID=4674;POINT (-38.484836 -3.709098)'))) / (select extract(epoch from '2026-07-07 05:06:26'::timestamp) - extract(epoch from '2026-07-07 05:06: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.484834 -3.708896)', '2026-07-07 05:06:35', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484836 -3.709098)'), GeomFromEWKT('SRID=4674;POINT (-38.484834 -3.708896)'))) / (select extract(epoch from '2026-07-07 05:06:35'::timestamp) - extract(epoch from '2026-07-07 05:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484836 -3.709098)'), GeomFromEWKT('SRID=4674;POINT (-38.484834 -3.708896)'))) / (select extract(epoch from '2026-07-07 05:06:35'::timestamp) - extract(epoch from '2026-07-07 05:06: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.484835 -3.708873)', '2026-07-07 05:06:36', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484834 -3.708896)'), GeomFromEWKT('SRID=4674;POINT (-38.484835 -3.708873)'))) / (select extract(epoch from '2026-07-07 05:06:36'::timestamp) - extract(epoch from '2026-07-07 05:06:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484834 -3.708896)'), GeomFromEWKT('SRID=4674;POINT (-38.484835 -3.708873)'))) / (select extract(epoch from '2026-07-07 05:06:36'::timestamp) - extract(epoch from '2026-07-07 05:06: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.484839 -3.708715)', '2026-07-07 05:06:43', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484835 -3.708873)'), GeomFromEWKT('SRID=4674;POINT (-38.484839 -3.708715)'))) / (select extract(epoch from '2026-07-07 05:06:43'::timestamp) - extract(epoch from '2026-07-07 05:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484835 -3.708873)'), GeomFromEWKT('SRID=4674;POINT (-38.484839 -3.708715)'))) / (select extract(epoch from '2026-07-07 05:06:43'::timestamp) - extract(epoch from '2026-07-07 05: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.48483 -3.708534)', '2026-07-07 05:06:51', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484839 -3.708715)'), GeomFromEWKT('SRID=4674;POINT (-38.48483 -3.708534)'))) / (select extract(epoch from '2026-07-07 05:06:51'::timestamp) - extract(epoch from '2026-07-07 05:06:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484839 -3.708715)'), GeomFromEWKT('SRID=4674;POINT (-38.48483 -3.708534)'))) / (select extract(epoch from '2026-07-07 05:06:51'::timestamp) - extract(epoch from '2026-07-07 05:06: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.484828 -3.708398)', '2026-07-07 05:06:57', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48483 -3.708534)'), GeomFromEWKT('SRID=4674;POINT (-38.484828 -3.708398)'))) / (select extract(epoch from '2026-07-07 05:06:57'::timestamp) - extract(epoch from '2026-07-07 05:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48483 -3.708534)'), GeomFromEWKT('SRID=4674;POINT (-38.484828 -3.708398)'))) / (select extract(epoch from '2026-07-07 05:06:57'::timestamp) - extract(epoch from '2026-07-07 05:06: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.484817 -3.708215)', '2026-07-07 05:07:05', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484828 -3.708398)'), GeomFromEWKT('SRID=4674;POINT (-38.484817 -3.708215)'))) / (select extract(epoch from '2026-07-07 05:07:05'::timestamp) - extract(epoch from '2026-07-07 05:06:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484828 -3.708398)'), GeomFromEWKT('SRID=4674;POINT (-38.484817 -3.708215)'))) / (select extract(epoch from '2026-07-07 05:07:05'::timestamp) - extract(epoch from '2026-07-07 05:06: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.484814 -3.708167)', '2026-07-07 05:07:07', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484817 -3.708215)'), GeomFromEWKT('SRID=4674;POINT (-38.484814 -3.708167)'))) / (select extract(epoch from '2026-07-07 05:07:07'::timestamp) - extract(epoch from '2026-07-07 05:07:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484817 -3.708215)'), GeomFromEWKT('SRID=4674;POINT (-38.484814 -3.708167)'))) / (select extract(epoch from '2026-07-07 05:07:07'::timestamp) - extract(epoch from '2026-07-07 05: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.484807 -3.707986)', '2026-07-07 05:07:15', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484814 -3.708167)'), GeomFromEWKT('SRID=4674;POINT (-38.484807 -3.707986)'))) / (select extract(epoch from '2026-07-07 05:07:15'::timestamp) - extract(epoch from '2026-07-07 05:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484814 -3.708167)'), GeomFromEWKT('SRID=4674;POINT (-38.484807 -3.707986)'))) / (select extract(epoch from '2026-07-07 05:07:15'::timestamp) - extract(epoch from '2026-07-07 05:07: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.484807 -3.70781)', '2026-07-07 05:07:23', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484807 -3.707986)'), GeomFromEWKT('SRID=4674;POINT (-38.484807 -3.70781)'))) / (select extract(epoch from '2026-07-07 05:07:23'::timestamp) - extract(epoch from '2026-07-07 05:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484807 -3.707986)'), GeomFromEWKT('SRID=4674;POINT (-38.484807 -3.70781)'))) / (select extract(epoch from '2026-07-07 05:07:23'::timestamp) - extract(epoch from '2026-07-07 05:07: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.484819 -3.707708)', '2026-07-07 05:07:28', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484807 -3.70781)'), GeomFromEWKT('SRID=4674;POINT (-38.484819 -3.707708)'))) / (select extract(epoch from '2026-07-07 05:07:28'::timestamp) - extract(epoch from '2026-07-07 05:07:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484807 -3.70781)'), GeomFromEWKT('SRID=4674;POINT (-38.484819 -3.707708)'))) / (select extract(epoch from '2026-07-07 05:07:28'::timestamp) - extract(epoch from '2026-07-07 05:07: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.484815 -3.707519)', '2026-07-07 05:07:37', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484819 -3.707708)'), GeomFromEWKT('SRID=4674;POINT (-38.484815 -3.707519)'))) / (select extract(epoch from '2026-07-07 05:07:37'::timestamp) - extract(epoch from '2026-07-07 05:07:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484819 -3.707708)'), GeomFromEWKT('SRID=4674;POINT (-38.484815 -3.707519)'))) / (select extract(epoch from '2026-07-07 05:07:37'::timestamp) - extract(epoch from '2026-07-07 05:07: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.484809 -3.707478)', '2026-07-07 05:07:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484815 -3.707519)'), GeomFromEWKT('SRID=4674;POINT (-38.484809 -3.707478)'))) / (select extract(epoch from '2026-07-07 05:07:39'::timestamp) - extract(epoch from '2026-07-07 05:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484815 -3.707519)'), GeomFromEWKT('SRID=4674;POINT (-38.484809 -3.707478)'))) / (select extract(epoch from '2026-07-07 05:07:39'::timestamp) - extract(epoch from '2026-07-07 05:07: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.484799 -3.707347)', '2026-07-07 05:07:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484809 -3.707478)'), GeomFromEWKT('SRID=4674;POINT (-38.484799 -3.707347)'))) / (select extract(epoch from '2026-07-07 05:07:45'::timestamp) - extract(epoch from '2026-07-07 05:07:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484809 -3.707478)'), GeomFromEWKT('SRID=4674;POINT (-38.484799 -3.707347)'))) / (select extract(epoch from '2026-07-07 05:07:45'::timestamp) - extract(epoch from '2026-07-07 05:07: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.484787 -3.707214)', '2026-07-07 05:07:51', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484799 -3.707347)'), GeomFromEWKT('SRID=4674;POINT (-38.484787 -3.707214)'))) / (select extract(epoch from '2026-07-07 05:07:51'::timestamp) - extract(epoch from '2026-07-07 05:07:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484799 -3.707347)'), GeomFromEWKT('SRID=4674;POINT (-38.484787 -3.707214)'))) / (select extract(epoch from '2026-07-07 05:07:51'::timestamp) - extract(epoch from '2026-07-07 05:07: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.484765 -3.707036)', '2026-07-07 05:07:59', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484787 -3.707214)'), GeomFromEWKT('SRID=4674;POINT (-38.484765 -3.707036)'))) / (select extract(epoch from '2026-07-07 05:07:59'::timestamp) - extract(epoch from '2026-07-07 05:07:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484787 -3.707214)'), GeomFromEWKT('SRID=4674;POINT (-38.484765 -3.707036)'))) / (select extract(epoch from '2026-07-07 05:07:59'::timestamp) - extract(epoch from '2026-07-07 05:07: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.484742 -3.706859)', '2026-07-07 05:08:07', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484765 -3.707036)'), GeomFromEWKT('SRID=4674;POINT (-38.484742 -3.706859)'))) / (select extract(epoch from '2026-07-07 05:08:07'::timestamp) - extract(epoch from '2026-07-07 05:07:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484765 -3.707036)'), GeomFromEWKT('SRID=4674;POINT (-38.484742 -3.706859)'))) / (select extract(epoch from '2026-07-07 05:08:07'::timestamp) - extract(epoch from '2026-07-07 05:07: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.484718 -3.706682)', '2026-07-07 05:08:15', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484742 -3.706859)'), GeomFromEWKT('SRID=4674;POINT (-38.484718 -3.706682)'))) / (select extract(epoch from '2026-07-07 05:08:15'::timestamp) - extract(epoch from '2026-07-07 05:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484742 -3.706859)'), GeomFromEWKT('SRID=4674;POINT (-38.484718 -3.706682)'))) / (select extract(epoch from '2026-07-07 05:08:15'::timestamp) - extract(epoch from '2026-07-07 05:08: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.484691 -3.706525)', '2026-07-07 05:08:22', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484718 -3.706682)'), GeomFromEWKT('SRID=4674;POINT (-38.484691 -3.706525)'))) / (select extract(epoch from '2026-07-07 05:08:22'::timestamp) - extract(epoch from '2026-07-07 05:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484718 -3.706682)'), GeomFromEWKT('SRID=4674;POINT (-38.484691 -3.706525)'))) / (select extract(epoch from '2026-07-07 05:08:22'::timestamp) - extract(epoch from '2026-07-07 05:08: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.484655 -3.706347)', '2026-07-07 05:08:30', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484691 -3.706525)'), GeomFromEWKT('SRID=4674;POINT (-38.484655 -3.706347)'))) / (select extract(epoch from '2026-07-07 05:08:30'::timestamp) - extract(epoch from '2026-07-07 05:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484691 -3.706525)'), GeomFromEWKT('SRID=4674;POINT (-38.484655 -3.706347)'))) / (select extract(epoch from '2026-07-07 05:08:30'::timestamp) - extract(epoch from '2026-07-07 05: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.484651 -3.706324)', '2026-07-07 05:08:31', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484655 -3.706347)'), GeomFromEWKT('SRID=4674;POINT (-38.484651 -3.706324)'))) / (select extract(epoch from '2026-07-07 05:08:31'::timestamp) - extract(epoch from '2026-07-07 05:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484655 -3.706347)'), GeomFromEWKT('SRID=4674;POINT (-38.484651 -3.706324)'))) / (select extract(epoch from '2026-07-07 05:08:31'::timestamp) - extract(epoch from '2026-07-07 05:08: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.484621 -3.706189)', '2026-07-07 05:08:37', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484651 -3.706324)'), GeomFromEWKT('SRID=4674;POINT (-38.484621 -3.706189)'))) / (select extract(epoch from '2026-07-07 05:08:37'::timestamp) - extract(epoch from '2026-07-07 05:08:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484651 -3.706324)'), GeomFromEWKT('SRID=4674;POINT (-38.484621 -3.706189)'))) / (select extract(epoch from '2026-07-07 05:08:37'::timestamp) - extract(epoch from '2026-07-07 05:08: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.484584 -3.705991)', '2026-07-07 05:08:46', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484621 -3.706189)'), GeomFromEWKT('SRID=4674;POINT (-38.484584 -3.705991)'))) / (select extract(epoch from '2026-07-07 05:08:46'::timestamp) - extract(epoch from '2026-07-07 05:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484621 -3.706189)'), GeomFromEWKT('SRID=4674;POINT (-38.484584 -3.705991)'))) / (select extract(epoch from '2026-07-07 05:08:46'::timestamp) - extract(epoch from '2026-07-07 05:08: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.484575 -3.705948)', '2026-07-07 05:08:48', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484584 -3.705991)'), GeomFromEWKT('SRID=4674;POINT (-38.484575 -3.705948)'))) / (select extract(epoch from '2026-07-07 05:08:48'::timestamp) - extract(epoch from '2026-07-07 05:08:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484584 -3.705991)'), GeomFromEWKT('SRID=4674;POINT (-38.484575 -3.705948)'))) / (select extract(epoch from '2026-07-07 05:08:48'::timestamp) - extract(epoch from '2026-07-07 05:08: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.484539 -3.705775)', '2026-07-07 05:08:56', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484575 -3.705948)'), GeomFromEWKT('SRID=4674;POINT (-38.484539 -3.705775)'))) / (select extract(epoch from '2026-07-07 05:08:56'::timestamp) - extract(epoch from '2026-07-07 05:08:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484575 -3.705948)'), GeomFromEWKT('SRID=4674;POINT (-38.484539 -3.705775)'))) / (select extract(epoch from '2026-07-07 05:08:56'::timestamp) - extract(epoch from '2026-07-07 05:08: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.484528 -3.705642)', '2026-07-07 05:09:02', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484539 -3.705775)'), GeomFromEWKT('SRID=4674;POINT (-38.484528 -3.705642)'))) / (select extract(epoch from '2026-07-07 05:09:02'::timestamp) - extract(epoch from '2026-07-07 05:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484539 -3.705775)'), GeomFromEWKT('SRID=4674;POINT (-38.484528 -3.705642)'))) / (select extract(epoch from '2026-07-07 05:09:02'::timestamp) - extract(epoch from '2026-07-07 05:08: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.484514 -3.705471)', '2026-07-07 05:09:10', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484528 -3.705642)'), GeomFromEWKT('SRID=4674;POINT (-38.484514 -3.705471)'))) / (select extract(epoch from '2026-07-07 05:09:10'::timestamp) - extract(epoch from '2026-07-07 05:09:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484528 -3.705642)'), GeomFromEWKT('SRID=4674;POINT (-38.484514 -3.705471)'))) / (select extract(epoch from '2026-07-07 05:09:10'::timestamp) - extract(epoch from '2026-07-07 05:09: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.484484 -3.705281)', '2026-07-07 05:09:19', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484514 -3.705471)'), GeomFromEWKT('SRID=4674;POINT (-38.484484 -3.705281)'))) / (select extract(epoch from '2026-07-07 05:09:19'::timestamp) - extract(epoch from '2026-07-07 05:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484514 -3.705471)'), GeomFromEWKT('SRID=4674;POINT (-38.484484 -3.705281)'))) / (select extract(epoch from '2026-07-07 05:09:19'::timestamp) - extract(epoch from '2026-07-07 05:09: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.48448 -3.705262)', '2026-07-07 05:09:20', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484484 -3.705281)'), GeomFromEWKT('SRID=4674;POINT (-38.48448 -3.705262)'))) / (select extract(epoch from '2026-07-07 05:09:20'::timestamp) - extract(epoch from '2026-07-07 05:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484484 -3.705281)'), GeomFromEWKT('SRID=4674;POINT (-38.48448 -3.705262)'))) / (select extract(epoch from '2026-07-07 05:09:20'::timestamp) - extract(epoch from '2026-07-07 05:09: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.484455 -3.705138)', '2026-07-07 05:09:26', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48448 -3.705262)'), GeomFromEWKT('SRID=4674;POINT (-38.484455 -3.705138)'))) / (select extract(epoch from '2026-07-07 05:09:26'::timestamp) - extract(epoch from '2026-07-07 05:09:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48448 -3.705262)'), GeomFromEWKT('SRID=4674;POINT (-38.484455 -3.705138)'))) / (select extract(epoch from '2026-07-07 05:09:26'::timestamp) - extract(epoch from '2026-07-07 05: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.484418 -3.704991)', '2026-07-07 05:09:33', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484455 -3.705138)'), GeomFromEWKT('SRID=4674;POINT (-38.484418 -3.704991)'))) / (select extract(epoch from '2026-07-07 05:09:33'::timestamp) - extract(epoch from '2026-07-07 05:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484455 -3.705138)'), GeomFromEWKT('SRID=4674;POINT (-38.484418 -3.704991)'))) / (select extract(epoch from '2026-07-07 05:09:33'::timestamp) - extract(epoch from '2026-07-07 05:09: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.484369 -3.704802)', '2026-07-07 05:09:42', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484418 -3.704991)'), GeomFromEWKT('SRID=4674;POINT (-38.484369 -3.704802)'))) / (select extract(epoch from '2026-07-07 05:09:42'::timestamp) - extract(epoch from '2026-07-07 05:09:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484418 -3.704991)'), GeomFromEWKT('SRID=4674;POINT (-38.484369 -3.704802)'))) / (select extract(epoch from '2026-07-07 05:09:42'::timestamp) - extract(epoch from '2026-07-07 05:09: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.484364 -3.704782)', '2026-07-07 05:09:43', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484369 -3.704802)'), GeomFromEWKT('SRID=4674;POINT (-38.484364 -3.704782)'))) / (select extract(epoch from '2026-07-07 05:09:43'::timestamp) - extract(epoch from '2026-07-07 05:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484369 -3.704802)'), GeomFromEWKT('SRID=4674;POINT (-38.484364 -3.704782)'))) / (select extract(epoch from '2026-07-07 05:09:43'::timestamp) - extract(epoch from '2026-07-07 05:09: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.484319 -3.704638)', '2026-07-07 05:09:50', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484364 -3.704782)'), GeomFromEWKT('SRID=4674;POINT (-38.484319 -3.704638)'))) / (select extract(epoch from '2026-07-07 05:09:50'::timestamp) - extract(epoch from '2026-07-07 05:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484364 -3.704782)'), GeomFromEWKT('SRID=4674;POINT (-38.484319 -3.704638)'))) / (select extract(epoch from '2026-07-07 05:09:50'::timestamp) - extract(epoch from '2026-07-07 05:09: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.484271 -3.704496)', '2026-07-07 05:09:57', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484319 -3.704638)'), GeomFromEWKT('SRID=4674;POINT (-38.484271 -3.704496)'))) / (select extract(epoch from '2026-07-07 05:09:57'::timestamp) - extract(epoch from '2026-07-07 05:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484319 -3.704638)'), GeomFromEWKT('SRID=4674;POINT (-38.484271 -3.704496)'))) / (select extract(epoch from '2026-07-07 05:09:57'::timestamp) - extract(epoch from '2026-07-07 05:09: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.484225 -3.704334)', '2026-07-07 05:10:05', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484271 -3.704496)'), GeomFromEWKT('SRID=4674;POINT (-38.484225 -3.704334)'))) / (select extract(epoch from '2026-07-07 05:10:05'::timestamp) - extract(epoch from '2026-07-07 05:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484271 -3.704496)'), GeomFromEWKT('SRID=4674;POINT (-38.484225 -3.704334)'))) / (select extract(epoch from '2026-07-07 05:10:05'::timestamp) - extract(epoch from '2026-07-07 05:09: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.484194 -3.70421)', '2026-07-07 05:10:11', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484225 -3.704334)'), GeomFromEWKT('SRID=4674;POINT (-38.484194 -3.70421)'))) / (select extract(epoch from '2026-07-07 05:10:11'::timestamp) - extract(epoch from '2026-07-07 05:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484225 -3.704334)'), GeomFromEWKT('SRID=4674;POINT (-38.484194 -3.70421)'))) / (select extract(epoch from '2026-07-07 05:10:11'::timestamp) - extract(epoch from '2026-07-07 05:10: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.484154 -3.70404)', '2026-07-07 05:10:19', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484194 -3.70421)'), GeomFromEWKT('SRID=4674;POINT (-38.484154 -3.70404)'))) / (select extract(epoch from '2026-07-07 05:10:19'::timestamp) - extract(epoch from '2026-07-07 05:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484194 -3.70421)'), GeomFromEWKT('SRID=4674;POINT (-38.484154 -3.70404)'))) / (select extract(epoch from '2026-07-07 05:10:19'::timestamp) - extract(epoch from '2026-07-07 05:10: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.484119 -3.703851)', '2026-07-07 05:10:28', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484154 -3.70404)'), GeomFromEWKT('SRID=4674;POINT (-38.484119 -3.703851)'))) / (select extract(epoch from '2026-07-07 05:10:28'::timestamp) - extract(epoch from '2026-07-07 05:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484154 -3.70404)'), GeomFromEWKT('SRID=4674;POINT (-38.484119 -3.703851)'))) / (select extract(epoch from '2026-07-07 05:10:28'::timestamp) - extract(epoch from '2026-07-07 05:10: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.484092 -3.7037)', '2026-07-07 05:10:35', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484119 -3.703851)'), GeomFromEWKT('SRID=4674;POINT (-38.484092 -3.7037)'))) / (select extract(epoch from '2026-07-07 05:10:35'::timestamp) - extract(epoch from '2026-07-07 05:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484119 -3.703851)'), GeomFromEWKT('SRID=4674;POINT (-38.484092 -3.7037)'))) / (select extract(epoch from '2026-07-07 05:10:35'::timestamp) - extract(epoch from '2026-07-07 05:10: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.484051 -3.703548)', '2026-07-07 05:10:42', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484092 -3.7037)'), GeomFromEWKT('SRID=4674;POINT (-38.484051 -3.703548)'))) / (select extract(epoch from '2026-07-07 05:10:42'::timestamp) - extract(epoch from '2026-07-07 05:10:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484092 -3.7037)'), GeomFromEWKT('SRID=4674;POINT (-38.484051 -3.703548)'))) / (select extract(epoch from '2026-07-07 05:10:42'::timestamp) - extract(epoch from '2026-07-07 05:10: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.483995 -3.703355)', '2026-07-07 05:10:51', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484051 -3.703548)'), GeomFromEWKT('SRID=4674;POINT (-38.483995 -3.703355)'))) / (select extract(epoch from '2026-07-07 05:10:51'::timestamp) - extract(epoch from '2026-07-07 05:10:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484051 -3.703548)'), GeomFromEWKT('SRID=4674;POINT (-38.483995 -3.703355)'))) / (select extract(epoch from '2026-07-07 05:10:51'::timestamp) - extract(epoch from '2026-07-07 05:10: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.483963 -3.703224)', '2026-07-07 05:10:57', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483995 -3.703355)'), GeomFromEWKT('SRID=4674;POINT (-38.483963 -3.703224)'))) / (select extract(epoch from '2026-07-07 05:10:57'::timestamp) - extract(epoch from '2026-07-07 05:10:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483995 -3.703355)'), GeomFromEWKT('SRID=4674;POINT (-38.483963 -3.703224)'))) / (select extract(epoch from '2026-07-07 05:10:57'::timestamp) - extract(epoch from '2026-07-07 05:10: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.483924 -3.703055)', '2026-07-07 05:11:05', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483963 -3.703224)'), GeomFromEWKT('SRID=4674;POINT (-38.483924 -3.703055)'))) / (select extract(epoch from '2026-07-07 05:11:05'::timestamp) - extract(epoch from '2026-07-07 05:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483963 -3.703224)'), GeomFromEWKT('SRID=4674;POINT (-38.483924 -3.703055)'))) / (select extract(epoch from '2026-07-07 05:11:05'::timestamp) - extract(epoch from '2026-07-07 05:10: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.483882 -3.702861)', '2026-07-07 05:11:14', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483924 -3.703055)'), GeomFromEWKT('SRID=4674;POINT (-38.483882 -3.702861)'))) / (select extract(epoch from '2026-07-07 05:11:14'::timestamp) - extract(epoch from '2026-07-07 05:11:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483924 -3.703055)'), GeomFromEWKT('SRID=4674;POINT (-38.483882 -3.702861)'))) / (select extract(epoch from '2026-07-07 05:11:14'::timestamp) - extract(epoch from '2026-07-07 05:11: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.48385 -3.702683)', '2026-07-07 05:11:22', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483882 -3.702861)'), GeomFromEWKT('SRID=4674;POINT (-38.48385 -3.702683)'))) / (select extract(epoch from '2026-07-07 05:11:22'::timestamp) - extract(epoch from '2026-07-07 05:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483882 -3.702861)'), GeomFromEWKT('SRID=4674;POINT (-38.48385 -3.702683)'))) / (select extract(epoch from '2026-07-07 05:11:22'::timestamp) - extract(epoch from '2026-07-07 05:11: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.483827 -3.702532)', '2026-07-07 05:11:29', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48385 -3.702683)'), GeomFromEWKT('SRID=4674;POINT (-38.483827 -3.702532)'))) / (select extract(epoch from '2026-07-07 05:11:29'::timestamp) - extract(epoch from '2026-07-07 05:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48385 -3.702683)'), GeomFromEWKT('SRID=4674;POINT (-38.483827 -3.702532)'))) / (select extract(epoch from '2026-07-07 05:11:29'::timestamp) - extract(epoch from '2026-07-07 05:11: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.483778 -3.702343)', '2026-07-07 05:11:38', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483827 -3.702532)'), GeomFromEWKT('SRID=4674;POINT (-38.483778 -3.702343)'))) / (select extract(epoch from '2026-07-07 05:11:38'::timestamp) - extract(epoch from '2026-07-07 05:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483827 -3.702532)'), GeomFromEWKT('SRID=4674;POINT (-38.483778 -3.702343)'))) / (select extract(epoch from '2026-07-07 05:11:38'::timestamp) - extract(epoch from '2026-07-07 05: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.483743 -3.70219)', '2026-07-07 05:11:45', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483778 -3.702343)'), GeomFromEWKT('SRID=4674;POINT (-38.483743 -3.70219)'))) / (select extract(epoch from '2026-07-07 05:11:45'::timestamp) - extract(epoch from '2026-07-07 05:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483778 -3.702343)'), GeomFromEWKT('SRID=4674;POINT (-38.483743 -3.70219)'))) / (select extract(epoch from '2026-07-07 05:11:45'::timestamp) - extract(epoch from '2026-07-07 05:11: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.48371 -3.702039)', '2026-07-07 05:11:52', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483743 -3.70219)'), GeomFromEWKT('SRID=4674;POINT (-38.48371 -3.702039)'))) / (select extract(epoch from '2026-07-07 05:11:52'::timestamp) - extract(epoch from '2026-07-07 05:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483743 -3.70219)'), GeomFromEWKT('SRID=4674;POINT (-38.48371 -3.702039)'))) / (select extract(epoch from '2026-07-07 05:11:52'::timestamp) - extract(epoch from '2026-07-07 05:11: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.483677 -3.701916)', '2026-07-07 05:11:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48371 -3.702039)'), GeomFromEWKT('SRID=4674;POINT (-38.483677 -3.701916)'))) / (select extract(epoch from '2026-07-07 05:11:58'::timestamp) - extract(epoch from '2026-07-07 05:11:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48371 -3.702039)'), GeomFromEWKT('SRID=4674;POINT (-38.483677 -3.701916)'))) / (select extract(epoch from '2026-07-07 05:11:58'::timestamp) - extract(epoch from '2026-07-07 05:11: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.483632 -3.701726)', '2026-07-07 05:12:07', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483677 -3.701916)'), GeomFromEWKT('SRID=4674;POINT (-38.483632 -3.701726)'))) / (select extract(epoch from '2026-07-07 05:12:07'::timestamp) - extract(epoch from '2026-07-07 05:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483677 -3.701916)'), GeomFromEWKT('SRID=4674;POINT (-38.483632 -3.701726)'))) / (select extract(epoch from '2026-07-07 05:12:07'::timestamp) - extract(epoch from '2026-07-07 05: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.483599 -3.701599)', '2026-07-07 05:12:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483632 -3.701726)'), GeomFromEWKT('SRID=4674;POINT (-38.483599 -3.701599)'))) / (select extract(epoch from '2026-07-07 05:12:13'::timestamp) - extract(epoch from '2026-07-07 05:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483632 -3.701726)'), GeomFromEWKT('SRID=4674;POINT (-38.483599 -3.701599)'))) / (select extract(epoch from '2026-07-07 05:12:13'::timestamp) - extract(epoch from '2026-07-07 05: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.483562 -3.701454)', '2026-07-07 05:12:20', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483599 -3.701599)'), GeomFromEWKT('SRID=4674;POINT (-38.483562 -3.701454)'))) / (select extract(epoch from '2026-07-07 05:12:20'::timestamp) - extract(epoch from '2026-07-07 05:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483599 -3.701599)'), GeomFromEWKT('SRID=4674;POINT (-38.483562 -3.701454)'))) / (select extract(epoch from '2026-07-07 05:12:20'::timestamp) - extract(epoch from '2026-07-07 05:12: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.483521 -3.701303)', '2026-07-07 05:12:27', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483562 -3.701454)'), GeomFromEWKT('SRID=4674;POINT (-38.483521 -3.701303)'))) / (select extract(epoch from '2026-07-07 05:12:27'::timestamp) - extract(epoch from '2026-07-07 05:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483562 -3.701454)'), GeomFromEWKT('SRID=4674;POINT (-38.483521 -3.701303)'))) / (select extract(epoch from '2026-07-07 05:12:27'::timestamp) - extract(epoch from '2026-07-07 05:12: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.48347 -3.701108)', '2026-07-07 05:12:36', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483521 -3.701303)'), GeomFromEWKT('SRID=4674;POINT (-38.48347 -3.701108)'))) / (select extract(epoch from '2026-07-07 05:12:36'::timestamp) - extract(epoch from '2026-07-07 05:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483521 -3.701303)'), GeomFromEWKT('SRID=4674;POINT (-38.48347 -3.701108)'))) / (select extract(epoch from '2026-07-07 05:12:36'::timestamp) - extract(epoch from '2026-07-07 05:12: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.483425 -3.700984)', '2026-07-07 05:12:42', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48347 -3.701108)'), GeomFromEWKT('SRID=4674;POINT (-38.483425 -3.700984)'))) / (select extract(epoch from '2026-07-07 05:12:42'::timestamp) - extract(epoch from '2026-07-07 05:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48347 -3.701108)'), GeomFromEWKT('SRID=4674;POINT (-38.483425 -3.700984)'))) / (select extract(epoch from '2026-07-07 05:12:42'::timestamp) - extract(epoch from '2026-07-07 05:12: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.483376 -3.700839)', '2026-07-07 05:12:49', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483425 -3.700984)'), GeomFromEWKT('SRID=4674;POINT (-38.483376 -3.700839)'))) / (select extract(epoch from '2026-07-07 05:12:49'::timestamp) - extract(epoch from '2026-07-07 05:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483425 -3.700984)'), GeomFromEWKT('SRID=4674;POINT (-38.483376 -3.700839)'))) / (select extract(epoch from '2026-07-07 05:12:49'::timestamp) - extract(epoch from '2026-07-07 05:12: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.48334 -3.700687)', '2026-07-07 05:12:56', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483376 -3.700839)'), GeomFromEWKT('SRID=4674;POINT (-38.48334 -3.700687)'))) / (select extract(epoch from '2026-07-07 05:12:56'::timestamp) - extract(epoch from '2026-07-07 05:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483376 -3.700839)'), GeomFromEWKT('SRID=4674;POINT (-38.48334 -3.700687)'))) / (select extract(epoch from '2026-07-07 05:12:56'::timestamp) - extract(epoch from '2026-07-07 05: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.483299 -3.700534)', '2026-07-07 05:13:03', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48334 -3.700687)'), GeomFromEWKT('SRID=4674;POINT (-38.483299 -3.700534)'))) / (select extract(epoch from '2026-07-07 05:13:03'::timestamp) - extract(epoch from '2026-07-07 05:12:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48334 -3.700687)'), GeomFromEWKT('SRID=4674;POINT (-38.483299 -3.700534)'))) / (select extract(epoch from '2026-07-07 05:13:03'::timestamp) - extract(epoch from '2026-07-07 05: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.483257 -3.70038)', '2026-07-07 05:13:10', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483299 -3.700534)'), GeomFromEWKT('SRID=4674;POINT (-38.483257 -3.70038)'))) / (select extract(epoch from '2026-07-07 05:13:10'::timestamp) - extract(epoch from '2026-07-07 05:13:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483299 -3.700534)'), GeomFromEWKT('SRID=4674;POINT (-38.483257 -3.70038)'))) / (select extract(epoch from '2026-07-07 05:13:10'::timestamp) - extract(epoch from '2026-07-07 05:13: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.483212 -3.700208)', '2026-07-07 05:13:18', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483257 -3.70038)'), GeomFromEWKT('SRID=4674;POINT (-38.483212 -3.700208)'))) / (select extract(epoch from '2026-07-07 05:13:18'::timestamp) - extract(epoch from '2026-07-07 05:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483257 -3.70038)'), GeomFromEWKT('SRID=4674;POINT (-38.483212 -3.700208)'))) / (select extract(epoch from '2026-07-07 05:13:18'::timestamp) - extract(epoch from '2026-07-07 05:13: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.48318 -3.700028)', '2026-07-07 05:13:26', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483212 -3.700208)'), GeomFromEWKT('SRID=4674;POINT (-38.48318 -3.700028)'))) / (select extract(epoch from '2026-07-07 05:13:26'::timestamp) - extract(epoch from '2026-07-07 05:13:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483212 -3.700208)'), GeomFromEWKT('SRID=4674;POINT (-38.48318 -3.700028)'))) / (select extract(epoch from '2026-07-07 05:13:26'::timestamp) - extract(epoch from '2026-07-07 05:13: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.483179 -3.700006)', '2026-07-07 05:13:27', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48318 -3.700028)'), GeomFromEWKT('SRID=4674;POINT (-38.483179 -3.700006)'))) / (select extract(epoch from '2026-07-07 05:13:27'::timestamp) - extract(epoch from '2026-07-07 05:13:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48318 -3.700028)'), GeomFromEWKT('SRID=4674;POINT (-38.483179 -3.700006)'))) / (select extract(epoch from '2026-07-07 05:13:27'::timestamp) - extract(epoch from '2026-07-07 05:13: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.483169 -3.699862)', '2026-07-07 05:13:33', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483179 -3.700006)'), GeomFromEWKT('SRID=4674;POINT (-38.483169 -3.699862)'))) / (select extract(epoch from '2026-07-07 05:13:33'::timestamp) - extract(epoch from '2026-07-07 05:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483179 -3.700006)'), GeomFromEWKT('SRID=4674;POINT (-38.483169 -3.699862)'))) / (select extract(epoch from '2026-07-07 05:13:33'::timestamp) - extract(epoch from '2026-07-07 05: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.483189 -3.69967)', '2026-07-07 05:13:41', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483169 -3.699862)'), GeomFromEWKT('SRID=4674;POINT (-38.483189 -3.69967)'))) / (select extract(epoch from '2026-07-07 05:13:41'::timestamp) - extract(epoch from '2026-07-07 05:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483169 -3.699862)'), GeomFromEWKT('SRID=4674;POINT (-38.483189 -3.69967)'))) / (select extract(epoch from '2026-07-07 05:13:41'::timestamp) - extract(epoch from '2026-07-07 05:13: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.483186 -3.699464)', '2026-07-07 05:13:49', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483189 -3.69967)'), GeomFromEWKT('SRID=4674;POINT (-38.483186 -3.699464)'))) / (select extract(epoch from '2026-07-07 05:13:49'::timestamp) - extract(epoch from '2026-07-07 05:13:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483189 -3.69967)'), GeomFromEWKT('SRID=4674;POINT (-38.483186 -3.699464)'))) / (select extract(epoch from '2026-07-07 05:13:49'::timestamp) - extract(epoch from '2026-07-07 05:13: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.483174 -3.699265)', '2026-07-07 05:13:57', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483186 -3.699464)'), GeomFromEWKT('SRID=4674;POINT (-38.483174 -3.699265)'))) / (select extract(epoch from '2026-07-07 05:13:57'::timestamp) - extract(epoch from '2026-07-07 05:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483186 -3.699464)'), GeomFromEWKT('SRID=4674;POINT (-38.483174 -3.699265)'))) / (select extract(epoch from '2026-07-07 05:13:57'::timestamp) - extract(epoch from '2026-07-07 05:13: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.483154 -3.699122)', '2026-07-07 05:14:03', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483174 -3.699265)'), GeomFromEWKT('SRID=4674;POINT (-38.483154 -3.699122)'))) / (select extract(epoch from '2026-07-07 05:14:03'::timestamp) - extract(epoch from '2026-07-07 05:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483174 -3.699265)'), GeomFromEWKT('SRID=4674;POINT (-38.483154 -3.699122)'))) / (select extract(epoch from '2026-07-07 05:14:03'::timestamp) - extract(epoch from '2026-07-07 05:13: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.483093 -3.698948)', '2026-07-07 05:14:11', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483154 -3.699122)'), GeomFromEWKT('SRID=4674;POINT (-38.483093 -3.698948)'))) / (select extract(epoch from '2026-07-07 05:14:11'::timestamp) - extract(epoch from '2026-07-07 05:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483154 -3.699122)'), GeomFromEWKT('SRID=4674;POINT (-38.483093 -3.698948)'))) / (select extract(epoch from '2026-07-07 05:14:11'::timestamp) - extract(epoch from '2026-07-07 05:14: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.483028 -3.698831)', '2026-07-07 05:14:17', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483093 -3.698948)'), GeomFromEWKT('SRID=4674;POINT (-38.483028 -3.698831)'))) / (select extract(epoch from '2026-07-07 05:14:17'::timestamp) - extract(epoch from '2026-07-07 05:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483093 -3.698948)'), GeomFromEWKT('SRID=4674;POINT (-38.483028 -3.698831)'))) / (select extract(epoch from '2026-07-07 05:14:17'::timestamp) - extract(epoch from '2026-07-07 05:14: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.48293 -3.698687)', '2026-07-07 05:14:25', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483028 -3.698831)'), GeomFromEWKT('SRID=4674;POINT (-38.48293 -3.698687)'))) / (select extract(epoch from '2026-07-07 05:14:25'::timestamp) - extract(epoch from '2026-07-07 05:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483028 -3.698831)'), GeomFromEWKT('SRID=4674;POINT (-38.48293 -3.698687)'))) / (select extract(epoch from '2026-07-07 05:14:25'::timestamp) - extract(epoch from '2026-07-07 05:14: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.482846 -3.698586)', '2026-07-07 05:14:31', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48293 -3.698687)'), GeomFromEWKT('SRID=4674;POINT (-38.482846 -3.698586)'))) / (select extract(epoch from '2026-07-07 05:14:31'::timestamp) - extract(epoch from '2026-07-07 05:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48293 -3.698687)'), GeomFromEWKT('SRID=4674;POINT (-38.482846 -3.698586)'))) / (select extract(epoch from '2026-07-07 05:14:31'::timestamp) - extract(epoch from '2026-07-07 05: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.482731 -3.698448)', '2026-07-07 05:14:39', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482846 -3.698586)'), GeomFromEWKT('SRID=4674;POINT (-38.482731 -3.698448)'))) / (select extract(epoch from '2026-07-07 05:14:39'::timestamp) - extract(epoch from '2026-07-07 05:14:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482846 -3.698586)'), GeomFromEWKT('SRID=4674;POINT (-38.482731 -3.698448)'))) / (select extract(epoch from '2026-07-07 05:14:39'::timestamp) - extract(epoch from '2026-07-07 05:14: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.482632 -3.698366)', '2026-07-07 05:14:45', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482731 -3.698448)'), GeomFromEWKT('SRID=4674;POINT (-38.482632 -3.698366)'))) / (select extract(epoch from '2026-07-07 05:14:45'::timestamp) - extract(epoch from '2026-07-07 05:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482731 -3.698448)'), GeomFromEWKT('SRID=4674;POINT (-38.482632 -3.698366)'))) / (select extract(epoch from '2026-07-07 05:14:45'::timestamp) - extract(epoch from '2026-07-07 05:14: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.482541 -3.698282)', '2026-07-07 05:14:51', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482632 -3.698366)'), GeomFromEWKT('SRID=4674;POINT (-38.482541 -3.698282)'))) / (select extract(epoch from '2026-07-07 05:14:51'::timestamp) - extract(epoch from '2026-07-07 05:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482632 -3.698366)'), GeomFromEWKT('SRID=4674;POINT (-38.482541 -3.698282)'))) / (select extract(epoch from '2026-07-07 05:14:51'::timestamp) - extract(epoch from '2026-07-07 05:14: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.482474 -3.698179)', '2026-07-07 05:14:57', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482541 -3.698282)'), GeomFromEWKT('SRID=4674;POINT (-38.482474 -3.698179)'))) / (select extract(epoch from '2026-07-07 05:14:57'::timestamp) - extract(epoch from '2026-07-07 05:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482541 -3.698282)'), GeomFromEWKT('SRID=4674;POINT (-38.482474 -3.698179)'))) / (select extract(epoch from '2026-07-07 05:14:57'::timestamp) - extract(epoch from '2026-07-07 05:14: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.482399 -3.698073)', '2026-07-07 05:15:03', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482474 -3.698179)'), GeomFromEWKT('SRID=4674;POINT (-38.482399 -3.698073)'))) / (select extract(epoch from '2026-07-07 05:15:03'::timestamp) - extract(epoch from '2026-07-07 05:14:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482474 -3.698179)'), GeomFromEWKT('SRID=4674;POINT (-38.482399 -3.698073)'))) / (select extract(epoch from '2026-07-07 05:15:03'::timestamp) - extract(epoch from '2026-07-07 05: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.482305 -3.697959)', '2026-07-07 05:15:10', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482399 -3.698073)'), GeomFromEWKT('SRID=4674;POINT (-38.482305 -3.697959)'))) / (select extract(epoch from '2026-07-07 05:15:10'::timestamp) - extract(epoch from '2026-07-07 05:15:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482399 -3.698073)'), GeomFromEWKT('SRID=4674;POINT (-38.482305 -3.697959)'))) / (select extract(epoch from '2026-07-07 05:15:10'::timestamp) - extract(epoch from '2026-07-07 05:15: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.482204 -3.697847)', '2026-07-07 05:15:17', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482305 -3.697959)'), GeomFromEWKT('SRID=4674;POINT (-38.482204 -3.697847)'))) / (select extract(epoch from '2026-07-07 05:15:17'::timestamp) - extract(epoch from '2026-07-07 05:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482305 -3.697959)'), GeomFromEWKT('SRID=4674;POINT (-38.482204 -3.697847)'))) / (select extract(epoch from '2026-07-07 05:15:17'::timestamp) - extract(epoch from '2026-07-07 05:15: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.482135 -3.697769)', '2026-07-07 05:15:22', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482204 -3.697847)'), GeomFromEWKT('SRID=4674;POINT (-38.482135 -3.697769)'))) / (select extract(epoch from '2026-07-07 05:15:22'::timestamp) - extract(epoch from '2026-07-07 05:15:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482204 -3.697847)'), GeomFromEWKT('SRID=4674;POINT (-38.482135 -3.697769)'))) / (select extract(epoch from '2026-07-07 05:15:22'::timestamp) - extract(epoch from '2026-07-07 05:15: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.48206 -3.697672)', '2026-07-07 05:15:28', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482135 -3.697769)'), GeomFromEWKT('SRID=4674;POINT (-38.48206 -3.697672)'))) / (select extract(epoch from '2026-07-07 05:15:28'::timestamp) - extract(epoch from '2026-07-07 05:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482135 -3.697769)'), GeomFromEWKT('SRID=4674;POINT (-38.48206 -3.697672)'))) / (select extract(epoch from '2026-07-07 05:15:28'::timestamp) - extract(epoch from '2026-07-07 05: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.481991 -3.697593)', '2026-07-07 05:15:33', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48206 -3.697672)'), GeomFromEWKT('SRID=4674;POINT (-38.481991 -3.697593)'))) / (select extract(epoch from '2026-07-07 05:15:33'::timestamp) - extract(epoch from '2026-07-07 05:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48206 -3.697672)'), GeomFromEWKT('SRID=4674;POINT (-38.481991 -3.697593)'))) / (select extract(epoch from '2026-07-07 05:15:33'::timestamp) - extract(epoch from '2026-07-07 05:15: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.481888 -3.697475)', '2026-07-07 05:15:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481991 -3.697593)'), GeomFromEWKT('SRID=4674;POINT (-38.481888 -3.697475)'))) / (select extract(epoch from '2026-07-07 05:15:40'::timestamp) - extract(epoch from '2026-07-07 05:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481991 -3.697593)'), GeomFromEWKT('SRID=4674;POINT (-38.481888 -3.697475)'))) / (select extract(epoch from '2026-07-07 05:15:40'::timestamp) - extract(epoch from '2026-07-07 05:15: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.481798 -3.697376)', '2026-07-07 05:15:46', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481888 -3.697475)'), GeomFromEWKT('SRID=4674;POINT (-38.481798 -3.697376)'))) / (select extract(epoch from '2026-07-07 05:15:46'::timestamp) - extract(epoch from '2026-07-07 05:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481888 -3.697475)'), GeomFromEWKT('SRID=4674;POINT (-38.481798 -3.697376)'))) / (select extract(epoch from '2026-07-07 05:15:46'::timestamp) - extract(epoch from '2026-07-07 05:15: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.48174 -3.697291)', '2026-07-07 05:15:51', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481798 -3.697376)'), GeomFromEWKT('SRID=4674;POINT (-38.48174 -3.697291)'))) / (select extract(epoch from '2026-07-07 05:15:51'::timestamp) - extract(epoch from '2026-07-07 05:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481798 -3.697376)'), GeomFromEWKT('SRID=4674;POINT (-38.48174 -3.697291)'))) / (select extract(epoch from '2026-07-07 05:15:51'::timestamp) - extract(epoch from '2026-07-07 05:15: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.481662 -3.697192)', '2026-07-07 05:15:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48174 -3.697291)'), GeomFromEWKT('SRID=4674;POINT (-38.481662 -3.697192)'))) / (select extract(epoch from '2026-07-07 05:15:57'::timestamp) - extract(epoch from '2026-07-07 05:15:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48174 -3.697291)'), GeomFromEWKT('SRID=4674;POINT (-38.481662 -3.697192)'))) / (select extract(epoch from '2026-07-07 05:15:57'::timestamp) - extract(epoch from '2026-07-07 05: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.481557 -3.697062)', '2026-07-07 05:16:05', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481662 -3.697192)'), GeomFromEWKT('SRID=4674;POINT (-38.481557 -3.697062)'))) / (select extract(epoch from '2026-07-07 05:16:05'::timestamp) - extract(epoch from '2026-07-07 05:15:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481662 -3.697192)'), GeomFromEWKT('SRID=4674;POINT (-38.481557 -3.697062)'))) / (select extract(epoch from '2026-07-07 05:16:05'::timestamp) - extract(epoch from '2026-07-07 05:15: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.481478 -3.696963)', '2026-07-07 05:16:11', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481557 -3.697062)'), GeomFromEWKT('SRID=4674;POINT (-38.481478 -3.696963)'))) / (select extract(epoch from '2026-07-07 05:16:11'::timestamp) - extract(epoch from '2026-07-07 05:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481557 -3.697062)'), GeomFromEWKT('SRID=4674;POINT (-38.481478 -3.696963)'))) / (select extract(epoch from '2026-07-07 05:16:11'::timestamp) - extract(epoch from '2026-07-07 05:16: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.481425 -3.696898)', '2026-07-07 05:16:15', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481478 -3.696963)'), GeomFromEWKT('SRID=4674;POINT (-38.481425 -3.696898)'))) / (select extract(epoch from '2026-07-07 05:16:15'::timestamp) - extract(epoch from '2026-07-07 05:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481478 -3.696963)'), GeomFromEWKT('SRID=4674;POINT (-38.481425 -3.696898)'))) / (select extract(epoch from '2026-07-07 05:16:15'::timestamp) - extract(epoch from '2026-07-07 05:16: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.481373 -3.696833)', '2026-07-07 05:16:19', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481425 -3.696898)'), GeomFromEWKT('SRID=4674;POINT (-38.481373 -3.696833)'))) / (select extract(epoch from '2026-07-07 05:16:19'::timestamp) - extract(epoch from '2026-07-07 05:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481425 -3.696898)'), GeomFromEWKT('SRID=4674;POINT (-38.481373 -3.696833)'))) / (select extract(epoch from '2026-07-07 05:16:19'::timestamp) - extract(epoch from '2026-07-07 05:16: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.481269 -3.696726)', '2026-07-07 05:16:26', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481373 -3.696833)'), GeomFromEWKT('SRID=4674;POINT (-38.481269 -3.696726)'))) / (select extract(epoch from '2026-07-07 05:16:26'::timestamp) - extract(epoch from '2026-07-07 05:16:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481373 -3.696833)'), GeomFromEWKT('SRID=4674;POINT (-38.481269 -3.696726)'))) / (select extract(epoch from '2026-07-07 05:16:26'::timestamp) - extract(epoch from '2026-07-07 05:16: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.48117 -3.696635)', '2026-07-07 05:16:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481269 -3.696726)'), GeomFromEWKT('SRID=4674;POINT (-38.48117 -3.696635)'))) / (select extract(epoch from '2026-07-07 05:16:32'::timestamp) - extract(epoch from '2026-07-07 05:16:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481269 -3.696726)'), GeomFromEWKT('SRID=4674;POINT (-38.48117 -3.696635)'))) / (select extract(epoch from '2026-07-07 05:16:32'::timestamp) - extract(epoch from '2026-07-07 05: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.481076 -3.696555)', '2026-07-07 05:16:38', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48117 -3.696635)'), GeomFromEWKT('SRID=4674;POINT (-38.481076 -3.696555)'))) / (select extract(epoch from '2026-07-07 05:16:38'::timestamp) - extract(epoch from '2026-07-07 05:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48117 -3.696635)'), GeomFromEWKT('SRID=4674;POINT (-38.481076 -3.696555)'))) / (select extract(epoch from '2026-07-07 05:16:38'::timestamp) - extract(epoch from '2026-07-07 05:16: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.481003 -3.696488)', '2026-07-07 05:16:43', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481076 -3.696555)'), GeomFromEWKT('SRID=4674;POINT (-38.481003 -3.696488)'))) / (select extract(epoch from '2026-07-07 05:16:43'::timestamp) - extract(epoch from '2026-07-07 05:16:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481076 -3.696555)'), GeomFromEWKT('SRID=4674;POINT (-38.481003 -3.696488)'))) / (select extract(epoch from '2026-07-07 05:16:43'::timestamp) - extract(epoch from '2026-07-07 05:16: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.480911 -3.696399)', '2026-07-07 05:16:49', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481003 -3.696488)'), GeomFromEWKT('SRID=4674;POINT (-38.480911 -3.696399)'))) / (select extract(epoch from '2026-07-07 05:16:49'::timestamp) - extract(epoch from '2026-07-07 05:16:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481003 -3.696488)'), GeomFromEWKT('SRID=4674;POINT (-38.480911 -3.696399)'))) / (select extract(epoch from '2026-07-07 05:16:49'::timestamp) - extract(epoch from '2026-07-07 05:16: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.480856 -3.696338)', '2026-07-07 05:16:53', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480911 -3.696399)'), GeomFromEWKT('SRID=4674;POINT (-38.480856 -3.696338)'))) / (select extract(epoch from '2026-07-07 05:16:53'::timestamp) - extract(epoch from '2026-07-07 05:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480911 -3.696399)'), GeomFromEWKT('SRID=4674;POINT (-38.480856 -3.696338)'))) / (select extract(epoch from '2026-07-07 05:16:53'::timestamp) - extract(epoch from '2026-07-07 05: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.480846 -3.696323)', '2026-07-07 05:16:54', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480856 -3.696338)'), GeomFromEWKT('SRID=4674;POINT (-38.480846 -3.696323)'))) / (select extract(epoch from '2026-07-07 05:16:54'::timestamp) - extract(epoch from '2026-07-07 05:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480856 -3.696338)'), GeomFromEWKT('SRID=4674;POINT (-38.480846 -3.696323)'))) / (select extract(epoch from '2026-07-07 05:16:54'::timestamp) - extract(epoch from '2026-07-07 05:16: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.48078 -3.696251)', '2026-07-07 05:16:59', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480846 -3.696323)'), GeomFromEWKT('SRID=4674;POINT (-38.48078 -3.696251)'))) / (select extract(epoch from '2026-07-07 05:16:59'::timestamp) - extract(epoch from '2026-07-07 05:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480846 -3.696323)'), GeomFromEWKT('SRID=4674;POINT (-38.48078 -3.696251)'))) / (select extract(epoch from '2026-07-07 05:16:59'::timestamp) - extract(epoch from '2026-07-07 05:16: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.480713 -3.696169)', '2026-07-07 05:17:04', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48078 -3.696251)'), GeomFromEWKT('SRID=4674;POINT (-38.480713 -3.696169)'))) / (select extract(epoch from '2026-07-07 05:17:04'::timestamp) - extract(epoch from '2026-07-07 05:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48078 -3.696251)'), GeomFromEWKT('SRID=4674;POINT (-38.480713 -3.696169)'))) / (select extract(epoch from '2026-07-07 05:17:04'::timestamp) - extract(epoch from '2026-07-07 05:16: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.480627 -3.696076)', '2026-07-07 05:17:10', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480713 -3.696169)'), GeomFromEWKT('SRID=4674;POINT (-38.480627 -3.696076)'))) / (select extract(epoch from '2026-07-07 05:17:10'::timestamp) - extract(epoch from '2026-07-07 05:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480713 -3.696169)'), GeomFromEWKT('SRID=4674;POINT (-38.480627 -3.696076)'))) / (select extract(epoch from '2026-07-07 05:17:10'::timestamp) - extract(epoch from '2026-07-07 05:17: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.480547 -3.696004)', '2026-07-07 05:17:15', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480627 -3.696076)'), GeomFromEWKT('SRID=4674;POINT (-38.480547 -3.696004)'))) / (select extract(epoch from '2026-07-07 05:17:15'::timestamp) - extract(epoch from '2026-07-07 05:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480627 -3.696076)'), GeomFromEWKT('SRID=4674;POINT (-38.480547 -3.696004)'))) / (select extract(epoch from '2026-07-07 05:17:15'::timestamp) - extract(epoch from '2026-07-07 05:17: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.480442 -3.695901)', '2026-07-07 05:17:22', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480547 -3.696004)'), GeomFromEWKT('SRID=4674;POINT (-38.480442 -3.695901)'))) / (select extract(epoch from '2026-07-07 05:17:22'::timestamp) - extract(epoch from '2026-07-07 05:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480547 -3.696004)'), GeomFromEWKT('SRID=4674;POINT (-38.480442 -3.695901)'))) / (select extract(epoch from '2026-07-07 05:17:22'::timestamp) - extract(epoch from '2026-07-07 05:17: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.480342 -3.695812)', '2026-07-07 05:17:28', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480442 -3.695901)'), GeomFromEWKT('SRID=4674;POINT (-38.480342 -3.695812)'))) / (select extract(epoch from '2026-07-07 05:17:28'::timestamp) - extract(epoch from '2026-07-07 05:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480442 -3.695901)'), GeomFromEWKT('SRID=4674;POINT (-38.480342 -3.695812)'))) / (select extract(epoch from '2026-07-07 05:17:28'::timestamp) - extract(epoch from '2026-07-07 05:17: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.480269 -3.695738)', '2026-07-07 05:17:33', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480342 -3.695812)'), GeomFromEWKT('SRID=4674;POINT (-38.480269 -3.695738)'))) / (select extract(epoch from '2026-07-07 05:17:33'::timestamp) - extract(epoch from '2026-07-07 05:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480342 -3.695812)'), GeomFromEWKT('SRID=4674;POINT (-38.480269 -3.695738)'))) / (select extract(epoch from '2026-07-07 05:17:33'::timestamp) - extract(epoch from '2026-07-07 05:17: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.4802 -3.695662)', '2026-07-07 05:17:38', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480269 -3.695738)'), GeomFromEWKT('SRID=4674;POINT (-38.4802 -3.695662)'))) / (select extract(epoch from '2026-07-07 05:17:38'::timestamp) - extract(epoch from '2026-07-07 05:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480269 -3.695738)'), GeomFromEWKT('SRID=4674;POINT (-38.4802 -3.695662)'))) / (select extract(epoch from '2026-07-07 05:17:38'::timestamp) - extract(epoch from '2026-07-07 05:17: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.480125 -3.695575)', '2026-07-07 05:17:44', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4802 -3.695662)'), GeomFromEWKT('SRID=4674;POINT (-38.480125 -3.695575)'))) / (select extract(epoch from '2026-07-07 05:17:44'::timestamp) - extract(epoch from '2026-07-07 05:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4802 -3.695662)'), GeomFromEWKT('SRID=4674;POINT (-38.480125 -3.695575)'))) / (select extract(epoch from '2026-07-07 05:17:44'::timestamp) - extract(epoch from '2026-07-07 05: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.48006 -3.695497)', '2026-07-07 05:17:49', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480125 -3.695575)'), GeomFromEWKT('SRID=4674;POINT (-38.48006 -3.695497)'))) / (select extract(epoch from '2026-07-07 05:17:49'::timestamp) - extract(epoch from '2026-07-07 05:17:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480125 -3.695575)'), GeomFromEWKT('SRID=4674;POINT (-38.48006 -3.695497)'))) / (select extract(epoch from '2026-07-07 05:17:49'::timestamp) - extract(epoch from '2026-07-07 05:17: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.480027 -3.69545)', '2026-07-07 05:17:52', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48006 -3.695497)'), GeomFromEWKT('SRID=4674;POINT (-38.480027 -3.69545)'))) / (select extract(epoch from '2026-07-07 05:17:52'::timestamp) - extract(epoch from '2026-07-07 05:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48006 -3.695497)'), GeomFromEWKT('SRID=4674;POINT (-38.480027 -3.69545)'))) / (select extract(epoch from '2026-07-07 05:17:52'::timestamp) - extract(epoch from '2026-07-07 05: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.479993 -3.695418)', '2026-07-07 05:17:54', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480027 -3.69545)'), GeomFromEWKT('SRID=4674;POINT (-38.479993 -3.695418)'))) / (select extract(epoch from '2026-07-07 05:17:54'::timestamp) - extract(epoch from '2026-07-07 05:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480027 -3.69545)'), GeomFromEWKT('SRID=4674;POINT (-38.479993 -3.695418)'))) / (select extract(epoch from '2026-07-07 05:17:54'::timestamp) - extract(epoch from '2026-07-07 05:17: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.479902 -3.695306)', '2026-07-07 05:18:01', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479993 -3.695418)'), GeomFromEWKT('SRID=4674;POINT (-38.479902 -3.695306)'))) / (select extract(epoch from '2026-07-07 05:18:01'::timestamp) - extract(epoch from '2026-07-07 05:17:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479993 -3.695418)'), GeomFromEWKT('SRID=4674;POINT (-38.479902 -3.695306)'))) / (select extract(epoch from '2026-07-07 05:18:01'::timestamp) - extract(epoch from '2026-07-07 05:17: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.479838 -3.695234)', '2026-07-07 05:18:06', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479902 -3.695306)'), GeomFromEWKT('SRID=4674;POINT (-38.479838 -3.695234)'))) / (select extract(epoch from '2026-07-07 05:18:06'::timestamp) - extract(epoch from '2026-07-07 05:18:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479902 -3.695306)'), GeomFromEWKT('SRID=4674;POINT (-38.479838 -3.695234)'))) / (select extract(epoch from '2026-07-07 05:18:06'::timestamp) - extract(epoch from '2026-07-07 05:18: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.47977 -3.695158)', '2026-07-07 05:18:11', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479838 -3.695234)'), GeomFromEWKT('SRID=4674;POINT (-38.47977 -3.695158)'))) / (select extract(epoch from '2026-07-07 05:18:11'::timestamp) - extract(epoch from '2026-07-07 05:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479838 -3.695234)'), GeomFromEWKT('SRID=4674;POINT (-38.47977 -3.695158)'))) / (select extract(epoch from '2026-07-07 05:18:11'::timestamp) - extract(epoch from '2026-07-07 05:18: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.479703 -3.695083)', '2026-07-07 05:18:16', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47977 -3.695158)'), GeomFromEWKT('SRID=4674;POINT (-38.479703 -3.695083)'))) / (select extract(epoch from '2026-07-07 05:18:16'::timestamp) - extract(epoch from '2026-07-07 05:18:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47977 -3.695158)'), GeomFromEWKT('SRID=4674;POINT (-38.479703 -3.695083)'))) / (select extract(epoch from '2026-07-07 05:18:16'::timestamp) - extract(epoch from '2026-07-07 05: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.479629 -3.695007)', '2026-07-07 05:18:21', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479703 -3.695083)'), GeomFromEWKT('SRID=4674;POINT (-38.479629 -3.695007)'))) / (select extract(epoch from '2026-07-07 05:18:21'::timestamp) - extract(epoch from '2026-07-07 05:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479703 -3.695083)'), GeomFromEWKT('SRID=4674;POINT (-38.479629 -3.695007)'))) / (select extract(epoch from '2026-07-07 05:18:21'::timestamp) - extract(epoch from '2026-07-07 05:18: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.479524 -3.694904)', '2026-07-07 05:18:28', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479629 -3.695007)'), GeomFromEWKT('SRID=4674;POINT (-38.479524 -3.694904)'))) / (select extract(epoch from '2026-07-07 05:18:28'::timestamp) - extract(epoch from '2026-07-07 05:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479629 -3.695007)'), GeomFromEWKT('SRID=4674;POINT (-38.479524 -3.694904)'))) / (select extract(epoch from '2026-07-07 05:18:28'::timestamp) - extract(epoch from '2026-07-07 05:18: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.47945 -3.694832)', '2026-07-07 05:18:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479524 -3.694904)'), GeomFromEWKT('SRID=4674;POINT (-38.47945 -3.694832)'))) / (select extract(epoch from '2026-07-07 05:18:33'::timestamp) - extract(epoch from '2026-07-07 05:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479524 -3.694904)'), GeomFromEWKT('SRID=4674;POINT (-38.47945 -3.694832)'))) / (select extract(epoch from '2026-07-07 05:18:33'::timestamp) - extract(epoch from '2026-07-07 05:18: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.479377 -3.694752)', '2026-07-07 05:18:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47945 -3.694832)'), GeomFromEWKT('SRID=4674;POINT (-38.479377 -3.694752)'))) / (select extract(epoch from '2026-07-07 05:18:38'::timestamp) - extract(epoch from '2026-07-07 05:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47945 -3.694832)'), GeomFromEWKT('SRID=4674;POINT (-38.479377 -3.694752)'))) / (select extract(epoch from '2026-07-07 05:18:38'::timestamp) - extract(epoch from '2026-07-07 05:18: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.479351 -3.694721)', '2026-07-07 05:18:40', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479377 -3.694752)'), GeomFromEWKT('SRID=4674;POINT (-38.479351 -3.694721)'))) / (select extract(epoch from '2026-07-07 05:18:40'::timestamp) - extract(epoch from '2026-07-07 05:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479377 -3.694752)'), GeomFromEWKT('SRID=4674;POINT (-38.479351 -3.694721)'))) / (select extract(epoch from '2026-07-07 05:18:40'::timestamp) - extract(epoch from '2026-07-07 05:18: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.479327 -3.694689)', '2026-07-07 05:18:42', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479351 -3.694721)'), GeomFromEWKT('SRID=4674;POINT (-38.479327 -3.694689)'))) / (select extract(epoch from '2026-07-07 05:18:42'::timestamp) - extract(epoch from '2026-07-07 05:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479351 -3.694721)'), GeomFromEWKT('SRID=4674;POINT (-38.479327 -3.694689)'))) / (select extract(epoch from '2026-07-07 05:18:42'::timestamp) - extract(epoch from '2026-07-07 05:18: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.47926 -3.694606)', '2026-07-07 05:18:47', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479327 -3.694689)'), GeomFromEWKT('SRID=4674;POINT (-38.47926 -3.694606)'))) / (select extract(epoch from '2026-07-07 05:18:47'::timestamp) - extract(epoch from '2026-07-07 05:18:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479327 -3.694689)'), GeomFromEWKT('SRID=4674;POINT (-38.47926 -3.694606)'))) / (select extract(epoch from '2026-07-07 05:18:47'::timestamp) - extract(epoch from '2026-07-07 05:18: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.4792 -3.694541)', '2026-07-07 05:18:51', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47926 -3.694606)'), GeomFromEWKT('SRID=4674;POINT (-38.4792 -3.694541)'))) / (select extract(epoch from '2026-07-07 05:18:51'::timestamp) - extract(epoch from '2026-07-07 05:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47926 -3.694606)'), GeomFromEWKT('SRID=4674;POINT (-38.4792 -3.694541)'))) / (select extract(epoch from '2026-07-07 05:18:51'::timestamp) - extract(epoch from '2026-07-07 05:18: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.479123 -3.694445)', '2026-07-07 05:18:57', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4792 -3.694541)'), GeomFromEWKT('SRID=4674;POINT (-38.479123 -3.694445)'))) / (select extract(epoch from '2026-07-07 05:18:57'::timestamp) - extract(epoch from '2026-07-07 05:18:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4792 -3.694541)'), GeomFromEWKT('SRID=4674;POINT (-38.479123 -3.694445)'))) / (select extract(epoch from '2026-07-07 05:18:57'::timestamp) - extract(epoch from '2026-07-07 05:18: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.47902 -3.69434)', '2026-07-07 05:19:04', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479123 -3.694445)'), GeomFromEWKT('SRID=4674;POINT (-38.47902 -3.69434)'))) / (select extract(epoch from '2026-07-07 05:19:04'::timestamp) - extract(epoch from '2026-07-07 05:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479123 -3.694445)'), GeomFromEWKT('SRID=4674;POINT (-38.47902 -3.69434)'))) / (select extract(epoch from '2026-07-07 05:19:04'::timestamp) - extract(epoch from '2026-07-07 05:18: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.478954 -3.69428)', '2026-07-07 05:19:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47902 -3.69434)'), GeomFromEWKT('SRID=4674;POINT (-38.478954 -3.69428)'))) / (select extract(epoch from '2026-07-07 05:19:08'::timestamp) - extract(epoch from '2026-07-07 05:19:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47902 -3.69434)'), GeomFromEWKT('SRID=4674;POINT (-38.478954 -3.69428)'))) / (select extract(epoch from '2026-07-07 05:19:08'::timestamp) - extract(epoch from '2026-07-07 05:19: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.478939 -3.694263)', '2026-07-07 05:19:09', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478954 -3.69428)'), GeomFromEWKT('SRID=4674;POINT (-38.478939 -3.694263)'))) / (select extract(epoch from '2026-07-07 05:19:09'::timestamp) - extract(epoch from '2026-07-07 05:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478954 -3.69428)'), GeomFromEWKT('SRID=4674;POINT (-38.478939 -3.694263)'))) / (select extract(epoch from '2026-07-07 05:19:09'::timestamp) - extract(epoch from '2026-07-07 05: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.47884 -3.694169)', '2026-07-07 05:19:16', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478939 -3.694263)'), GeomFromEWKT('SRID=4674;POINT (-38.47884 -3.694169)'))) / (select extract(epoch from '2026-07-07 05:19:16'::timestamp) - extract(epoch from '2026-07-07 05:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478939 -3.694263)'), GeomFromEWKT('SRID=4674;POINT (-38.47884 -3.694169)'))) / (select extract(epoch from '2026-07-07 05:19:16'::timestamp) - extract(epoch from '2026-07-07 05: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.478789 -3.694109)', '2026-07-07 05:19:20', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47884 -3.694169)'), GeomFromEWKT('SRID=4674;POINT (-38.478789 -3.694109)'))) / (select extract(epoch from '2026-07-07 05:19:20'::timestamp) - extract(epoch from '2026-07-07 05:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47884 -3.694169)'), GeomFromEWKT('SRID=4674;POINT (-38.478789 -3.694109)'))) / (select extract(epoch from '2026-07-07 05:19:20'::timestamp) - extract(epoch from '2026-07-07 05:19: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.478703 -3.694027)', '2026-07-07 05:19:26', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478789 -3.694109)'), GeomFromEWKT('SRID=4674;POINT (-38.478703 -3.694027)'))) / (select extract(epoch from '2026-07-07 05:19:26'::timestamp) - extract(epoch from '2026-07-07 05:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478789 -3.694109)'), GeomFromEWKT('SRID=4674;POINT (-38.478703 -3.694027)'))) / (select extract(epoch from '2026-07-07 05:19:26'::timestamp) - extract(epoch from '2026-07-07 05:19: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.478596 -3.693924)', '2026-07-07 05:19:33', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478703 -3.694027)'), GeomFromEWKT('SRID=4674;POINT (-38.478596 -3.693924)'))) / (select extract(epoch from '2026-07-07 05:19:33'::timestamp) - extract(epoch from '2026-07-07 05:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478703 -3.694027)'), GeomFromEWKT('SRID=4674;POINT (-38.478596 -3.693924)'))) / (select extract(epoch from '2026-07-07 05:19:33'::timestamp) - extract(epoch from '2026-07-07 05: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.47849 -3.693826)', '2026-07-07 05:19:40', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478596 -3.693924)'), GeomFromEWKT('SRID=4674;POINT (-38.47849 -3.693826)'))) / (select extract(epoch from '2026-07-07 05:19:40'::timestamp) - extract(epoch from '2026-07-07 05:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478596 -3.693924)'), GeomFromEWKT('SRID=4674;POINT (-38.47849 -3.693826)'))) / (select extract(epoch from '2026-07-07 05:19:40'::timestamp) - extract(epoch from '2026-07-07 05:19: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.478421 -3.693748)', '2026-07-07 05:19:45', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47849 -3.693826)'), GeomFromEWKT('SRID=4674;POINT (-38.478421 -3.693748)'))) / (select extract(epoch from '2026-07-07 05:19:45'::timestamp) - extract(epoch from '2026-07-07 05:19:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47849 -3.693826)'), GeomFromEWKT('SRID=4674;POINT (-38.478421 -3.693748)'))) / (select extract(epoch from '2026-07-07 05:19:45'::timestamp) - extract(epoch from '2026-07-07 05:19: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.478317 -3.693628)', '2026-07-07 05:19:53', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478421 -3.693748)'), GeomFromEWKT('SRID=4674;POINT (-38.478317 -3.693628)'))) / (select extract(epoch from '2026-07-07 05:19:53'::timestamp) - extract(epoch from '2026-07-07 05:19:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478421 -3.693748)'), GeomFromEWKT('SRID=4674;POINT (-38.478317 -3.693628)'))) / (select extract(epoch from '2026-07-07 05:19:53'::timestamp) - extract(epoch from '2026-07-07 05:19: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.47823 -3.693546)', '2026-07-07 05:19:59', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478317 -3.693628)'), GeomFromEWKT('SRID=4674;POINT (-38.47823 -3.693546)'))) / (select extract(epoch from '2026-07-07 05:19:59'::timestamp) - extract(epoch from '2026-07-07 05:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478317 -3.693628)'), GeomFromEWKT('SRID=4674;POINT (-38.47823 -3.693546)'))) / (select extract(epoch from '2026-07-07 05:19:59'::timestamp) - extract(epoch from '2026-07-07 05:19: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.478165 -3.693473)', '2026-07-07 05:20:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47823 -3.693546)'), GeomFromEWKT('SRID=4674;POINT (-38.478165 -3.693473)'))) / (select extract(epoch from '2026-07-07 05:20:04'::timestamp) - extract(epoch from '2026-07-07 05:19:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47823 -3.693546)'), GeomFromEWKT('SRID=4674;POINT (-38.478165 -3.693473)'))) / (select extract(epoch from '2026-07-07 05:20:04'::timestamp) - extract(epoch from '2026-07-07 05:19: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.478085 -3.693387)', '2026-07-07 05:20:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478165 -3.693473)'), GeomFromEWKT('SRID=4674;POINT (-38.478085 -3.693387)'))) / (select extract(epoch from '2026-07-07 05:20:10'::timestamp) - extract(epoch from '2026-07-07 05:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478165 -3.693473)'), GeomFromEWKT('SRID=4674;POINT (-38.478085 -3.693387)'))) / (select extract(epoch from '2026-07-07 05:20:10'::timestamp) - extract(epoch from '2026-07-07 05: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.478002 -3.693303)', '2026-07-07 05:20:16', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478085 -3.693387)'), GeomFromEWKT('SRID=4674;POINT (-38.478002 -3.693303)'))) / (select extract(epoch from '2026-07-07 05:20:16'::timestamp) - extract(epoch from '2026-07-07 05:20:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478085 -3.693387)'), GeomFromEWKT('SRID=4674;POINT (-38.478002 -3.693303)'))) / (select extract(epoch from '2026-07-07 05:20:16'::timestamp) - extract(epoch from '2026-07-07 05:20: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.477938 -3.693229)', '2026-07-07 05:20:21', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478002 -3.693303)'), GeomFromEWKT('SRID=4674;POINT (-38.477938 -3.693229)'))) / (select extract(epoch from '2026-07-07 05:20:21'::timestamp) - extract(epoch from '2026-07-07 05:20:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478002 -3.693303)'), GeomFromEWKT('SRID=4674;POINT (-38.477938 -3.693229)'))) / (select extract(epoch from '2026-07-07 05:20:21'::timestamp) - extract(epoch from '2026-07-07 05:20: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.477929 -3.693217)', '2026-07-07 05:20:22', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477938 -3.693229)'), GeomFromEWKT('SRID=4674;POINT (-38.477929 -3.693217)'))) / (select extract(epoch from '2026-07-07 05:20:22'::timestamp) - extract(epoch from '2026-07-07 05:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477938 -3.693229)'), GeomFromEWKT('SRID=4674;POINT (-38.477929 -3.693217)'))) / (select extract(epoch from '2026-07-07 05:20:22'::timestamp) - extract(epoch from '2026-07-07 05:20: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.47787 -3.693162)', '2026-07-07 05:20:26', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477929 -3.693217)'), GeomFromEWKT('SRID=4674;POINT (-38.47787 -3.693162)'))) / (select extract(epoch from '2026-07-07 05:20:26'::timestamp) - extract(epoch from '2026-07-07 05:20:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477929 -3.693217)'), GeomFromEWKT('SRID=4674;POINT (-38.47787 -3.693162)'))) / (select extract(epoch from '2026-07-07 05:20:26'::timestamp) - extract(epoch from '2026-07-07 05:20: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.47779 -3.693096)', '2026-07-07 05:20:31', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47787 -3.693162)'), GeomFromEWKT('SRID=4674;POINT (-38.47779 -3.693096)'))) / (select extract(epoch from '2026-07-07 05:20:31'::timestamp) - extract(epoch from '2026-07-07 05:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47787 -3.693162)'), GeomFromEWKT('SRID=4674;POINT (-38.47779 -3.693096)'))) / (select extract(epoch from '2026-07-07 05:20:31'::timestamp) - extract(epoch from '2026-07-07 05:20: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.477696 -3.693014)', '2026-07-07 05:20:37', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47779 -3.693096)'), GeomFromEWKT('SRID=4674;POINT (-38.477696 -3.693014)'))) / (select extract(epoch from '2026-07-07 05:20:37'::timestamp) - extract(epoch from '2026-07-07 05:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47779 -3.693096)'), GeomFromEWKT('SRID=4674;POINT (-38.477696 -3.693014)'))) / (select extract(epoch from '2026-07-07 05:20:37'::timestamp) - extract(epoch from '2026-07-07 05:20: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.477605 -3.692932)', '2026-07-07 05:20:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477696 -3.693014)'), GeomFromEWKT('SRID=4674;POINT (-38.477605 -3.692932)'))) / (select extract(epoch from '2026-07-07 05:20:43'::timestamp) - extract(epoch from '2026-07-07 05:20:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477696 -3.693014)'), GeomFromEWKT('SRID=4674;POINT (-38.477605 -3.692932)'))) / (select extract(epoch from '2026-07-07 05:20:43'::timestamp) - extract(epoch from '2026-07-07 05:20: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.477496 -3.692832)', '2026-07-07 05:20:50', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477605 -3.692932)'), GeomFromEWKT('SRID=4674;POINT (-38.477496 -3.692832)'))) / (select extract(epoch from '2026-07-07 05:20:50'::timestamp) - extract(epoch from '2026-07-07 05:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477605 -3.692932)'), GeomFromEWKT('SRID=4674;POINT (-38.477496 -3.692832)'))) / (select extract(epoch from '2026-07-07 05:20:50'::timestamp) - extract(epoch from '2026-07-07 05: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.477411 -3.692749)', '2026-07-07 05:20:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477496 -3.692832)'), GeomFromEWKT('SRID=4674;POINT (-38.477411 -3.692749)'))) / (select extract(epoch from '2026-07-07 05:20:56'::timestamp) - extract(epoch from '2026-07-07 05:20:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477496 -3.692832)'), GeomFromEWKT('SRID=4674;POINT (-38.477411 -3.692749)'))) / (select extract(epoch from '2026-07-07 05:20:56'::timestamp) - extract(epoch from '2026-07-07 05:20: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.477331 -3.692674)', '2026-07-07 05:21:01', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477411 -3.692749)'), GeomFromEWKT('SRID=4674;POINT (-38.477331 -3.692674)'))) / (select extract(epoch from '2026-07-07 05:21:01'::timestamp) - extract(epoch from '2026-07-07 05:20:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477411 -3.692749)'), GeomFromEWKT('SRID=4674;POINT (-38.477331 -3.692674)'))) / (select extract(epoch from '2026-07-07 05:21:01'::timestamp) - extract(epoch from '2026-07-07 05:20: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.477235 -3.692573)', '2026-07-07 05:21:08', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477331 -3.692674)'), GeomFromEWKT('SRID=4674;POINT (-38.477235 -3.692573)'))) / (select extract(epoch from '2026-07-07 05:21:08'::timestamp) - extract(epoch from '2026-07-07 05:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477331 -3.692674)'), GeomFromEWKT('SRID=4674;POINT (-38.477235 -3.692573)'))) / (select extract(epoch from '2026-07-07 05:21:08'::timestamp) - extract(epoch from '2026-07-07 05: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.477159 -3.692503)', '2026-07-07 05:21:13', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477235 -3.692573)'), GeomFromEWKT('SRID=4674;POINT (-38.477159 -3.692503)'))) / (select extract(epoch from '2026-07-07 05:21:13'::timestamp) - extract(epoch from '2026-07-07 05:21:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477235 -3.692573)'), GeomFromEWKT('SRID=4674;POINT (-38.477159 -3.692503)'))) / (select extract(epoch from '2026-07-07 05:21:13'::timestamp) - extract(epoch from '2026-07-07 05:21: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.477063 -3.69242)', '2026-07-07 05:21:19', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477159 -3.692503)'), GeomFromEWKT('SRID=4674;POINT (-38.477063 -3.69242)'))) / (select extract(epoch from '2026-07-07 05:21:19'::timestamp) - extract(epoch from '2026-07-07 05:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477159 -3.692503)'), GeomFromEWKT('SRID=4674;POINT (-38.477063 -3.69242)'))) / (select extract(epoch from '2026-07-07 05:21:19'::timestamp) - extract(epoch from '2026-07-07 05: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.476974 -3.692332)', '2026-07-07 05:21:25', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477063 -3.69242)'), GeomFromEWKT('SRID=4674;POINT (-38.476974 -3.692332)'))) / (select extract(epoch from '2026-07-07 05:21:25'::timestamp) - extract(epoch from '2026-07-07 05:21:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477063 -3.69242)'), GeomFromEWKT('SRID=4674;POINT (-38.476974 -3.692332)'))) / (select extract(epoch from '2026-07-07 05:21:25'::timestamp) - extract(epoch from '2026-07-07 05:21: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.476907 -3.692256)', '2026-07-07 05:21:30', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476974 -3.692332)'), GeomFromEWKT('SRID=4674;POINT (-38.476907 -3.692256)'))) / (select extract(epoch from '2026-07-07 05:21:30'::timestamp) - extract(epoch from '2026-07-07 05:21:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476974 -3.692332)'), GeomFromEWKT('SRID=4674;POINT (-38.476907 -3.692256)'))) / (select extract(epoch from '2026-07-07 05:21:30'::timestamp) - extract(epoch from '2026-07-07 05:21: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.476842 -3.692182)', '2026-07-07 05:21:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476907 -3.692256)'), GeomFromEWKT('SRID=4674;POINT (-38.476842 -3.692182)'))) / (select extract(epoch from '2026-07-07 05:21:35'::timestamp) - extract(epoch from '2026-07-07 05:21:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476907 -3.692256)'), GeomFromEWKT('SRID=4674;POINT (-38.476842 -3.692182)'))) / (select extract(epoch from '2026-07-07 05:21:35'::timestamp) - extract(epoch from '2026-07-07 05:21: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.476764 -3.692092)', '2026-07-07 05:21:41', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476842 -3.692182)'), GeomFromEWKT('SRID=4674;POINT (-38.476764 -3.692092)'))) / (select extract(epoch from '2026-07-07 05:21:41'::timestamp) - extract(epoch from '2026-07-07 05:21:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476842 -3.692182)'), GeomFromEWKT('SRID=4674;POINT (-38.476764 -3.692092)'))) / (select extract(epoch from '2026-07-07 05:21:41'::timestamp) - extract(epoch from '2026-07-07 05:21: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.476703 -3.692017)', '2026-07-07 05:21:46', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476764 -3.692092)'), GeomFromEWKT('SRID=4674;POINT (-38.476703 -3.692017)'))) / (select extract(epoch from '2026-07-07 05:21:46'::timestamp) - extract(epoch from '2026-07-07 05:21:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476764 -3.692092)'), GeomFromEWKT('SRID=4674;POINT (-38.476703 -3.692017)'))) / (select extract(epoch from '2026-07-07 05:21:46'::timestamp) - extract(epoch from '2026-07-07 05:21: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.476608 -3.691918)', '2026-07-07 05:21:53', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476703 -3.692017)'), GeomFromEWKT('SRID=4674;POINT (-38.476608 -3.691918)'))) / (select extract(epoch from '2026-07-07 05:21:53'::timestamp) - extract(epoch from '2026-07-07 05:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476703 -3.692017)'), GeomFromEWKT('SRID=4674;POINT (-38.476608 -3.691918)'))) / (select extract(epoch from '2026-07-07 05:21:53'::timestamp) - extract(epoch from '2026-07-07 05:21: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.476525 -3.691834)', '2026-07-07 05:21:59', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476608 -3.691918)'), GeomFromEWKT('SRID=4674;POINT (-38.476525 -3.691834)'))) / (select extract(epoch from '2026-07-07 05:21:59'::timestamp) - extract(epoch from '2026-07-07 05:21:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476608 -3.691918)'), GeomFromEWKT('SRID=4674;POINT (-38.476525 -3.691834)'))) / (select extract(epoch from '2026-07-07 05:21:59'::timestamp) - extract(epoch from '2026-07-07 05:21: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.476438 -3.69175)', '2026-07-07 05:22:05', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476525 -3.691834)'), GeomFromEWKT('SRID=4674;POINT (-38.476438 -3.69175)'))) / (select extract(epoch from '2026-07-07 05:22:05'::timestamp) - extract(epoch from '2026-07-07 05:21:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476525 -3.691834)'), GeomFromEWKT('SRID=4674;POINT (-38.476438 -3.69175)'))) / (select extract(epoch from '2026-07-07 05:22:05'::timestamp) - extract(epoch from '2026-07-07 05:21: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.476373 -3.691684)', '2026-07-07 05:22:10', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476438 -3.69175)'), GeomFromEWKT('SRID=4674;POINT (-38.476373 -3.691684)'))) / (select extract(epoch from '2026-07-07 05:22:10'::timestamp) - extract(epoch from '2026-07-07 05:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476438 -3.69175)'), GeomFromEWKT('SRID=4674;POINT (-38.476373 -3.691684)'))) / (select extract(epoch from '2026-07-07 05:22:10'::timestamp) - extract(epoch from '2026-07-07 05:22: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.476348 -3.691658)', '2026-07-07 05:22:12', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476373 -3.691684)'), GeomFromEWKT('SRID=4674;POINT (-38.476348 -3.691658)'))) / (select extract(epoch from '2026-07-07 05:22:12'::timestamp) - extract(epoch from '2026-07-07 05:22:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476373 -3.691684)'), GeomFromEWKT('SRID=4674;POINT (-38.476348 -3.691658)'))) / (select extract(epoch from '2026-07-07 05:22:12'::timestamp) - extract(epoch from '2026-07-07 05:22: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.476298 -3.691619)', '2026-07-07 05:22:15', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476348 -3.691658)'), GeomFromEWKT('SRID=4674;POINT (-38.476298 -3.691619)'))) / (select extract(epoch from '2026-07-07 05:22:15'::timestamp) - extract(epoch from '2026-07-07 05:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476348 -3.691658)'), GeomFromEWKT('SRID=4674;POINT (-38.476298 -3.691619)'))) / (select extract(epoch from '2026-07-07 05:22:15'::timestamp) - extract(epoch from '2026-07-07 05:22: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.476206 -3.691541)', '2026-07-07 05:22:21', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476298 -3.691619)'), GeomFromEWKT('SRID=4674;POINT (-38.476206 -3.691541)'))) / (select extract(epoch from '2026-07-07 05:22:21'::timestamp) - extract(epoch from '2026-07-07 05:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476298 -3.691619)'), GeomFromEWKT('SRID=4674;POINT (-38.476206 -3.691541)'))) / (select extract(epoch from '2026-07-07 05:22:21'::timestamp) - extract(epoch from '2026-07-07 05:22: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.476118 -3.691467)', '2026-07-07 05:22:27', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476206 -3.691541)'), GeomFromEWKT('SRID=4674;POINT (-38.476118 -3.691467)'))) / (select extract(epoch from '2026-07-07 05:22:27'::timestamp) - extract(epoch from '2026-07-07 05:22:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476206 -3.691541)'), GeomFromEWKT('SRID=4674;POINT (-38.476118 -3.691467)'))) / (select extract(epoch from '2026-07-07 05:22:27'::timestamp) - extract(epoch from '2026-07-07 05:22: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.476023 -3.691398)', '2026-07-07 05:22:33', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476118 -3.691467)'), GeomFromEWKT('SRID=4674;POINT (-38.476023 -3.691398)'))) / (select extract(epoch from '2026-07-07 05:22:33'::timestamp) - extract(epoch from '2026-07-07 05:22:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476118 -3.691467)'), GeomFromEWKT('SRID=4674;POINT (-38.476023 -3.691398)'))) / (select extract(epoch from '2026-07-07 05:22:33'::timestamp) - extract(epoch from '2026-07-07 05:22: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.475927 -3.691317)', '2026-07-07 05:22:39', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476023 -3.691398)'), GeomFromEWKT('SRID=4674;POINT (-38.475927 -3.691317)'))) / (select extract(epoch from '2026-07-07 05:22:39'::timestamp) - extract(epoch from '2026-07-07 05:22:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476023 -3.691398)'), GeomFromEWKT('SRID=4674;POINT (-38.475927 -3.691317)'))) / (select extract(epoch from '2026-07-07 05:22:39'::timestamp) - extract(epoch from '2026-07-07 05:22: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.475838 -3.691242)', '2026-07-07 05:22:45', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475927 -3.691317)'), GeomFromEWKT('SRID=4674;POINT (-38.475838 -3.691242)'))) / (select extract(epoch from '2026-07-07 05:22:45'::timestamp) - extract(epoch from '2026-07-07 05:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475927 -3.691317)'), GeomFromEWKT('SRID=4674;POINT (-38.475838 -3.691242)'))) / (select extract(epoch from '2026-07-07 05:22:45'::timestamp) - extract(epoch from '2026-07-07 05:22: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.47576 -3.691176)', '2026-07-07 05:22:50', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475838 -3.691242)'), GeomFromEWKT('SRID=4674;POINT (-38.47576 -3.691176)'))) / (select extract(epoch from '2026-07-07 05:22:50'::timestamp) - extract(epoch from '2026-07-07 05:22:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475838 -3.691242)'), GeomFromEWKT('SRID=4674;POINT (-38.47576 -3.691176)'))) / (select extract(epoch from '2026-07-07 05:22:50'::timestamp) - extract(epoch from '2026-07-07 05:22: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.475671 -3.691105)', '2026-07-07 05:22:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47576 -3.691176)'), GeomFromEWKT('SRID=4674;POINT (-38.475671 -3.691105)'))) / (select extract(epoch from '2026-07-07 05:22:56'::timestamp) - extract(epoch from '2026-07-07 05:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47576 -3.691176)'), GeomFromEWKT('SRID=4674;POINT (-38.475671 -3.691105)'))) / (select extract(epoch from '2026-07-07 05:22:56'::timestamp) - extract(epoch from '2026-07-07 05:22: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.475595 -3.691046)', '2026-07-07 05:23:01', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475671 -3.691105)'), GeomFromEWKT('SRID=4674;POINT (-38.475595 -3.691046)'))) / (select extract(epoch from '2026-07-07 05:23:01'::timestamp) - extract(epoch from '2026-07-07 05:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475671 -3.691105)'), GeomFromEWKT('SRID=4674;POINT (-38.475595 -3.691046)'))) / (select extract(epoch from '2026-07-07 05:23:01'::timestamp) - extract(epoch from '2026-07-07 05:22: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.475517 -3.69099)', '2026-07-07 05:23:06', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475595 -3.691046)'), GeomFromEWKT('SRID=4674;POINT (-38.475517 -3.69099)'))) / (select extract(epoch from '2026-07-07 05:23:06'::timestamp) - extract(epoch from '2026-07-07 05:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475595 -3.691046)'), GeomFromEWKT('SRID=4674;POINT (-38.475517 -3.69099)'))) / (select extract(epoch from '2026-07-07 05:23:06'::timestamp) - extract(epoch from '2026-07-07 05:23: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.475456 -3.690924)', '2026-07-07 05:23:11', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475517 -3.69099)'), GeomFromEWKT('SRID=4674;POINT (-38.475456 -3.690924)'))) / (select extract(epoch from '2026-07-07 05:23:11'::timestamp) - extract(epoch from '2026-07-07 05:23:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475517 -3.69099)'), GeomFromEWKT('SRID=4674;POINT (-38.475456 -3.690924)'))) / (select extract(epoch from '2026-07-07 05:23:11'::timestamp) - extract(epoch from '2026-07-07 05:23: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.475432 -3.690899)', '2026-07-07 05:23:13', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475456 -3.690924)'), GeomFromEWKT('SRID=4674;POINT (-38.475432 -3.690899)'))) / (select extract(epoch from '2026-07-07 05:23:13'::timestamp) - extract(epoch from '2026-07-07 05:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475456 -3.690924)'), GeomFromEWKT('SRID=4674;POINT (-38.475432 -3.690899)'))) / (select extract(epoch from '2026-07-07 05:23:13'::timestamp) - extract(epoch from '2026-07-07 05:23: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.475389 -3.690858)', '2026-07-07 05:23:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475432 -3.690899)'), GeomFromEWKT('SRID=4674;POINT (-38.475389 -3.690858)'))) / (select extract(epoch from '2026-07-07 05:23:16'::timestamp) - extract(epoch from '2026-07-07 05:23:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475432 -3.690899)'), GeomFromEWKT('SRID=4674;POINT (-38.475389 -3.690858)'))) / (select extract(epoch from '2026-07-07 05:23:16'::timestamp) - extract(epoch from '2026-07-07 05:23: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.47532 -3.690789)', '2026-07-07 05:23:21', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475389 -3.690858)'), GeomFromEWKT('SRID=4674;POINT (-38.47532 -3.690789)'))) / (select extract(epoch from '2026-07-07 05:23:21'::timestamp) - extract(epoch from '2026-07-07 05:23:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475389 -3.690858)'), GeomFromEWKT('SRID=4674;POINT (-38.47532 -3.690789)'))) / (select extract(epoch from '2026-07-07 05:23:21'::timestamp) - extract(epoch from '2026-07-07 05:23: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.475283 -3.690747)', '2026-07-07 05:23:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47532 -3.690789)'), GeomFromEWKT('SRID=4674;POINT (-38.475283 -3.690747)'))) / (select extract(epoch from '2026-07-07 05:23:24'::timestamp) - extract(epoch from '2026-07-07 05:23:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47532 -3.690789)'), GeomFromEWKT('SRID=4674;POINT (-38.475283 -3.690747)'))) / (select extract(epoch from '2026-07-07 05:23:24'::timestamp) - extract(epoch from '2026-07-07 05:23: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.475256 -3.690717)', '2026-07-07 05:23:26', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475283 -3.690747)'), GeomFromEWKT('SRID=4674;POINT (-38.475256 -3.690717)'))) / (select extract(epoch from '2026-07-07 05:23:26'::timestamp) - extract(epoch from '2026-07-07 05:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475283 -3.690747)'), GeomFromEWKT('SRID=4674;POINT (-38.475256 -3.690717)'))) / (select extract(epoch from '2026-07-07 05:23:26'::timestamp) - extract(epoch from '2026-07-07 05:23: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.47517 -3.690635)', '2026-07-07 05:23:32', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475256 -3.690717)'), GeomFromEWKT('SRID=4674;POINT (-38.47517 -3.690635)'))) / (select extract(epoch from '2026-07-07 05:23:32'::timestamp) - extract(epoch from '2026-07-07 05:23:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475256 -3.690717)'), GeomFromEWKT('SRID=4674;POINT (-38.47517 -3.690635)'))) / (select extract(epoch from '2026-07-07 05:23:32'::timestamp) - extract(epoch from '2026-07-07 05:23: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.475159 -3.690622)', '2026-07-07 05:23:33', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47517 -3.690635)'), GeomFromEWKT('SRID=4674;POINT (-38.475159 -3.690622)'))) / (select extract(epoch from '2026-07-07 05:23:33'::timestamp) - extract(epoch from '2026-07-07 05:23:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47517 -3.690635)'), GeomFromEWKT('SRID=4674;POINT (-38.475159 -3.690622)'))) / (select extract(epoch from '2026-07-07 05:23:33'::timestamp) - extract(epoch from '2026-07-07 05:23: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.47512 -3.690583)', '2026-07-07 05:23:36', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475159 -3.690622)'), GeomFromEWKT('SRID=4674;POINT (-38.47512 -3.690583)'))) / (select extract(epoch from '2026-07-07 05:23:36'::timestamp) - extract(epoch from '2026-07-07 05:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475159 -3.690622)'), GeomFromEWKT('SRID=4674;POINT (-38.47512 -3.690583)'))) / (select extract(epoch from '2026-07-07 05:23:36'::timestamp) - extract(epoch from '2026-07-07 05:23: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.475025 -3.690487)', '2026-07-07 05:23:43', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47512 -3.690583)'), GeomFromEWKT('SRID=4674;POINT (-38.475025 -3.690487)'))) / (select extract(epoch from '2026-07-07 05:23:43'::timestamp) - extract(epoch from '2026-07-07 05:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47512 -3.690583)'), GeomFromEWKT('SRID=4674;POINT (-38.475025 -3.690487)'))) / (select extract(epoch from '2026-07-07 05:23:43'::timestamp) - extract(epoch from '2026-07-07 05:23: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.474957 -3.69042)', '2026-07-07 05:23:48', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475025 -3.690487)'), GeomFromEWKT('SRID=4674;POINT (-38.474957 -3.69042)'))) / (select extract(epoch from '2026-07-07 05:23:48'::timestamp) - extract(epoch from '2026-07-07 05:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475025 -3.690487)'), GeomFromEWKT('SRID=4674;POINT (-38.474957 -3.69042)'))) / (select extract(epoch from '2026-07-07 05:23:48'::timestamp) - extract(epoch from '2026-07-07 05:23: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.474872 -3.690337)', '2026-07-07 05:23:54', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474957 -3.69042)'), GeomFromEWKT('SRID=4674;POINT (-38.474872 -3.690337)'))) / (select extract(epoch from '2026-07-07 05:23:54'::timestamp) - extract(epoch from '2026-07-07 05:23:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474957 -3.69042)'), GeomFromEWKT('SRID=4674;POINT (-38.474872 -3.690337)'))) / (select extract(epoch from '2026-07-07 05:23:54'::timestamp) - extract(epoch from '2026-07-07 05:23: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.474824 -3.690278)', '2026-07-07 05:23:58', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474872 -3.690337)'), GeomFromEWKT('SRID=4674;POINT (-38.474824 -3.690278)'))) / (select extract(epoch from '2026-07-07 05:23:58'::timestamp) - extract(epoch from '2026-07-07 05:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474872 -3.690337)'), GeomFromEWKT('SRID=4674;POINT (-38.474824 -3.690278)'))) / (select extract(epoch from '2026-07-07 05:23:58'::timestamp) - extract(epoch from '2026-07-07 05:23: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.474761 -3.690222)', '2026-07-07 05:24:02', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474824 -3.690278)'), GeomFromEWKT('SRID=4674;POINT (-38.474761 -3.690222)'))) / (select extract(epoch from '2026-07-07 05:24:02'::timestamp) - extract(epoch from '2026-07-07 05:23:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474824 -3.690278)'), GeomFromEWKT('SRID=4674;POINT (-38.474761 -3.690222)'))) / (select extract(epoch from '2026-07-07 05:24:02'::timestamp) - extract(epoch from '2026-07-07 05:23: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.474686 -3.690157)', '2026-07-07 05:24:07', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474761 -3.690222)'), GeomFromEWKT('SRID=4674;POINT (-38.474686 -3.690157)'))) / (select extract(epoch from '2026-07-07 05:24:07'::timestamp) - extract(epoch from '2026-07-07 05:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474761 -3.690222)'), GeomFromEWKT('SRID=4674;POINT (-38.474686 -3.690157)'))) / (select extract(epoch from '2026-07-07 05:24:07'::timestamp) - extract(epoch from '2026-07-07 05:24: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.474606 -3.690096)', '2026-07-07 05:24:12', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474686 -3.690157)'), GeomFromEWKT('SRID=4674;POINT (-38.474606 -3.690096)'))) / (select extract(epoch from '2026-07-07 05:24:12'::timestamp) - extract(epoch from '2026-07-07 05:24:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474686 -3.690157)'), GeomFromEWKT('SRID=4674;POINT (-38.474606 -3.690096)'))) / (select extract(epoch from '2026-07-07 05:24:12'::timestamp) - extract(epoch from '2026-07-07 05:24: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.474561 -3.690057)', '2026-07-07 05:24:15', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474606 -3.690096)'), GeomFromEWKT('SRID=4674;POINT (-38.474561 -3.690057)'))) / (select extract(epoch from '2026-07-07 05:24:15'::timestamp) - extract(epoch from '2026-07-07 05:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474606 -3.690096)'), GeomFromEWKT('SRID=4674;POINT (-38.474561 -3.690057)'))) / (select extract(epoch from '2026-07-07 05:24:15'::timestamp) - extract(epoch from '2026-07-07 05:24: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.474531 -3.690028)', '2026-07-07 05:24:17', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474561 -3.690057)'), GeomFromEWKT('SRID=4674;POINT (-38.474531 -3.690028)'))) / (select extract(epoch from '2026-07-07 05:24:17'::timestamp) - extract(epoch from '2026-07-07 05:24:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474561 -3.690057)'), GeomFromEWKT('SRID=4674;POINT (-38.474531 -3.690028)'))) / (select extract(epoch from '2026-07-07 05:24:17'::timestamp) - extract(epoch from '2026-07-07 05:24: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.474435 -3.689948)', '2026-07-07 05:24:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474531 -3.690028)'), GeomFromEWKT('SRID=4674;POINT (-38.474435 -3.689948)'))) / (select extract(epoch from '2026-07-07 05:24:23'::timestamp) - extract(epoch from '2026-07-07 05:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474531 -3.690028)'), GeomFromEWKT('SRID=4674;POINT (-38.474435 -3.689948)'))) / (select extract(epoch from '2026-07-07 05:24:23'::timestamp) - extract(epoch from '2026-07-07 05:24: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.474365 -3.689873)', '2026-07-07 05:24:28', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474435 -3.689948)'), GeomFromEWKT('SRID=4674;POINT (-38.474365 -3.689873)'))) / (select extract(epoch from '2026-07-07 05:24:28'::timestamp) - extract(epoch from '2026-07-07 05:24:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474435 -3.689948)'), GeomFromEWKT('SRID=4674;POINT (-38.474365 -3.689873)'))) / (select extract(epoch from '2026-07-07 05:24:28'::timestamp) - extract(epoch from '2026-07-07 05:24: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.474286 -3.689773)', '2026-07-07 05:24:34', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474365 -3.689873)'), GeomFromEWKT('SRID=4674;POINT (-38.474286 -3.689773)'))) / (select extract(epoch from '2026-07-07 05:24:34'::timestamp) - extract(epoch from '2026-07-07 05:24:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474365 -3.689873)'), GeomFromEWKT('SRID=4674;POINT (-38.474286 -3.689773)'))) / (select extract(epoch from '2026-07-07 05:24:34'::timestamp) - extract(epoch from '2026-07-07 05:24: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.474223 -3.689684)', '2026-07-07 05:24:39', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474286 -3.689773)'), GeomFromEWKT('SRID=4674;POINT (-38.474223 -3.689684)'))) / (select extract(epoch from '2026-07-07 05:24:39'::timestamp) - extract(epoch from '2026-07-07 05:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474286 -3.689773)'), GeomFromEWKT('SRID=4674;POINT (-38.474223 -3.689684)'))) / (select extract(epoch from '2026-07-07 05:24:39'::timestamp) - extract(epoch from '2026-07-07 05:24: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.474151 -3.68961)', '2026-07-07 05:24:44', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474223 -3.689684)'), GeomFromEWKT('SRID=4674;POINT (-38.474151 -3.68961)'))) / (select extract(epoch from '2026-07-07 05:24:44'::timestamp) - extract(epoch from '2026-07-07 05:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474223 -3.689684)'), GeomFromEWKT('SRID=4674;POINT (-38.474151 -3.68961)'))) / (select extract(epoch from '2026-07-07 05:24:44'::timestamp) - extract(epoch from '2026-07-07 05:24: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.474135 -3.689598)', '2026-07-07 05:24:45', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474151 -3.68961)'), GeomFromEWKT('SRID=4674;POINT (-38.474135 -3.689598)'))) / (select extract(epoch from '2026-07-07 05:24:45'::timestamp) - extract(epoch from '2026-07-07 05:24:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474151 -3.68961)'), GeomFromEWKT('SRID=4674;POINT (-38.474135 -3.689598)'))) / (select extract(epoch from '2026-07-07 05:24:45'::timestamp) - extract(epoch from '2026-07-07 05:24: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.474088 -3.689559)', '2026-07-07 05:24:48', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474135 -3.689598)'), GeomFromEWKT('SRID=4674;POINT (-38.474088 -3.689559)'))) / (select extract(epoch from '2026-07-07 05:24:48'::timestamp) - extract(epoch from '2026-07-07 05:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474135 -3.689598)'), GeomFromEWKT('SRID=4674;POINT (-38.474088 -3.689559)'))) / (select extract(epoch from '2026-07-07 05:24:48'::timestamp) - extract(epoch from '2026-07-07 05:24: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.473995 -3.68948)', '2026-07-07 05:24:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474088 -3.689559)'), GeomFromEWKT('SRID=4674;POINT (-38.473995 -3.68948)'))) / (select extract(epoch from '2026-07-07 05:24:54'::timestamp) - extract(epoch from '2026-07-07 05:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474088 -3.689559)'), GeomFromEWKT('SRID=4674;POINT (-38.473995 -3.68948)'))) / (select extract(epoch from '2026-07-07 05:24:54'::timestamp) - extract(epoch from '2026-07-07 05:24: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.473951 -3.689442)', '2026-07-07 05:24:57', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473995 -3.68948)'), GeomFromEWKT('SRID=4674;POINT (-38.473951 -3.689442)'))) / (select extract(epoch from '2026-07-07 05:24:57'::timestamp) - extract(epoch from '2026-07-07 05:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473995 -3.68948)'), GeomFromEWKT('SRID=4674;POINT (-38.473951 -3.689442)'))) / (select extract(epoch from '2026-07-07 05:24:57'::timestamp) - extract(epoch from '2026-07-07 05:24: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.473908 -3.689407)', '2026-07-07 05:25:00', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473951 -3.689442)'), GeomFromEWKT('SRID=4674;POINT (-38.473908 -3.689407)'))) / (select extract(epoch from '2026-07-07 05:25:00'::timestamp) - extract(epoch from '2026-07-07 05:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473951 -3.689442)'), GeomFromEWKT('SRID=4674;POINT (-38.473908 -3.689407)'))) / (select extract(epoch from '2026-07-07 05:25:00'::timestamp) - extract(epoch from '2026-07-07 05:24: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.47388 -3.689384)', '2026-07-07 05:25:02', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473908 -3.689407)'), GeomFromEWKT('SRID=4674;POINT (-38.47388 -3.689384)'))) / (select extract(epoch from '2026-07-07 05:25:02'::timestamp) - extract(epoch from '2026-07-07 05:25:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473908 -3.689407)'), GeomFromEWKT('SRID=4674;POINT (-38.47388 -3.689384)'))) / (select extract(epoch from '2026-07-07 05:25:02'::timestamp) - extract(epoch from '2026-07-07 05:25: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.473847 -3.689358)', '2026-07-07 05:25:04', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47388 -3.689384)'), GeomFromEWKT('SRID=4674;POINT (-38.473847 -3.689358)'))) / (select extract(epoch from '2026-07-07 05:25:04'::timestamp) - extract(epoch from '2026-07-07 05:25:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47388 -3.689384)'), GeomFromEWKT('SRID=4674;POINT (-38.473847 -3.689358)'))) / (select extract(epoch from '2026-07-07 05:25:04'::timestamp) - extract(epoch from '2026-07-07 05:25: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.473777 -3.689292)', '2026-07-07 05:25:09', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473847 -3.689358)'), GeomFromEWKT('SRID=4674;POINT (-38.473777 -3.689292)'))) / (select extract(epoch from '2026-07-07 05:25:09'::timestamp) - extract(epoch from '2026-07-07 05:25:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473847 -3.689358)'), GeomFromEWKT('SRID=4674;POINT (-38.473777 -3.689292)'))) / (select extract(epoch from '2026-07-07 05:25:09'::timestamp) - extract(epoch from '2026-07-07 05:25: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.473699 -3.68922)', '2026-07-07 05:25:15', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473777 -3.689292)'), GeomFromEWKT('SRID=4674;POINT (-38.473699 -3.68922)'))) / (select extract(epoch from '2026-07-07 05:25:15'::timestamp) - extract(epoch from '2026-07-07 05:25:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473777 -3.689292)'), GeomFromEWKT('SRID=4674;POINT (-38.473699 -3.68922)'))) / (select extract(epoch from '2026-07-07 05:25:15'::timestamp) - extract(epoch from '2026-07-07 05:25: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.473626 -3.689159)', '2026-07-07 05:25:20', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473699 -3.68922)'), GeomFromEWKT('SRID=4674;POINT (-38.473626 -3.689159)'))) / (select extract(epoch from '2026-07-07 05:25:20'::timestamp) - extract(epoch from '2026-07-07 05:25:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473699 -3.68922)'), GeomFromEWKT('SRID=4674;POINT (-38.473626 -3.689159)'))) / (select extract(epoch from '2026-07-07 05:25:20'::timestamp) - extract(epoch from '2026-07-07 05:25: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.473532 -3.68908)', '2026-07-07 05:25:26', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473626 -3.689159)'), GeomFromEWKT('SRID=4674;POINT (-38.473532 -3.68908)'))) / (select extract(epoch from '2026-07-07 05:25:26'::timestamp) - extract(epoch from '2026-07-07 05:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473626 -3.689159)'), GeomFromEWKT('SRID=4674;POINT (-38.473532 -3.68908)'))) / (select extract(epoch from '2026-07-07 05:25:26'::timestamp) - extract(epoch from '2026-07-07 05:25: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.473459 -3.689015)', '2026-07-07 05:25:31', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473532 -3.68908)'), GeomFromEWKT('SRID=4674;POINT (-38.473459 -3.689015)'))) / (select extract(epoch from '2026-07-07 05:25:31'::timestamp) - extract(epoch from '2026-07-07 05:25:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473532 -3.68908)'), GeomFromEWKT('SRID=4674;POINT (-38.473459 -3.689015)'))) / (select extract(epoch from '2026-07-07 05:25:31'::timestamp) - extract(epoch from '2026-07-07 05:25: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.473364 -3.688943)', '2026-07-07 05:25:37', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473459 -3.689015)'), GeomFromEWKT('SRID=4674;POINT (-38.473364 -3.688943)'))) / (select extract(epoch from '2026-07-07 05:25:37'::timestamp) - extract(epoch from '2026-07-07 05:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473459 -3.689015)'), GeomFromEWKT('SRID=4674;POINT (-38.473364 -3.688943)'))) / (select extract(epoch from '2026-07-07 05:25:37'::timestamp) - extract(epoch from '2026-07-07 05:25: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.47328 -3.688888)', '2026-07-07 05:25:42', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473364 -3.688943)'), GeomFromEWKT('SRID=4674;POINT (-38.47328 -3.688888)'))) / (select extract(epoch from '2026-07-07 05:25:42'::timestamp) - extract(epoch from '2026-07-07 05:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473364 -3.688943)'), GeomFromEWKT('SRID=4674;POINT (-38.47328 -3.688888)'))) / (select extract(epoch from '2026-07-07 05:25:42'::timestamp) - extract(epoch from '2026-07-07 05:25: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.473204 -3.688818)', '2026-07-07 05:25:47', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47328 -3.688888)'), GeomFromEWKT('SRID=4674;POINT (-38.473204 -3.688818)'))) / (select extract(epoch from '2026-07-07 05:25:47'::timestamp) - extract(epoch from '2026-07-07 05:25:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47328 -3.688888)'), GeomFromEWKT('SRID=4674;POINT (-38.473204 -3.688818)'))) / (select extract(epoch from '2026-07-07 05:25:47'::timestamp) - extract(epoch from '2026-07-07 05:25: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.473112 -3.688721)', '2026-07-07 05:25:54', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473204 -3.688818)'), GeomFromEWKT('SRID=4674;POINT (-38.473112 -3.688721)'))) / (select extract(epoch from '2026-07-07 05:25:54'::timestamp) - extract(epoch from '2026-07-07 05:25:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473204 -3.688818)'), GeomFromEWKT('SRID=4674;POINT (-38.473112 -3.688721)'))) / (select extract(epoch from '2026-07-07 05:25:54'::timestamp) - extract(epoch from '2026-07-07 05:25: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.473035 -3.688637)', '2026-07-07 05:26:00', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473112 -3.688721)'), GeomFromEWKT('SRID=4674;POINT (-38.473035 -3.688637)'))) / (select extract(epoch from '2026-07-07 05:26:00'::timestamp) - extract(epoch from '2026-07-07 05:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473112 -3.688721)'), GeomFromEWKT('SRID=4674;POINT (-38.473035 -3.688637)'))) / (select extract(epoch from '2026-07-07 05:26:00'::timestamp) - extract(epoch from '2026-07-07 05:25: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.472968 -3.688568)', '2026-07-07 05:26:05', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473035 -3.688637)'), GeomFromEWKT('SRID=4674;POINT (-38.472968 -3.688568)'))) / (select extract(epoch from '2026-07-07 05:26:05'::timestamp) - extract(epoch from '2026-07-07 05:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473035 -3.688637)'), GeomFromEWKT('SRID=4674;POINT (-38.472968 -3.688568)'))) / (select extract(epoch from '2026-07-07 05:26:05'::timestamp) - extract(epoch from '2026-07-07 05:26: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.472907 -3.688491)', '2026-07-07 05:26:10', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472968 -3.688568)'), GeomFromEWKT('SRID=4674;POINT (-38.472907 -3.688491)'))) / (select extract(epoch from '2026-07-07 05:26:10'::timestamp) - extract(epoch from '2026-07-07 05:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472968 -3.688568)'), GeomFromEWKT('SRID=4674;POINT (-38.472907 -3.688491)'))) / (select extract(epoch from '2026-07-07 05:26:10'::timestamp) - extract(epoch from '2026-07-07 05:26: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.472822 -3.688405)', '2026-07-07 05:26:16', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472907 -3.688491)'), GeomFromEWKT('SRID=4674;POINT (-38.472822 -3.688405)'))) / (select extract(epoch from '2026-07-07 05:26:16'::timestamp) - extract(epoch from '2026-07-07 05:26:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472907 -3.688491)'), GeomFromEWKT('SRID=4674;POINT (-38.472822 -3.688405)'))) / (select extract(epoch from '2026-07-07 05:26:16'::timestamp) - extract(epoch from '2026-07-07 05:26: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.472703 -3.688297)', '2026-07-07 05:26:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472822 -3.688405)'), GeomFromEWKT('SRID=4674;POINT (-38.472703 -3.688297)'))) / (select extract(epoch from '2026-07-07 05:26:24'::timestamp) - extract(epoch from '2026-07-07 05:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472822 -3.688405)'), GeomFromEWKT('SRID=4674;POINT (-38.472703 -3.688297)'))) / (select extract(epoch from '2026-07-07 05:26:24'::timestamp) - extract(epoch from '2026-07-07 05:26: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.472653 -3.688258)', '2026-07-07 05:26:27', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472703 -3.688297)'), GeomFromEWKT('SRID=4674;POINT (-38.472653 -3.688258)'))) / (select extract(epoch from '2026-07-07 05:26:27'::timestamp) - extract(epoch from '2026-07-07 05:26:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472703 -3.688297)'), GeomFromEWKT('SRID=4674;POINT (-38.472653 -3.688258)'))) / (select extract(epoch from '2026-07-07 05:26:27'::timestamp) - extract(epoch from '2026-07-07 05:26: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.472626 -3.688234)', '2026-07-07 05:26:29', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472653 -3.688258)'), GeomFromEWKT('SRID=4674;POINT (-38.472626 -3.688234)'))) / (select extract(epoch from '2026-07-07 05:26:29'::timestamp) - extract(epoch from '2026-07-07 05:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472653 -3.688258)'), GeomFromEWKT('SRID=4674;POINT (-38.472626 -3.688234)'))) / (select extract(epoch from '2026-07-07 05:26:29'::timestamp) - extract(epoch from '2026-07-07 05:26: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.472565 -3.688191)', '2026-07-07 05:26:33', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472626 -3.688234)'), GeomFromEWKT('SRID=4674;POINT (-38.472565 -3.688191)'))) / (select extract(epoch from '2026-07-07 05:26:33'::timestamp) - extract(epoch from '2026-07-07 05:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472626 -3.688234)'), GeomFromEWKT('SRID=4674;POINT (-38.472565 -3.688191)'))) / (select extract(epoch from '2026-07-07 05:26:33'::timestamp) - extract(epoch from '2026-07-07 05:26: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.472541 -3.688165)', '2026-07-07 05:26:35', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472565 -3.688191)'), GeomFromEWKT('SRID=4674;POINT (-38.472541 -3.688165)'))) / (select extract(epoch from '2026-07-07 05:26:35'::timestamp) - extract(epoch from '2026-07-07 05:26:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472565 -3.688191)'), GeomFromEWKT('SRID=4674;POINT (-38.472541 -3.688165)'))) / (select extract(epoch from '2026-07-07 05:26:35'::timestamp) - extract(epoch from '2026-07-07 05:26: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.472508 -3.688142)', '2026-07-07 05:26:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472541 -3.688165)'), GeomFromEWKT('SRID=4674;POINT (-38.472508 -3.688142)'))) / (select extract(epoch from '2026-07-07 05:26:37'::timestamp) - extract(epoch from '2026-07-07 05:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472541 -3.688165)'), GeomFromEWKT('SRID=4674;POINT (-38.472508 -3.688142)'))) / (select extract(epoch from '2026-07-07 05:26:37'::timestamp) - extract(epoch from '2026-07-07 05:26: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.472424 -3.688062)', '2026-07-07 05:26:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472508 -3.688142)'), GeomFromEWKT('SRID=4674;POINT (-38.472424 -3.688062)'))) / (select extract(epoch from '2026-07-07 05:26:43'::timestamp) - extract(epoch from '2026-07-07 05:26:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472508 -3.688142)'), GeomFromEWKT('SRID=4674;POINT (-38.472424 -3.688062)'))) / (select extract(epoch from '2026-07-07 05:26:43'::timestamp) - extract(epoch from '2026-07-07 05:26: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.472359 -3.68801)', '2026-07-07 05:26:47', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472424 -3.688062)'), GeomFromEWKT('SRID=4674;POINT (-38.472359 -3.68801)'))) / (select extract(epoch from '2026-07-07 05:26:47'::timestamp) - extract(epoch from '2026-07-07 05:26:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472424 -3.688062)'), GeomFromEWKT('SRID=4674;POINT (-38.472359 -3.68801)'))) / (select extract(epoch from '2026-07-07 05:26:47'::timestamp) - extract(epoch from '2026-07-07 05:26: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.472299 -3.687963)', '2026-07-07 05:26:51', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472359 -3.68801)'), GeomFromEWKT('SRID=4674;POINT (-38.472299 -3.687963)'))) / (select extract(epoch from '2026-07-07 05:26:51'::timestamp) - extract(epoch from '2026-07-07 05:26:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472359 -3.68801)'), GeomFromEWKT('SRID=4674;POINT (-38.472299 -3.687963)'))) / (select extract(epoch from '2026-07-07 05:26:51'::timestamp) - extract(epoch from '2026-07-07 05:26: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.472288 -3.687951)', '2026-07-07 05:26:52', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472299 -3.687963)'), GeomFromEWKT('SRID=4674;POINT (-38.472288 -3.687951)'))) / (select extract(epoch from '2026-07-07 05:26:52'::timestamp) - extract(epoch from '2026-07-07 05:26:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472299 -3.687963)'), GeomFromEWKT('SRID=4674;POINT (-38.472288 -3.687951)'))) / (select extract(epoch from '2026-07-07 05:26:52'::timestamp) - extract(epoch from '2026-07-07 05:26: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.472214 -3.687888)', '2026-07-07 05:26:57', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472288 -3.687951)'), GeomFromEWKT('SRID=4674;POINT (-38.472214 -3.687888)'))) / (select extract(epoch from '2026-07-07 05:26:57'::timestamp) - extract(epoch from '2026-07-07 05:26:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472288 -3.687951)'), GeomFromEWKT('SRID=4674;POINT (-38.472214 -3.687888)'))) / (select extract(epoch from '2026-07-07 05:26:57'::timestamp) - extract(epoch from '2026-07-07 05:26: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.47213 -3.687814)', '2026-07-07 05:27:03', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472214 -3.687888)'), GeomFromEWKT('SRID=4674;POINT (-38.47213 -3.687814)'))) / (select extract(epoch from '2026-07-07 05:27:03'::timestamp) - extract(epoch from '2026-07-07 05:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472214 -3.687888)'), GeomFromEWKT('SRID=4674;POINT (-38.47213 -3.687814)'))) / (select extract(epoch from '2026-07-07 05:27:03'::timestamp) - extract(epoch from '2026-07-07 05:26: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.472057 -3.687745)', '2026-07-07 05:27:08', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47213 -3.687814)'), GeomFromEWKT('SRID=4674;POINT (-38.472057 -3.687745)'))) / (select extract(epoch from '2026-07-07 05:27:08'::timestamp) - extract(epoch from '2026-07-07 05:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47213 -3.687814)'), GeomFromEWKT('SRID=4674;POINT (-38.472057 -3.687745)'))) / (select extract(epoch from '2026-07-07 05:27:08'::timestamp) - extract(epoch from '2026-07-07 05:27: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.471976 -3.687663)', '2026-07-07 05:27:14', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472057 -3.687745)'), GeomFromEWKT('SRID=4674;POINT (-38.471976 -3.687663)'))) / (select extract(epoch from '2026-07-07 05:27:14'::timestamp) - extract(epoch from '2026-07-07 05:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472057 -3.687745)'), GeomFromEWKT('SRID=4674;POINT (-38.471976 -3.687663)'))) / (select extract(epoch from '2026-07-07 05:27:14'::timestamp) - extract(epoch from '2026-07-07 05:27: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.471933 -3.687617)', '2026-07-07 05:27:17', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471976 -3.687663)'), GeomFromEWKT('SRID=4674;POINT (-38.471933 -3.687617)'))) / (select extract(epoch from '2026-07-07 05:27:17'::timestamp) - extract(epoch from '2026-07-07 05:27:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471976 -3.687663)'), GeomFromEWKT('SRID=4674;POINT (-38.471933 -3.687617)'))) / (select extract(epoch from '2026-07-07 05:27:17'::timestamp) - extract(epoch from '2026-07-07 05:27: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.471903 -3.687591)', '2026-07-07 05:27:19', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471933 -3.687617)'), GeomFromEWKT('SRID=4674;POINT (-38.471903 -3.687591)'))) / (select extract(epoch from '2026-07-07 05:27:19'::timestamp) - extract(epoch from '2026-07-07 05:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471933 -3.687617)'), GeomFromEWKT('SRID=4674;POINT (-38.471903 -3.687591)'))) / (select extract(epoch from '2026-07-07 05:27:19'::timestamp) - extract(epoch from '2026-07-07 05:27: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.471816 -3.687502)', '2026-07-07 05:27:25', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471903 -3.687591)'), GeomFromEWKT('SRID=4674;POINT (-38.471816 -3.687502)'))) / (select extract(epoch from '2026-07-07 05:27:25'::timestamp) - extract(epoch from '2026-07-07 05:27:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471903 -3.687591)'), GeomFromEWKT('SRID=4674;POINT (-38.471816 -3.687502)'))) / (select extract(epoch from '2026-07-07 05:27:25'::timestamp) - extract(epoch from '2026-07-07 05:27: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.471751 -3.687445)', '2026-07-07 05:27:29', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471816 -3.687502)'), GeomFromEWKT('SRID=4674;POINT (-38.471751 -3.687445)'))) / (select extract(epoch from '2026-07-07 05:27:29'::timestamp) - extract(epoch from '2026-07-07 05:27:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471816 -3.687502)'), GeomFromEWKT('SRID=4674;POINT (-38.471751 -3.687445)'))) / (select extract(epoch from '2026-07-07 05:27:29'::timestamp) - extract(epoch from '2026-07-07 05:27: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.471743 -3.687428)', '2026-07-07 05:27:30', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471751 -3.687445)'), GeomFromEWKT('SRID=4674;POINT (-38.471743 -3.687428)'))) / (select extract(epoch from '2026-07-07 05:27:30'::timestamp) - extract(epoch from '2026-07-07 05:27:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471751 -3.687445)'), GeomFromEWKT('SRID=4674;POINT (-38.471743 -3.687428)'))) / (select extract(epoch from '2026-07-07 05:27:30'::timestamp) - extract(epoch from '2026-07-07 05:27: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.47173 -3.687415)', '2026-07-07 05:27:31', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471743 -3.687428)'), GeomFromEWKT('SRID=4674;POINT (-38.47173 -3.687415)'))) / (select extract(epoch from '2026-07-07 05:27:31'::timestamp) - extract(epoch from '2026-07-07 05:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471743 -3.687428)'), GeomFromEWKT('SRID=4674;POINT (-38.47173 -3.687415)'))) / (select extract(epoch from '2026-07-07 05:27:31'::timestamp) - extract(epoch from '2026-07-07 05:27: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.471687 -3.687371)', '2026-07-07 05:27:34', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47173 -3.687415)'), GeomFromEWKT('SRID=4674;POINT (-38.471687 -3.687371)'))) / (select extract(epoch from '2026-07-07 05:27:34'::timestamp) - extract(epoch from '2026-07-07 05:27:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47173 -3.687415)'), GeomFromEWKT('SRID=4674;POINT (-38.471687 -3.687371)'))) / (select extract(epoch from '2026-07-07 05:27:34'::timestamp) - extract(epoch from '2026-07-07 05:27: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.471627 -3.687299)', '2026-07-07 05:27:39', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471687 -3.687371)'), GeomFromEWKT('SRID=4674;POINT (-38.471627 -3.687299)'))) / (select extract(epoch from '2026-07-07 05:27:39'::timestamp) - extract(epoch from '2026-07-07 05:27:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471687 -3.687371)'), GeomFromEWKT('SRID=4674;POINT (-38.471627 -3.687299)'))) / (select extract(epoch from '2026-07-07 05:27:39'::timestamp) - extract(epoch from '2026-07-07 05:27: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.471568 -3.687228)', '2026-07-07 05:27:44', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471627 -3.687299)'), GeomFromEWKT('SRID=4674;POINT (-38.471568 -3.687228)'))) / (select extract(epoch from '2026-07-07 05:27:44'::timestamp) - extract(epoch from '2026-07-07 05:27:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471627 -3.687299)'), GeomFromEWKT('SRID=4674;POINT (-38.471568 -3.687228)'))) / (select extract(epoch from '2026-07-07 05:27:44'::timestamp) - extract(epoch from '2026-07-07 05:27: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.471494 -3.687162)', '2026-07-07 05:27:49', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471568 -3.687228)'), GeomFromEWKT('SRID=4674;POINT (-38.471494 -3.687162)'))) / (select extract(epoch from '2026-07-07 05:27:49'::timestamp) - extract(epoch from '2026-07-07 05:27:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471568 -3.687228)'), GeomFromEWKT('SRID=4674;POINT (-38.471494 -3.687162)'))) / (select extract(epoch from '2026-07-07 05:27:49'::timestamp) - extract(epoch from '2026-07-07 05:27: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.471434 -3.687114)', '2026-07-07 05:27:53', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471494 -3.687162)'), GeomFromEWKT('SRID=4674;POINT (-38.471434 -3.687114)'))) / (select extract(epoch from '2026-07-07 05:27:53'::timestamp) - extract(epoch from '2026-07-07 05:27:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471494 -3.687162)'), GeomFromEWKT('SRID=4674;POINT (-38.471434 -3.687114)'))) / (select extract(epoch from '2026-07-07 05:27:53'::timestamp) - extract(epoch from '2026-07-07 05:27: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.471406 -3.687088)', '2026-07-07 05:27:55', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471434 -3.687114)'), GeomFromEWKT('SRID=4674;POINT (-38.471406 -3.687088)'))) / (select extract(epoch from '2026-07-07 05:27:55'::timestamp) - extract(epoch from '2026-07-07 05:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471434 -3.687114)'), GeomFromEWKT('SRID=4674;POINT (-38.471406 -3.687088)'))) / (select extract(epoch from '2026-07-07 05:27:55'::timestamp) - extract(epoch from '2026-07-07 05:27: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.471331 -3.686999)', '2026-07-07 05:28:01', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471406 -3.687088)'), GeomFromEWKT('SRID=4674;POINT (-38.471331 -3.686999)'))) / (select extract(epoch from '2026-07-07 05:28:01'::timestamp) - extract(epoch from '2026-07-07 05:27:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471406 -3.687088)'), GeomFromEWKT('SRID=4674;POINT (-38.471331 -3.686999)'))) / (select extract(epoch from '2026-07-07 05:28:01'::timestamp) - extract(epoch from '2026-07-07 05:27: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.471226 -3.6869)', '2026-07-07 05:28:08', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471331 -3.686999)'), GeomFromEWKT('SRID=4674;POINT (-38.471226 -3.6869)'))) / (select extract(epoch from '2026-07-07 05:28:08'::timestamp) - extract(epoch from '2026-07-07 05:28:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471331 -3.686999)'), GeomFromEWKT('SRID=4674;POINT (-38.471226 -3.6869)'))) / (select extract(epoch from '2026-07-07 05:28:08'::timestamp) - extract(epoch from '2026-07-07 05:28: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.471155 -3.686832)', '2026-07-07 05:28:13', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471226 -3.6869)'), GeomFromEWKT('SRID=4674;POINT (-38.471155 -3.686832)'))) / (select extract(epoch from '2026-07-07 05:28:13'::timestamp) - extract(epoch from '2026-07-07 05:28:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471226 -3.6869)'), GeomFromEWKT('SRID=4674;POINT (-38.471155 -3.686832)'))) / (select extract(epoch from '2026-07-07 05:28:13'::timestamp) - extract(epoch from '2026-07-07 05:28: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.47109 -3.686757)', '2026-07-07 05:28:18', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471155 -3.686832)'), GeomFromEWKT('SRID=4674;POINT (-38.47109 -3.686757)'))) / (select extract(epoch from '2026-07-07 05:28:18'::timestamp) - extract(epoch from '2026-07-07 05:28:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471155 -3.686832)'), GeomFromEWKT('SRID=4674;POINT (-38.47109 -3.686757)'))) / (select extract(epoch from '2026-07-07 05:28:18'::timestamp) - extract(epoch from '2026-07-07 05:28: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.471014 -3.686685)', '2026-07-07 05:28:23', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47109 -3.686757)'), GeomFromEWKT('SRID=4674;POINT (-38.471014 -3.686685)'))) / (select extract(epoch from '2026-07-07 05:28:23'::timestamp) - extract(epoch from '2026-07-07 05:28:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47109 -3.686757)'), GeomFromEWKT('SRID=4674;POINT (-38.471014 -3.686685)'))) / (select extract(epoch from '2026-07-07 05:28:23'::timestamp) - extract(epoch from '2026-07-07 05:28: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.470933 -3.686619)', '2026-07-07 05:28:28', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471014 -3.686685)'), GeomFromEWKT('SRID=4674;POINT (-38.470933 -3.686619)'))) / (select extract(epoch from '2026-07-07 05:28:28'::timestamp) - extract(epoch from '2026-07-07 05:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471014 -3.686685)'), GeomFromEWKT('SRID=4674;POINT (-38.470933 -3.686619)'))) / (select extract(epoch from '2026-07-07 05:28:28'::timestamp) - extract(epoch from '2026-07-07 05:28: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.470845 -3.686546)', '2026-07-07 05:28:34', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470933 -3.686619)'), GeomFromEWKT('SRID=4674;POINT (-38.470845 -3.686546)'))) / (select extract(epoch from '2026-07-07 05:28:34'::timestamp) - extract(epoch from '2026-07-07 05:28:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470933 -3.686619)'), GeomFromEWKT('SRID=4674;POINT (-38.470845 -3.686546)'))) / (select extract(epoch from '2026-07-07 05:28:34'::timestamp) - extract(epoch from '2026-07-07 05:28: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.470772 -3.686487)', '2026-07-07 05:28:39', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470845 -3.686546)'), GeomFromEWKT('SRID=4674;POINT (-38.470772 -3.686487)'))) / (select extract(epoch from '2026-07-07 05:28:39'::timestamp) - extract(epoch from '2026-07-07 05:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470845 -3.686546)'), GeomFromEWKT('SRID=4674;POINT (-38.470772 -3.686487)'))) / (select extract(epoch from '2026-07-07 05:28:39'::timestamp) - extract(epoch from '2026-07-07 05:28: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.470675 -3.686416)', '2026-07-07 05:28:45', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470772 -3.686487)'), GeomFromEWKT('SRID=4674;POINT (-38.470675 -3.686416)'))) / (select extract(epoch from '2026-07-07 05:28:45'::timestamp) - extract(epoch from '2026-07-07 05:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470772 -3.686487)'), GeomFromEWKT('SRID=4674;POINT (-38.470675 -3.686416)'))) / (select extract(epoch from '2026-07-07 05:28:45'::timestamp) - extract(epoch from '2026-07-07 05:28: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.470592 -3.686356)', '2026-07-07 05:28:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470675 -3.686416)'), GeomFromEWKT('SRID=4674;POINT (-38.470592 -3.686356)'))) / (select extract(epoch from '2026-07-07 05:28:50'::timestamp) - extract(epoch from '2026-07-07 05:28:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470675 -3.686416)'), GeomFromEWKT('SRID=4674;POINT (-38.470592 -3.686356)'))) / (select extract(epoch from '2026-07-07 05:28:50'::timestamp) - extract(epoch from '2026-07-07 05:28: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.470507 -3.686286)', '2026-07-07 05:28:55', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470592 -3.686356)'), GeomFromEWKT('SRID=4674;POINT (-38.470507 -3.686286)'))) / (select extract(epoch from '2026-07-07 05:28:55'::timestamp) - extract(epoch from '2026-07-07 05:28:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470592 -3.686356)'), GeomFromEWKT('SRID=4674;POINT (-38.470507 -3.686286)'))) / (select extract(epoch from '2026-07-07 05:28:55'::timestamp) - extract(epoch from '2026-07-07 05:28: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.470427 -3.686221)', '2026-07-07 05:29:00', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470507 -3.686286)'), GeomFromEWKT('SRID=4674;POINT (-38.470427 -3.686221)'))) / (select extract(epoch from '2026-07-07 05:29:00'::timestamp) - extract(epoch from '2026-07-07 05:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470507 -3.686286)'), GeomFromEWKT('SRID=4674;POINT (-38.470427 -3.686221)'))) / (select extract(epoch from '2026-07-07 05:29:00'::timestamp) - extract(epoch from '2026-07-07 05:28: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.470315 -3.686098)', '2026-07-07 05:29:08', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470427 -3.686221)'), GeomFromEWKT('SRID=4674;POINT (-38.470315 -3.686098)'))) / (select extract(epoch from '2026-07-07 05:29:08'::timestamp) - extract(epoch from '2026-07-07 05:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470427 -3.686221)'), GeomFromEWKT('SRID=4674;POINT (-38.470315 -3.686098)'))) / (select extract(epoch from '2026-07-07 05:29:08'::timestamp) - extract(epoch from '2026-07-07 05:29: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.470216 -3.685982)', '2026-07-07 05:29:15', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470315 -3.686098)'), GeomFromEWKT('SRID=4674;POINT (-38.470216 -3.685982)'))) / (select extract(epoch from '2026-07-07 05:29:15'::timestamp) - extract(epoch from '2026-07-07 05:29:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470315 -3.686098)'), GeomFromEWKT('SRID=4674;POINT (-38.470216 -3.685982)'))) / (select extract(epoch from '2026-07-07 05:29:15'::timestamp) - extract(epoch from '2026-07-07 05:29: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.470149 -3.685907)', '2026-07-07 05:29:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470216 -3.685982)'), GeomFromEWKT('SRID=4674;POINT (-38.470149 -3.685907)'))) / (select extract(epoch from '2026-07-07 05:29:20'::timestamp) - extract(epoch from '2026-07-07 05:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470216 -3.685982)'), GeomFromEWKT('SRID=4674;POINT (-38.470149 -3.685907)'))) / (select extract(epoch from '2026-07-07 05:29:20'::timestamp) - extract(epoch from '2026-07-07 05:29: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.470064 -3.685823)', '2026-07-07 05:29:26', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470149 -3.685907)'), GeomFromEWKT('SRID=4674;POINT (-38.470064 -3.685823)'))) / (select extract(epoch from '2026-07-07 05:29:26'::timestamp) - extract(epoch from '2026-07-07 05:29:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470149 -3.685907)'), GeomFromEWKT('SRID=4674;POINT (-38.470064 -3.685823)'))) / (select extract(epoch from '2026-07-07 05:29:26'::timestamp) - extract(epoch from '2026-07-07 05:29: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.469971 -3.685745)', '2026-07-07 05:29:32', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470064 -3.685823)'), GeomFromEWKT('SRID=4674;POINT (-38.469971 -3.685745)'))) / (select extract(epoch from '2026-07-07 05:29:32'::timestamp) - extract(epoch from '2026-07-07 05:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470064 -3.685823)'), GeomFromEWKT('SRID=4674;POINT (-38.469971 -3.685745)'))) / (select extract(epoch from '2026-07-07 05:29:32'::timestamp) - extract(epoch from '2026-07-07 05:29: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.469882 -3.685665)', '2026-07-07 05:29:38', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469971 -3.685745)'), GeomFromEWKT('SRID=4674;POINT (-38.469882 -3.685665)'))) / (select extract(epoch from '2026-07-07 05:29:38'::timestamp) - extract(epoch from '2026-07-07 05:29:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469971 -3.685745)'), GeomFromEWKT('SRID=4674;POINT (-38.469882 -3.685665)'))) / (select extract(epoch from '2026-07-07 05:29:38'::timestamp) - extract(epoch from '2026-07-07 05:29: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.46979 -3.685581)', '2026-07-07 05:29:44', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469882 -3.685665)'), GeomFromEWKT('SRID=4674;POINT (-38.46979 -3.685581)'))) / (select extract(epoch from '2026-07-07 05:29:44'::timestamp) - extract(epoch from '2026-07-07 05:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469882 -3.685665)'), GeomFromEWKT('SRID=4674;POINT (-38.46979 -3.685581)'))) / (select extract(epoch from '2026-07-07 05:29:44'::timestamp) - extract(epoch from '2026-07-07 05:29: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.469688 -3.685503)', '2026-07-07 05:29:50', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46979 -3.685581)'), GeomFromEWKT('SRID=4674;POINT (-38.469688 -3.685503)'))) / (select extract(epoch from '2026-07-07 05:29:50'::timestamp) - extract(epoch from '2026-07-07 05:29:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46979 -3.685581)'), GeomFromEWKT('SRID=4674;POINT (-38.469688 -3.685503)'))) / (select extract(epoch from '2026-07-07 05:29:50'::timestamp) - extract(epoch from '2026-07-07 05:29: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.469613 -3.685433)', '2026-07-07 05:29:55', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469688 -3.685503)'), GeomFromEWKT('SRID=4674;POINT (-38.469613 -3.685433)'))) / (select extract(epoch from '2026-07-07 05:29:55'::timestamp) - extract(epoch from '2026-07-07 05:29:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469688 -3.685503)'), GeomFromEWKT('SRID=4674;POINT (-38.469613 -3.685433)'))) / (select extract(epoch from '2026-07-07 05:29:55'::timestamp) - extract(epoch from '2026-07-07 05:29: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.469542 -3.68536)', '2026-07-07 05:30:00', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469613 -3.685433)'), GeomFromEWKT('SRID=4674;POINT (-38.469542 -3.68536)'))) / (select extract(epoch from '2026-07-07 05:30:00'::timestamp) - extract(epoch from '2026-07-07 05:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469613 -3.685433)'), GeomFromEWKT('SRID=4674;POINT (-38.469542 -3.68536)'))) / (select extract(epoch from '2026-07-07 05:30:00'::timestamp) - extract(epoch from '2026-07-07 05:29: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.46945 -3.685278)', '2026-07-07 05:30:06', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469542 -3.68536)'), GeomFromEWKT('SRID=4674;POINT (-38.46945 -3.685278)'))) / (select extract(epoch from '2026-07-07 05:30:06'::timestamp) - extract(epoch from '2026-07-07 05:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469542 -3.68536)'), GeomFromEWKT('SRID=4674;POINT (-38.46945 -3.685278)'))) / (select extract(epoch from '2026-07-07 05:30:06'::timestamp) - extract(epoch from '2026-07-07 05:30: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.469371 -3.685212)', '2026-07-07 05:30:11', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46945 -3.685278)'), GeomFromEWKT('SRID=4674;POINT (-38.469371 -3.685212)'))) / (select extract(epoch from '2026-07-07 05:30:11'::timestamp) - extract(epoch from '2026-07-07 05:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46945 -3.685278)'), GeomFromEWKT('SRID=4674;POINT (-38.469371 -3.685212)'))) / (select extract(epoch from '2026-07-07 05:30:11'::timestamp) - extract(epoch from '2026-07-07 05:30: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.469271 -3.685123)', '2026-07-07 05:30:18', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469371 -3.685212)'), GeomFromEWKT('SRID=4674;POINT (-38.469271 -3.685123)'))) / (select extract(epoch from '2026-07-07 05:30:18'::timestamp) - extract(epoch from '2026-07-07 05:30:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469371 -3.685212)'), GeomFromEWKT('SRID=4674;POINT (-38.469271 -3.685123)'))) / (select extract(epoch from '2026-07-07 05:30:18'::timestamp) - extract(epoch from '2026-07-07 05:30: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.469191 -3.685059)', '2026-07-07 05:30:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469271 -3.685123)'), GeomFromEWKT('SRID=4674;POINT (-38.469191 -3.685059)'))) / (select extract(epoch from '2026-07-07 05:30:23'::timestamp) - extract(epoch from '2026-07-07 05:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469271 -3.685123)'), GeomFromEWKT('SRID=4674;POINT (-38.469191 -3.685059)'))) / (select extract(epoch from '2026-07-07 05:30:23'::timestamp) - extract(epoch from '2026-07-07 05:30: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.469122 -3.684987)', '2026-07-07 05:30:28', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469191 -3.685059)'), GeomFromEWKT('SRID=4674;POINT (-38.469122 -3.684987)'))) / (select extract(epoch from '2026-07-07 05:30:28'::timestamp) - extract(epoch from '2026-07-07 05:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469191 -3.685059)'), GeomFromEWKT('SRID=4674;POINT (-38.469122 -3.684987)'))) / (select extract(epoch from '2026-07-07 05:30:28'::timestamp) - extract(epoch from '2026-07-07 05:30: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.46904 -3.684899)', '2026-07-07 05:30:34', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469122 -3.684987)'), GeomFromEWKT('SRID=4674;POINT (-38.46904 -3.684899)'))) / (select extract(epoch from '2026-07-07 05:30:34'::timestamp) - extract(epoch from '2026-07-07 05:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469122 -3.684987)'), GeomFromEWKT('SRID=4674;POINT (-38.46904 -3.684899)'))) / (select extract(epoch from '2026-07-07 05:30:34'::timestamp) - extract(epoch from '2026-07-07 05:30: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.46897 -3.684822)', '2026-07-07 05:30:39', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46904 -3.684899)'), GeomFromEWKT('SRID=4674;POINT (-38.46897 -3.684822)'))) / (select extract(epoch from '2026-07-07 05:30:39'::timestamp) - extract(epoch from '2026-07-07 05:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46904 -3.684899)'), GeomFromEWKT('SRID=4674;POINT (-38.46897 -3.684822)'))) / (select extract(epoch from '2026-07-07 05:30:39'::timestamp) - extract(epoch from '2026-07-07 05:30: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.468884 -3.684735)', '2026-07-07 05:30:45', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46897 -3.684822)'), GeomFromEWKT('SRID=4674;POINT (-38.468884 -3.684735)'))) / (select extract(epoch from '2026-07-07 05:30:45'::timestamp) - extract(epoch from '2026-07-07 05:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46897 -3.684822)'), GeomFromEWKT('SRID=4674;POINT (-38.468884 -3.684735)'))) / (select extract(epoch from '2026-07-07 05:30:45'::timestamp) - extract(epoch from '2026-07-07 05:30: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.46887 -3.684719)', '2026-07-07 05:30:46', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468884 -3.684735)'), GeomFromEWKT('SRID=4674;POINT (-38.46887 -3.684719)'))) / (select extract(epoch from '2026-07-07 05:30:46'::timestamp) - extract(epoch from '2026-07-07 05:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468884 -3.684735)'), GeomFromEWKT('SRID=4674;POINT (-38.46887 -3.684719)'))) / (select extract(epoch from '2026-07-07 05:30:46'::timestamp) - extract(epoch from '2026-07-07 05:30: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.468837 -3.684675)', '2026-07-07 05:30:49', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46887 -3.684719)'), GeomFromEWKT('SRID=4674;POINT (-38.468837 -3.684675)'))) / (select extract(epoch from '2026-07-07 05:30:49'::timestamp) - extract(epoch from '2026-07-07 05:30:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46887 -3.684719)'), GeomFromEWKT('SRID=4674;POINT (-38.468837 -3.684675)'))) / (select extract(epoch from '2026-07-07 05:30:49'::timestamp) - extract(epoch from '2026-07-07 05:30: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.468775 -3.684593)', '2026-07-07 05:30:54', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468837 -3.684675)'), GeomFromEWKT('SRID=4674;POINT (-38.468775 -3.684593)'))) / (select extract(epoch from '2026-07-07 05:30:54'::timestamp) - extract(epoch from '2026-07-07 05:30:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468837 -3.684675)'), GeomFromEWKT('SRID=4674;POINT (-38.468775 -3.684593)'))) / (select extract(epoch from '2026-07-07 05:30:54'::timestamp) - extract(epoch from '2026-07-07 05:30: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.46869 -3.684508)', '2026-07-07 05:31:00', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468775 -3.684593)'), GeomFromEWKT('SRID=4674;POINT (-38.46869 -3.684508)'))) / (select extract(epoch from '2026-07-07 05:31:00'::timestamp) - extract(epoch from '2026-07-07 05:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468775 -3.684593)'), GeomFromEWKT('SRID=4674;POINT (-38.46869 -3.684508)'))) / (select extract(epoch from '2026-07-07 05:31:00'::timestamp) - extract(epoch from '2026-07-07 05:30: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.468611 -3.684448)', '2026-07-07 05:31:05', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46869 -3.684508)'), GeomFromEWKT('SRID=4674;POINT (-38.468611 -3.684448)'))) / (select extract(epoch from '2026-07-07 05:31:05'::timestamp) - extract(epoch from '2026-07-07 05:31:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46869 -3.684508)'), GeomFromEWKT('SRID=4674;POINT (-38.468611 -3.684448)'))) / (select extract(epoch from '2026-07-07 05:31:05'::timestamp) - extract(epoch from '2026-07-07 05:31: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.468592 -3.684437)', '2026-07-07 05:31:06', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468611 -3.684448)'), GeomFromEWKT('SRID=4674;POINT (-38.468592 -3.684437)'))) / (select extract(epoch from '2026-07-07 05:31:06'::timestamp) - extract(epoch from '2026-07-07 05:31:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468611 -3.684448)'), GeomFromEWKT('SRID=4674;POINT (-38.468592 -3.684437)'))) / (select extract(epoch from '2026-07-07 05:31:06'::timestamp) - extract(epoch from '2026-07-07 05:31: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.468516 -3.684376)', '2026-07-07 05:31:11', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468592 -3.684437)'), GeomFromEWKT('SRID=4674;POINT (-38.468516 -3.684376)'))) / (select extract(epoch from '2026-07-07 05:31:11'::timestamp) - extract(epoch from '2026-07-07 05:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468592 -3.684437)'), GeomFromEWKT('SRID=4674;POINT (-38.468516 -3.684376)'))) / (select extract(epoch from '2026-07-07 05:31:11'::timestamp) - extract(epoch from '2026-07-07 05:31: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.468496 -3.684366)', '2026-07-07 05:31:12', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468516 -3.684376)'), GeomFromEWKT('SRID=4674;POINT (-38.468496 -3.684366)'))) / (select extract(epoch from '2026-07-07 05:31:12'::timestamp) - extract(epoch from '2026-07-07 05:31:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468516 -3.684376)'), GeomFromEWKT('SRID=4674;POINT (-38.468496 -3.684366)'))) / (select extract(epoch from '2026-07-07 05:31:12'::timestamp) - extract(epoch from '2026-07-07 05:31: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.468479 -3.684354)', '2026-07-07 05:31:13', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468496 -3.684366)'), GeomFromEWKT('SRID=4674;POINT (-38.468479 -3.684354)'))) / (select extract(epoch from '2026-07-07 05:31:13'::timestamp) - extract(epoch from '2026-07-07 05:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468496 -3.684366)'), GeomFromEWKT('SRID=4674;POINT (-38.468479 -3.684354)'))) / (select extract(epoch from '2026-07-07 05:31:13'::timestamp) - extract(epoch from '2026-07-07 05:31: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.46843 -3.684315)', '2026-07-07 05:31:16', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468479 -3.684354)'), GeomFromEWKT('SRID=4674;POINT (-38.46843 -3.684315)'))) / (select extract(epoch from '2026-07-07 05:31:16'::timestamp) - extract(epoch from '2026-07-07 05:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468479 -3.684354)'), GeomFromEWKT('SRID=4674;POINT (-38.46843 -3.684315)'))) / (select extract(epoch from '2026-07-07 05:31:16'::timestamp) - extract(epoch from '2026-07-07 05:31: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.468328 -3.684249)', '2026-07-07 05:31:22', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46843 -3.684315)'), GeomFromEWKT('SRID=4674;POINT (-38.468328 -3.684249)'))) / (select extract(epoch from '2026-07-07 05:31:22'::timestamp) - extract(epoch from '2026-07-07 05:31:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46843 -3.684315)'), GeomFromEWKT('SRID=4674;POINT (-38.468328 -3.684249)'))) / (select extract(epoch from '2026-07-07 05:31:22'::timestamp) - extract(epoch from '2026-07-07 05:31: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.468234 -3.684172)', '2026-07-07 05:31:28', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468328 -3.684249)'), GeomFromEWKT('SRID=4674;POINT (-38.468234 -3.684172)'))) / (select extract(epoch from '2026-07-07 05:31:28'::timestamp) - extract(epoch from '2026-07-07 05:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468328 -3.684249)'), GeomFromEWKT('SRID=4674;POINT (-38.468234 -3.684172)'))) / (select extract(epoch from '2026-07-07 05:31:28'::timestamp) - extract(epoch from '2026-07-07 05:31: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.468139 -3.684107)', '2026-07-07 05:31:34', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468234 -3.684172)'), GeomFromEWKT('SRID=4674;POINT (-38.468139 -3.684107)'))) / (select extract(epoch from '2026-07-07 05:31:34'::timestamp) - extract(epoch from '2026-07-07 05:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468234 -3.684172)'), GeomFromEWKT('SRID=4674;POINT (-38.468139 -3.684107)'))) / (select extract(epoch from '2026-07-07 05:31:34'::timestamp) - extract(epoch from '2026-07-07 05:31: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.468058 -3.684048)', '2026-07-07 05:31:39', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468139 -3.684107)'), GeomFromEWKT('SRID=4674;POINT (-38.468058 -3.684048)'))) / (select extract(epoch from '2026-07-07 05:31:39'::timestamp) - extract(epoch from '2026-07-07 05:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468139 -3.684107)'), GeomFromEWKT('SRID=4674;POINT (-38.468058 -3.684048)'))) / (select extract(epoch from '2026-07-07 05:31:39'::timestamp) - extract(epoch from '2026-07-07 05:31: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.467967 -3.683975)', '2026-07-07 05:31:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468058 -3.684048)'), GeomFromEWKT('SRID=4674;POINT (-38.467967 -3.683975)'))) / (select extract(epoch from '2026-07-07 05:31:45'::timestamp) - extract(epoch from '2026-07-07 05:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468058 -3.684048)'), GeomFromEWKT('SRID=4674;POINT (-38.467967 -3.683975)'))) / (select extract(epoch from '2026-07-07 05:31:45'::timestamp) - extract(epoch from '2026-07-07 05:31: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.467896 -3.68391)', '2026-07-07 05:31:50', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467967 -3.683975)'), GeomFromEWKT('SRID=4674;POINT (-38.467896 -3.68391)'))) / (select extract(epoch from '2026-07-07 05:31:50'::timestamp) - extract(epoch from '2026-07-07 05:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467967 -3.683975)'), GeomFromEWKT('SRID=4674;POINT (-38.467896 -3.68391)'))) / (select extract(epoch from '2026-07-07 05:31:50'::timestamp) - extract(epoch from '2026-07-07 05:31: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.467852 -3.683873)', '2026-07-07 05:31:53', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467896 -3.68391)'), GeomFromEWKT('SRID=4674;POINT (-38.467852 -3.683873)'))) / (select extract(epoch from '2026-07-07 05:31:53'::timestamp) - extract(epoch from '2026-07-07 05:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467896 -3.68391)'), GeomFromEWKT('SRID=4674;POINT (-38.467852 -3.683873)'))) / (select extract(epoch from '2026-07-07 05:31:53'::timestamp) - extract(epoch from '2026-07-07 05:31: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.467823 -3.683848)', '2026-07-07 05:31:55', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467852 -3.683873)'), GeomFromEWKT('SRID=4674;POINT (-38.467823 -3.683848)'))) / (select extract(epoch from '2026-07-07 05:31:55'::timestamp) - extract(epoch from '2026-07-07 05:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467852 -3.683873)'), GeomFromEWKT('SRID=4674;POINT (-38.467823 -3.683848)'))) / (select extract(epoch from '2026-07-07 05:31:55'::timestamp) - extract(epoch from '2026-07-07 05:31: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.467786 -3.68381)', '2026-07-07 05:31:58', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467823 -3.683848)'), GeomFromEWKT('SRID=4674;POINT (-38.467786 -3.68381)'))) / (select extract(epoch from '2026-07-07 05:31:58'::timestamp) - extract(epoch from '2026-07-07 05:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467823 -3.683848)'), GeomFromEWKT('SRID=4674;POINT (-38.467786 -3.68381)'))) / (select extract(epoch from '2026-07-07 05:31:58'::timestamp) - extract(epoch from '2026-07-07 05:31: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.467764 -3.683788)', '2026-07-07 05:32:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467786 -3.68381)'), GeomFromEWKT('SRID=4674;POINT (-38.467764 -3.683788)'))) / (select extract(epoch from '2026-07-07 05:32:00'::timestamp) - extract(epoch from '2026-07-07 05:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467786 -3.68381)'), GeomFromEWKT('SRID=4674;POINT (-38.467764 -3.683788)'))) / (select extract(epoch from '2026-07-07 05:32:00'::timestamp) - extract(epoch from '2026-07-07 05:31: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.467694 -3.683718)', '2026-07-07 05:32:05', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467764 -3.683788)'), GeomFromEWKT('SRID=4674;POINT (-38.467694 -3.683718)'))) / (select extract(epoch from '2026-07-07 05:32:05'::timestamp) - extract(epoch from '2026-07-07 05:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467764 -3.683788)'), GeomFromEWKT('SRID=4674;POINT (-38.467694 -3.683718)'))) / (select extract(epoch from '2026-07-07 05:32:05'::timestamp) - extract(epoch from '2026-07-07 05:32: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.467609 -3.683622)', '2026-07-07 05:32:11', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467694 -3.683718)'), GeomFromEWKT('SRID=4674;POINT (-38.467609 -3.683622)'))) / (select extract(epoch from '2026-07-07 05:32:11'::timestamp) - extract(epoch from '2026-07-07 05:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467694 -3.683718)'), GeomFromEWKT('SRID=4674;POINT (-38.467609 -3.683622)'))) / (select extract(epoch from '2026-07-07 05:32:11'::timestamp) - extract(epoch from '2026-07-07 05:32: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.467532 -3.683549)', '2026-07-07 05:32:17', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467609 -3.683622)'), GeomFromEWKT('SRID=4674;POINT (-38.467532 -3.683549)'))) / (select extract(epoch from '2026-07-07 05:32:17'::timestamp) - extract(epoch from '2026-07-07 05:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467609 -3.683622)'), GeomFromEWKT('SRID=4674;POINT (-38.467532 -3.683549)'))) / (select extract(epoch from '2026-07-07 05:32:17'::timestamp) - extract(epoch from '2026-07-07 05:32: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.467459 -3.68348)', '2026-07-07 05:32:22', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467532 -3.683549)'), GeomFromEWKT('SRID=4674;POINT (-38.467459 -3.68348)'))) / (select extract(epoch from '2026-07-07 05:32:22'::timestamp) - extract(epoch from '2026-07-07 05:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467532 -3.683549)'), GeomFromEWKT('SRID=4674;POINT (-38.467459 -3.68348)'))) / (select extract(epoch from '2026-07-07 05:32:22'::timestamp) - extract(epoch from '2026-07-07 05:32: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.467372 -3.683391)', '2026-07-07 05:32:28', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467459 -3.68348)'), GeomFromEWKT('SRID=4674;POINT (-38.467372 -3.683391)'))) / (select extract(epoch from '2026-07-07 05:32:28'::timestamp) - extract(epoch from '2026-07-07 05:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467459 -3.68348)'), GeomFromEWKT('SRID=4674;POINT (-38.467372 -3.683391)'))) / (select extract(epoch from '2026-07-07 05:32:28'::timestamp) - extract(epoch from '2026-07-07 05:32: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.467281 -3.683302)', '2026-07-07 05:32:34', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467372 -3.683391)'), GeomFromEWKT('SRID=4674;POINT (-38.467281 -3.683302)'))) / (select extract(epoch from '2026-07-07 05:32:34'::timestamp) - extract(epoch from '2026-07-07 05:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467372 -3.683391)'), GeomFromEWKT('SRID=4674;POINT (-38.467281 -3.683302)'))) / (select extract(epoch from '2026-07-07 05:32:34'::timestamp) - extract(epoch from '2026-07-07 05:32: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.467172 -3.683218)', '2026-07-07 05:32:41', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467281 -3.683302)'), GeomFromEWKT('SRID=4674;POINT (-38.467172 -3.683218)'))) / (select extract(epoch from '2026-07-07 05:32:41'::timestamp) - extract(epoch from '2026-07-07 05:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467281 -3.683302)'), GeomFromEWKT('SRID=4674;POINT (-38.467172 -3.683218)'))) / (select extract(epoch from '2026-07-07 05:32:41'::timestamp) - extract(epoch from '2026-07-07 05:32: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.467098 -3.683156)', '2026-07-07 05:32:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467172 -3.683218)'), GeomFromEWKT('SRID=4674;POINT (-38.467098 -3.683156)'))) / (select extract(epoch from '2026-07-07 05:32:46'::timestamp) - extract(epoch from '2026-07-07 05:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467172 -3.683218)'), GeomFromEWKT('SRID=4674;POINT (-38.467098 -3.683156)'))) / (select extract(epoch from '2026-07-07 05:32:46'::timestamp) - extract(epoch from '2026-07-07 05:32: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.466992 -3.683077)', '2026-07-07 05:32:52', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467098 -3.683156)'), GeomFromEWKT('SRID=4674;POINT (-38.466992 -3.683077)'))) / (select extract(epoch from '2026-07-07 05:32:52'::timestamp) - extract(epoch from '2026-07-07 05:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467098 -3.683156)'), GeomFromEWKT('SRID=4674;POINT (-38.466992 -3.683077)'))) / (select extract(epoch from '2026-07-07 05:32:52'::timestamp) - extract(epoch from '2026-07-07 05:32: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.466914 -3.683019)', '2026-07-07 05:32:57', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466992 -3.683077)'), GeomFromEWKT('SRID=4674;POINT (-38.466914 -3.683019)'))) / (select extract(epoch from '2026-07-07 05:32:57'::timestamp) - extract(epoch from '2026-07-07 05:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466992 -3.683077)'), GeomFromEWKT('SRID=4674;POINT (-38.466914 -3.683019)'))) / (select extract(epoch from '2026-07-07 05:32:57'::timestamp) - extract(epoch from '2026-07-07 05:32: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.466846 -3.682953)', '2026-07-07 05:33:02', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466914 -3.683019)'), GeomFromEWKT('SRID=4674;POINT (-38.466846 -3.682953)'))) / (select extract(epoch from '2026-07-07 05:33:02'::timestamp) - extract(epoch from '2026-07-07 05:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466914 -3.683019)'), GeomFromEWKT('SRID=4674;POINT (-38.466846 -3.682953)'))) / (select extract(epoch from '2026-07-07 05:33:02'::timestamp) - extract(epoch from '2026-07-07 05:32: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.466779 -3.682882)', '2026-07-07 05:33:07', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466846 -3.682953)'), GeomFromEWKT('SRID=4674;POINT (-38.466779 -3.682882)'))) / (select extract(epoch from '2026-07-07 05:33:07'::timestamp) - extract(epoch from '2026-07-07 05:33:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466846 -3.682953)'), GeomFromEWKT('SRID=4674;POINT (-38.466779 -3.682882)'))) / (select extract(epoch from '2026-07-07 05:33:07'::timestamp) - extract(epoch from '2026-07-07 05:33: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.466713 -3.682808)', '2026-07-07 05:33:12', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466779 -3.682882)'), GeomFromEWKT('SRID=4674;POINT (-38.466713 -3.682808)'))) / (select extract(epoch from '2026-07-07 05:33:12'::timestamp) - extract(epoch from '2026-07-07 05:33:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466779 -3.682882)'), GeomFromEWKT('SRID=4674;POINT (-38.466713 -3.682808)'))) / (select extract(epoch from '2026-07-07 05:33:12'::timestamp) - extract(epoch from '2026-07-07 05:33: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.466679 -3.682764)', '2026-07-07 05:33:15', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466713 -3.682808)'), GeomFromEWKT('SRID=4674;POINT (-38.466679 -3.682764)'))) / (select extract(epoch from '2026-07-07 05:33:15'::timestamp) - extract(epoch from '2026-07-07 05:33:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466713 -3.682808)'), GeomFromEWKT('SRID=4674;POINT (-38.466679 -3.682764)'))) / (select extract(epoch from '2026-07-07 05:33:15'::timestamp) - extract(epoch from '2026-07-07 05:33: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.466636 -3.682715)', '2026-07-07 05:33:18', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466679 -3.682764)'), GeomFromEWKT('SRID=4674;POINT (-38.466636 -3.682715)'))) / (select extract(epoch from '2026-07-07 05:33:18'::timestamp) - extract(epoch from '2026-07-07 05:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466679 -3.682764)'), GeomFromEWKT('SRID=4674;POINT (-38.466636 -3.682715)'))) / (select extract(epoch from '2026-07-07 05:33:18'::timestamp) - extract(epoch from '2026-07-07 05:33: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.466547 -3.682624)', '2026-07-07 05:33:24', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466636 -3.682715)'), GeomFromEWKT('SRID=4674;POINT (-38.466547 -3.682624)'))) / (select extract(epoch from '2026-07-07 05:33:24'::timestamp) - extract(epoch from '2026-07-07 05:33:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466636 -3.682715)'), GeomFromEWKT('SRID=4674;POINT (-38.466547 -3.682624)'))) / (select extract(epoch from '2026-07-07 05:33:24'::timestamp) - extract(epoch from '2026-07-07 05:33: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.466489 -3.682568)', '2026-07-07 05:33:28', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466547 -3.682624)'), GeomFromEWKT('SRID=4674;POINT (-38.466489 -3.682568)'))) / (select extract(epoch from '2026-07-07 05:33:28'::timestamp) - extract(epoch from '2026-07-07 05:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466547 -3.682624)'), GeomFromEWKT('SRID=4674;POINT (-38.466489 -3.682568)'))) / (select extract(epoch from '2026-07-07 05:33:28'::timestamp) - extract(epoch from '2026-07-07 05:33: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.466414 -3.682504)', '2026-07-07 05:33:33', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466489 -3.682568)'), GeomFromEWKT('SRID=4674;POINT (-38.466414 -3.682504)'))) / (select extract(epoch from '2026-07-07 05:33:33'::timestamp) - extract(epoch from '2026-07-07 05:33:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466489 -3.682568)'), GeomFromEWKT('SRID=4674;POINT (-38.466414 -3.682504)'))) / (select extract(epoch from '2026-07-07 05:33:33'::timestamp) - extract(epoch from '2026-07-07 05:33: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.46635 -3.682449)', '2026-07-07 05:33:37', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466414 -3.682504)'), GeomFromEWKT('SRID=4674;POINT (-38.46635 -3.682449)'))) / (select extract(epoch from '2026-07-07 05:33:37'::timestamp) - extract(epoch from '2026-07-07 05:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466414 -3.682504)'), GeomFromEWKT('SRID=4674;POINT (-38.46635 -3.682449)'))) / (select extract(epoch from '2026-07-07 05:33:37'::timestamp) - extract(epoch from '2026-07-07 05:33: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.466258 -3.682366)', '2026-07-07 05:33:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46635 -3.682449)'), GeomFromEWKT('SRID=4674;POINT (-38.466258 -3.682366)'))) / (select extract(epoch from '2026-07-07 05:33:43'::timestamp) - extract(epoch from '2026-07-07 05:33:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46635 -3.682449)'), GeomFromEWKT('SRID=4674;POINT (-38.466258 -3.682366)'))) / (select extract(epoch from '2026-07-07 05:33:43'::timestamp) - extract(epoch from '2026-07-07 05:33: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.466189 -3.682293)', '2026-07-07 05:33:48', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466258 -3.682366)'), GeomFromEWKT('SRID=4674;POINT (-38.466189 -3.682293)'))) / (select extract(epoch from '2026-07-07 05:33:48'::timestamp) - extract(epoch from '2026-07-07 05:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466258 -3.682366)'), GeomFromEWKT('SRID=4674;POINT (-38.466189 -3.682293)'))) / (select extract(epoch from '2026-07-07 05:33:48'::timestamp) - extract(epoch from '2026-07-07 05:33: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.466097 -3.6822)', '2026-07-07 05:33:54', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466189 -3.682293)'), GeomFromEWKT('SRID=4674;POINT (-38.466097 -3.6822)'))) / (select extract(epoch from '2026-07-07 05:33:54'::timestamp) - extract(epoch from '2026-07-07 05:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466189 -3.682293)'), GeomFromEWKT('SRID=4674;POINT (-38.466097 -3.6822)'))) / (select extract(epoch from '2026-07-07 05:33:54'::timestamp) - extract(epoch from '2026-07-07 05:33: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.466058 -3.68216)', '2026-07-07 05:33:57', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466097 -3.6822)'), GeomFromEWKT('SRID=4674;POINT (-38.466058 -3.68216)'))) / (select extract(epoch from '2026-07-07 05:33:57'::timestamp) - extract(epoch from '2026-07-07 05:33:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466097 -3.6822)'), GeomFromEWKT('SRID=4674;POINT (-38.466058 -3.68216)'))) / (select extract(epoch from '2026-07-07 05:33:57'::timestamp) - extract(epoch from '2026-07-07 05:33: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.466028 -3.682124)', '2026-07-07 05:33:59', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466058 -3.68216)'), GeomFromEWKT('SRID=4674;POINT (-38.466028 -3.682124)'))) / (select extract(epoch from '2026-07-07 05:33:59'::timestamp) - extract(epoch from '2026-07-07 05:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466058 -3.68216)'), GeomFromEWKT('SRID=4674;POINT (-38.466028 -3.682124)'))) / (select extract(epoch from '2026-07-07 05:33:59'::timestamp) - extract(epoch from '2026-07-07 05:33: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.466021 -3.682106)', '2026-07-07 05:34:00', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466028 -3.682124)'), GeomFromEWKT('SRID=4674;POINT (-38.466021 -3.682106)'))) / (select extract(epoch from '2026-07-07 05:34:00'::timestamp) - extract(epoch from '2026-07-07 05:33:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466028 -3.682124)'), GeomFromEWKT('SRID=4674;POINT (-38.466021 -3.682106)'))) / (select extract(epoch from '2026-07-07 05:34:00'::timestamp) - extract(epoch from '2026-07-07 05:33: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.466011 -3.682068)', '2026-07-07 05:34:02', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466021 -3.682106)'), GeomFromEWKT('SRID=4674;POINT (-38.466011 -3.682068)'))) / (select extract(epoch from '2026-07-07 05:34:02'::timestamp) - extract(epoch from '2026-07-07 05:34:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466021 -3.682106)'), GeomFromEWKT('SRID=4674;POINT (-38.466011 -3.682068)'))) / (select extract(epoch from '2026-07-07 05:34:02'::timestamp) - extract(epoch from '2026-07-07 05:34: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.465999 -3.68205)', '2026-07-07 05:34:03', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466011 -3.682068)'), GeomFromEWKT('SRID=4674;POINT (-38.465999 -3.68205)'))) / (select extract(epoch from '2026-07-07 05:34:03'::timestamp) - extract(epoch from '2026-07-07 05:34:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466011 -3.682068)'), GeomFromEWKT('SRID=4674;POINT (-38.465999 -3.68205)'))) / (select extract(epoch from '2026-07-07 05:34:03'::timestamp) - extract(epoch from '2026-07-07 05:34: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.465993 -3.682029)', '2026-07-07 05:34:04', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465999 -3.68205)'), GeomFromEWKT('SRID=4674;POINT (-38.465993 -3.682029)'))) / (select extract(epoch from '2026-07-07 05:34:04'::timestamp) - extract(epoch from '2026-07-07 05:34:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465999 -3.68205)'), GeomFromEWKT('SRID=4674;POINT (-38.465993 -3.682029)'))) / (select extract(epoch from '2026-07-07 05:34:04'::timestamp) - extract(epoch from '2026-07-07 05:34: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.465966 -3.681981)', '2026-07-07 05:34:07', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465993 -3.682029)'), GeomFromEWKT('SRID=4674;POINT (-38.465966 -3.681981)'))) / (select extract(epoch from '2026-07-07 05:34:07'::timestamp) - extract(epoch from '2026-07-07 05:34:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465993 -3.682029)'), GeomFromEWKT('SRID=4674;POINT (-38.465966 -3.681981)'))) / (select extract(epoch from '2026-07-07 05:34:07'::timestamp) - extract(epoch from '2026-07-07 05:34: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.465901 -3.681905)', '2026-07-07 05:34:12', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465966 -3.681981)'), GeomFromEWKT('SRID=4674;POINT (-38.465901 -3.681905)'))) / (select extract(epoch from '2026-07-07 05:34:12'::timestamp) - extract(epoch from '2026-07-07 05:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465966 -3.681981)'), GeomFromEWKT('SRID=4674;POINT (-38.465901 -3.681905)'))) / (select extract(epoch from '2026-07-07 05:34:12'::timestamp) - extract(epoch from '2026-07-07 05:34: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.465809 -3.681827)', '2026-07-07 05:34:18', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465901 -3.681905)'), GeomFromEWKT('SRID=4674;POINT (-38.465809 -3.681827)'))) / (select extract(epoch from '2026-07-07 05:34:18'::timestamp) - extract(epoch from '2026-07-07 05:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465901 -3.681905)'), GeomFromEWKT('SRID=4674;POINT (-38.465809 -3.681827)'))) / (select extract(epoch from '2026-07-07 05:34:18'::timestamp) - extract(epoch from '2026-07-07 05:34: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.465723 -3.681771)', '2026-07-07 05:34:23', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465809 -3.681827)'), GeomFromEWKT('SRID=4674;POINT (-38.465723 -3.681771)'))) / (select extract(epoch from '2026-07-07 05:34:23'::timestamp) - extract(epoch from '2026-07-07 05:34:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465809 -3.681827)'), GeomFromEWKT('SRID=4674;POINT (-38.465723 -3.681771)'))) / (select extract(epoch from '2026-07-07 05:34:23'::timestamp) - extract(epoch from '2026-07-07 05:34: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.465672 -3.681728)', '2026-07-07 05:34:27', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465723 -3.681771)'), GeomFromEWKT('SRID=4674;POINT (-38.465672 -3.681728)'))) / (select extract(epoch from '2026-07-07 05:34:27'::timestamp) - extract(epoch from '2026-07-07 05:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465723 -3.681771)'), GeomFromEWKT('SRID=4674;POINT (-38.465672 -3.681728)'))) / (select extract(epoch from '2026-07-07 05:34:27'::timestamp) - extract(epoch from '2026-07-07 05:34: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.46566 -3.681716)', '2026-07-07 05:34:28', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465672 -3.681728)'), GeomFromEWKT('SRID=4674;POINT (-38.46566 -3.681716)'))) / (select extract(epoch from '2026-07-07 05:34:28'::timestamp) - extract(epoch from '2026-07-07 05:34:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465672 -3.681728)'), GeomFromEWKT('SRID=4674;POINT (-38.46566 -3.681716)'))) / (select extract(epoch from '2026-07-07 05:34:28'::timestamp) - extract(epoch from '2026-07-07 05:34: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.46564 -3.681694)', '2026-07-07 05:34:30', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46566 -3.681716)'), GeomFromEWKT('SRID=4674;POINT (-38.46564 -3.681694)'))) / (select extract(epoch from '2026-07-07 05:34:30'::timestamp) - extract(epoch from '2026-07-07 05:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46566 -3.681716)'), GeomFromEWKT('SRID=4674;POINT (-38.46564 -3.681694)'))) / (select extract(epoch from '2026-07-07 05:34:30'::timestamp) - extract(epoch from '2026-07-07 05:34: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.465627 -3.681681)', '2026-07-07 05:34:31', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46564 -3.681694)'), GeomFromEWKT('SRID=4674;POINT (-38.465627 -3.681681)'))) / (select extract(epoch from '2026-07-07 05:34:31'::timestamp) - extract(epoch from '2026-07-07 05:34:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46564 -3.681694)'), GeomFromEWKT('SRID=4674;POINT (-38.465627 -3.681681)'))) / (select extract(epoch from '2026-07-07 05:34:31'::timestamp) - extract(epoch from '2026-07-07 05:34: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.465535 -3.681603)', '2026-07-07 05:34:37', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465627 -3.681681)'), GeomFromEWKT('SRID=4674;POINT (-38.465535 -3.681603)'))) / (select extract(epoch from '2026-07-07 05:34:37'::timestamp) - extract(epoch from '2026-07-07 05:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465627 -3.681681)'), GeomFromEWKT('SRID=4674;POINT (-38.465535 -3.681603)'))) / (select extract(epoch from '2026-07-07 05:34:37'::timestamp) - extract(epoch from '2026-07-07 05:34: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.465446 -3.68153)', '2026-07-07 05:34:43', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465535 -3.681603)'), GeomFromEWKT('SRID=4674;POINT (-38.465446 -3.68153)'))) / (select extract(epoch from '2026-07-07 05:34:43'::timestamp) - extract(epoch from '2026-07-07 05:34:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465535 -3.681603)'), GeomFromEWKT('SRID=4674;POINT (-38.465446 -3.68153)'))) / (select extract(epoch from '2026-07-07 05:34:43'::timestamp) - extract(epoch from '2026-07-07 05:34: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.465372 -3.681463)', '2026-07-07 05:34:48', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465446 -3.68153)'), GeomFromEWKT('SRID=4674;POINT (-38.465372 -3.681463)'))) / (select extract(epoch from '2026-07-07 05:34:48'::timestamp) - extract(epoch from '2026-07-07 05:34:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465446 -3.68153)'), GeomFromEWKT('SRID=4674;POINT (-38.465372 -3.681463)'))) / (select extract(epoch from '2026-07-07 05:34:48'::timestamp) - extract(epoch from '2026-07-07 05:34: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.465291 -3.681404)', '2026-07-07 05:34:53', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465372 -3.681463)'), GeomFromEWKT('SRID=4674;POINT (-38.465291 -3.681404)'))) / (select extract(epoch from '2026-07-07 05:34:53'::timestamp) - extract(epoch from '2026-07-07 05:34:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465372 -3.681463)'), GeomFromEWKT('SRID=4674;POINT (-38.465291 -3.681404)'))) / (select extract(epoch from '2026-07-07 05:34:53'::timestamp) - extract(epoch from '2026-07-07 05:34: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.465212 -3.681339)', '2026-07-07 05:34:58', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465291 -3.681404)'), GeomFromEWKT('SRID=4674;POINT (-38.465212 -3.681339)'))) / (select extract(epoch from '2026-07-07 05:34:58'::timestamp) - extract(epoch from '2026-07-07 05:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465291 -3.681404)'), GeomFromEWKT('SRID=4674;POINT (-38.465212 -3.681339)'))) / (select extract(epoch from '2026-07-07 05:34:58'::timestamp) - extract(epoch from '2026-07-07 05:34: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.465121 -3.681262)', '2026-07-07 05:35:04', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465212 -3.681339)'), GeomFromEWKT('SRID=4674;POINT (-38.465121 -3.681262)'))) / (select extract(epoch from '2026-07-07 05:35:04'::timestamp) - extract(epoch from '2026-07-07 05:34:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465212 -3.681339)'), GeomFromEWKT('SRID=4674;POINT (-38.465121 -3.681262)'))) / (select extract(epoch from '2026-07-07 05:35:04'::timestamp) - extract(epoch from '2026-07-07 05:34: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.465047 -3.681197)', '2026-07-07 05:35:09', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465121 -3.681262)'), GeomFromEWKT('SRID=4674;POINT (-38.465047 -3.681197)'))) / (select extract(epoch from '2026-07-07 05:35:09'::timestamp) - extract(epoch from '2026-07-07 05:35:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465121 -3.681262)'), GeomFromEWKT('SRID=4674;POINT (-38.465047 -3.681197)'))) / (select extract(epoch from '2026-07-07 05:35:09'::timestamp) - extract(epoch from '2026-07-07 05:35: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.464969 -3.681127)', '2026-07-07 05:35:14', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465047 -3.681197)'), GeomFromEWKT('SRID=4674;POINT (-38.464969 -3.681127)'))) / (select extract(epoch from '2026-07-07 05:35:14'::timestamp) - extract(epoch from '2026-07-07 05:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465047 -3.681197)'), GeomFromEWKT('SRID=4674;POINT (-38.464969 -3.681127)'))) / (select extract(epoch from '2026-07-07 05:35:14'::timestamp) - extract(epoch from '2026-07-07 05:35: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.464864 -3.68103)', '2026-07-07 05:35:21', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464969 -3.681127)'), GeomFromEWKT('SRID=4674;POINT (-38.464864 -3.68103)'))) / (select extract(epoch from '2026-07-07 05:35:21'::timestamp) - extract(epoch from '2026-07-07 05:35:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464969 -3.681127)'), GeomFromEWKT('SRID=4674;POINT (-38.464864 -3.68103)'))) / (select extract(epoch from '2026-07-07 05:35:21'::timestamp) - extract(epoch from '2026-07-07 05:35: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.464786 -3.680962)', '2026-07-07 05:35:26', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464864 -3.68103)'), GeomFromEWKT('SRID=4674;POINT (-38.464786 -3.680962)'))) / (select extract(epoch from '2026-07-07 05:35:26'::timestamp) - extract(epoch from '2026-07-07 05:35:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464864 -3.68103)'), GeomFromEWKT('SRID=4674;POINT (-38.464786 -3.680962)'))) / (select extract(epoch from '2026-07-07 05:35:26'::timestamp) - extract(epoch from '2026-07-07 05:35: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.464673 -3.68087)', '2026-07-07 05:35:33', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464786 -3.680962)'), GeomFromEWKT('SRID=4674;POINT (-38.464673 -3.68087)'))) / (select extract(epoch from '2026-07-07 05:35:33'::timestamp) - extract(epoch from '2026-07-07 05:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464786 -3.680962)'), GeomFromEWKT('SRID=4674;POINT (-38.464673 -3.68087)'))) / (select extract(epoch from '2026-07-07 05:35:33'::timestamp) - extract(epoch from '2026-07-07 05:35: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.46459 -3.680808)', '2026-07-07 05:35:38', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464673 -3.68087)'), GeomFromEWKT('SRID=4674;POINT (-38.46459 -3.680808)'))) / (select extract(epoch from '2026-07-07 05:35:38'::timestamp) - extract(epoch from '2026-07-07 05:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464673 -3.68087)'), GeomFromEWKT('SRID=4674;POINT (-38.46459 -3.680808)'))) / (select extract(epoch from '2026-07-07 05:35:38'::timestamp) - extract(epoch from '2026-07-07 05:35: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.464498 -3.680725)', '2026-07-07 05:35:44', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46459 -3.680808)'), GeomFromEWKT('SRID=4674;POINT (-38.464498 -3.680725)'))) / (select extract(epoch from '2026-07-07 05:35:44'::timestamp) - extract(epoch from '2026-07-07 05:35:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46459 -3.680808)'), GeomFromEWKT('SRID=4674;POINT (-38.464498 -3.680725)'))) / (select extract(epoch from '2026-07-07 05:35:44'::timestamp) - extract(epoch from '2026-07-07 05:35: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.464422 -3.68067)', '2026-07-07 05:35:49', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464498 -3.680725)'), GeomFromEWKT('SRID=4674;POINT (-38.464422 -3.68067)'))) / (select extract(epoch from '2026-07-07 05:35:49'::timestamp) - extract(epoch from '2026-07-07 05:35:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464498 -3.680725)'), GeomFromEWKT('SRID=4674;POINT (-38.464422 -3.68067)'))) / (select extract(epoch from '2026-07-07 05:35:49'::timestamp) - extract(epoch from '2026-07-07 05:35: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.464356 -3.680609)', '2026-07-07 05:35:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464422 -3.68067)'), GeomFromEWKT('SRID=4674;POINT (-38.464356 -3.680609)'))) / (select extract(epoch from '2026-07-07 05:35:54'::timestamp) - extract(epoch from '2026-07-07 05:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464422 -3.68067)'), GeomFromEWKT('SRID=4674;POINT (-38.464356 -3.680609)'))) / (select extract(epoch from '2026-07-07 05:35:54'::timestamp) - extract(epoch from '2026-07-07 05:35: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.464297 -3.680563)', '2026-07-07 05:35:58', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464356 -3.680609)'), GeomFromEWKT('SRID=4674;POINT (-38.464297 -3.680563)'))) / (select extract(epoch from '2026-07-07 05:35:58'::timestamp) - extract(epoch from '2026-07-07 05:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464356 -3.680609)'), GeomFromEWKT('SRID=4674;POINT (-38.464297 -3.680563)'))) / (select extract(epoch from '2026-07-07 05:35:58'::timestamp) - extract(epoch from '2026-07-07 05:35: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.464281 -3.680552)', '2026-07-07 05:35:59', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464297 -3.680563)'), GeomFromEWKT('SRID=4674;POINT (-38.464281 -3.680552)'))) / (select extract(epoch from '2026-07-07 05:35:59'::timestamp) - extract(epoch from '2026-07-07 05:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464297 -3.680563)'), GeomFromEWKT('SRID=4674;POINT (-38.464281 -3.680552)'))) / (select extract(epoch from '2026-07-07 05:35:59'::timestamp) - extract(epoch from '2026-07-07 05:35: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.464182 -3.68048)', '2026-07-07 05:36:05', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464281 -3.680552)'), GeomFromEWKT('SRID=4674;POINT (-38.464182 -3.68048)'))) / (select extract(epoch from '2026-07-07 05:36:05'::timestamp) - extract(epoch from '2026-07-07 05:35:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464281 -3.680552)'), GeomFromEWKT('SRID=4674;POINT (-38.464182 -3.68048)'))) / (select extract(epoch from '2026-07-07 05:36:05'::timestamp) - extract(epoch from '2026-07-07 05:35: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.46417 -3.680466)', '2026-07-07 05:36:06', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464182 -3.68048)'), GeomFromEWKT('SRID=4674;POINT (-38.46417 -3.680466)'))) / (select extract(epoch from '2026-07-07 05:36:06'::timestamp) - extract(epoch from '2026-07-07 05:36:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464182 -3.68048)'), GeomFromEWKT('SRID=4674;POINT (-38.46417 -3.680466)'))) / (select extract(epoch from '2026-07-07 05:36:06'::timestamp) - extract(epoch from '2026-07-07 05:36: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.464154 -3.680455)', '2026-07-07 05:36:07', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46417 -3.680466)'), GeomFromEWKT('SRID=4674;POINT (-38.464154 -3.680455)'))) / (select extract(epoch from '2026-07-07 05:36:07'::timestamp) - extract(epoch from '2026-07-07 05:36:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46417 -3.680466)'), GeomFromEWKT('SRID=4674;POINT (-38.464154 -3.680455)'))) / (select extract(epoch from '2026-07-07 05:36:07'::timestamp) - extract(epoch from '2026-07-07 05:36: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.464084 -3.680415)', '2026-07-07 05:36:11', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464154 -3.680455)'), GeomFromEWKT('SRID=4674;POINT (-38.464084 -3.680415)'))) / (select extract(epoch from '2026-07-07 05:36:11'::timestamp) - extract(epoch from '2026-07-07 05:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464154 -3.680455)'), GeomFromEWKT('SRID=4674;POINT (-38.464084 -3.680415)'))) / (select extract(epoch from '2026-07-07 05:36:11'::timestamp) - extract(epoch from '2026-07-07 05:36: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.463978 -3.68035)', '2026-07-07 05:36:17', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464084 -3.680415)'), GeomFromEWKT('SRID=4674;POINT (-38.463978 -3.68035)'))) / (select extract(epoch from '2026-07-07 05:36:17'::timestamp) - extract(epoch from '2026-07-07 05:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464084 -3.680415)'), GeomFromEWKT('SRID=4674;POINT (-38.463978 -3.68035)'))) / (select extract(epoch from '2026-07-07 05:36:17'::timestamp) - extract(epoch from '2026-07-07 05:36: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.4639 -3.680304)', '2026-07-07 05:36:22', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463978 -3.68035)'), GeomFromEWKT('SRID=4674;POINT (-38.4639 -3.680304)'))) / (select extract(epoch from '2026-07-07 05:36:22'::timestamp) - extract(epoch from '2026-07-07 05:36:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463978 -3.68035)'), GeomFromEWKT('SRID=4674;POINT (-38.4639 -3.680304)'))) / (select extract(epoch from '2026-07-07 05:36:22'::timestamp) - extract(epoch from '2026-07-07 05:36: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.463818 -3.68025)', '2026-07-07 05:36:27', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4639 -3.680304)'), GeomFromEWKT('SRID=4674;POINT (-38.463818 -3.68025)'))) / (select extract(epoch from '2026-07-07 05:36:27'::timestamp) - extract(epoch from '2026-07-07 05:36:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4639 -3.680304)'), GeomFromEWKT('SRID=4674;POINT (-38.463818 -3.68025)'))) / (select extract(epoch from '2026-07-07 05:36:27'::timestamp) - extract(epoch from '2026-07-07 05:36: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.463722 -3.680178)', '2026-07-07 05:36:33', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463818 -3.68025)'), GeomFromEWKT('SRID=4674;POINT (-38.463722 -3.680178)'))) / (select extract(epoch from '2026-07-07 05:36:33'::timestamp) - extract(epoch from '2026-07-07 05:36:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463818 -3.68025)'), GeomFromEWKT('SRID=4674;POINT (-38.463722 -3.680178)'))) / (select extract(epoch from '2026-07-07 05:36:33'::timestamp) - extract(epoch from '2026-07-07 05:36: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.463645 -3.680128)', '2026-07-07 05:36:38', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463722 -3.680178)'), GeomFromEWKT('SRID=4674;POINT (-38.463645 -3.680128)'))) / (select extract(epoch from '2026-07-07 05:36:38'::timestamp) - extract(epoch from '2026-07-07 05:36:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463722 -3.680178)'), GeomFromEWKT('SRID=4674;POINT (-38.463645 -3.680128)'))) / (select extract(epoch from '2026-07-07 05:36:38'::timestamp) - extract(epoch from '2026-07-07 05:36: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.463561 -3.680081)', '2026-07-07 05:36:43', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463645 -3.680128)'), GeomFromEWKT('SRID=4674;POINT (-38.463561 -3.680081)'))) / (select extract(epoch from '2026-07-07 05:36:43'::timestamp) - extract(epoch from '2026-07-07 05:36:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463645 -3.680128)'), GeomFromEWKT('SRID=4674;POINT (-38.463561 -3.680081)'))) / (select extract(epoch from '2026-07-07 05:36:43'::timestamp) - extract(epoch from '2026-07-07 05:36: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.463472 -3.680017)', '2026-07-07 05:36:49', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463561 -3.680081)'), GeomFromEWKT('SRID=4674;POINT (-38.463472 -3.680017)'))) / (select extract(epoch from '2026-07-07 05:36:49'::timestamp) - extract(epoch from '2026-07-07 05:36:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463561 -3.680081)'), GeomFromEWKT('SRID=4674;POINT (-38.463472 -3.680017)'))) / (select extract(epoch from '2026-07-07 05:36:49'::timestamp) - extract(epoch from '2026-07-07 05:36: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.463375 -3.67997)', '2026-07-07 05:36:55', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463472 -3.680017)'), GeomFromEWKT('SRID=4674;POINT (-38.463375 -3.67997)'))) / (select extract(epoch from '2026-07-07 05:36:55'::timestamp) - extract(epoch from '2026-07-07 05:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463472 -3.680017)'), GeomFromEWKT('SRID=4674;POINT (-38.463375 -3.67997)'))) / (select extract(epoch from '2026-07-07 05:36:55'::timestamp) - extract(epoch from '2026-07-07 05:36: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.463301 -3.679931)', '2026-07-07 05:37:00', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463375 -3.67997)'), GeomFromEWKT('SRID=4674;POINT (-38.463301 -3.679931)'))) / (select extract(epoch from '2026-07-07 05:37:00'::timestamp) - extract(epoch from '2026-07-07 05:36:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463375 -3.67997)'), GeomFromEWKT('SRID=4674;POINT (-38.463301 -3.679931)'))) / (select extract(epoch from '2026-07-07 05:37:00'::timestamp) - extract(epoch from '2026-07-07 05:36: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.463271 -3.679912)', '2026-07-07 05:37:02', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463301 -3.679931)'), GeomFromEWKT('SRID=4674;POINT (-38.463271 -3.679912)'))) / (select extract(epoch from '2026-07-07 05:37:02'::timestamp) - extract(epoch from '2026-07-07 05:37:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463301 -3.679931)'), GeomFromEWKT('SRID=4674;POINT (-38.463271 -3.679912)'))) / (select extract(epoch from '2026-07-07 05:37:02'::timestamp) - extract(epoch from '2026-07-07 05:37: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.463235 -3.679891)', '2026-07-07 05:37:04', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463271 -3.679912)'), GeomFromEWKT('SRID=4674;POINT (-38.463235 -3.679891)'))) / (select extract(epoch from '2026-07-07 05:37:04'::timestamp) - extract(epoch from '2026-07-07 05:37:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463271 -3.679912)'), GeomFromEWKT('SRID=4674;POINT (-38.463235 -3.679891)'))) / (select extract(epoch from '2026-07-07 05:37:04'::timestamp) - extract(epoch from '2026-07-07 05:37: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.463146 -3.67983)', '2026-07-07 05:37:10', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463235 -3.679891)'), GeomFromEWKT('SRID=4674;POINT (-38.463146 -3.67983)'))) / (select extract(epoch from '2026-07-07 05:37:10'::timestamp) - extract(epoch from '2026-07-07 05:37:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463235 -3.679891)'), GeomFromEWKT('SRID=4674;POINT (-38.463146 -3.67983)'))) / (select extract(epoch from '2026-07-07 05:37:10'::timestamp) - extract(epoch from '2026-07-07 05:37: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.463087 -3.679793)', '2026-07-07 05:37:14', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463146 -3.67983)'), GeomFromEWKT('SRID=4674;POINT (-38.463087 -3.679793)'))) / (select extract(epoch from '2026-07-07 05:37:14'::timestamp) - extract(epoch from '2026-07-07 05:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463146 -3.67983)'), GeomFromEWKT('SRID=4674;POINT (-38.463087 -3.679793)'))) / (select extract(epoch from '2026-07-07 05:37:14'::timestamp) - extract(epoch from '2026-07-07 05:37: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.462965 -3.679721)', '2026-07-07 05:37:21', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463087 -3.679793)'), GeomFromEWKT('SRID=4674;POINT (-38.462965 -3.679721)'))) / (select extract(epoch from '2026-07-07 05:37:21'::timestamp) - extract(epoch from '2026-07-07 05:37:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463087 -3.679793)'), GeomFromEWKT('SRID=4674;POINT (-38.462965 -3.679721)'))) / (select extract(epoch from '2026-07-07 05:37:21'::timestamp) - extract(epoch from '2026-07-07 05:37: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.462852 -3.67964)', '2026-07-07 05:37:28', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462965 -3.679721)'), GeomFromEWKT('SRID=4674;POINT (-38.462852 -3.67964)'))) / (select extract(epoch from '2026-07-07 05:37:28'::timestamp) - extract(epoch from '2026-07-07 05:37:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462965 -3.679721)'), GeomFromEWKT('SRID=4674;POINT (-38.462852 -3.67964)'))) / (select extract(epoch from '2026-07-07 05:37:28'::timestamp) - extract(epoch from '2026-07-07 05:37: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.462754 -3.67956)', '2026-07-07 05:37:34', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462852 -3.67964)'), GeomFromEWKT('SRID=4674;POINT (-38.462754 -3.67956)'))) / (select extract(epoch from '2026-07-07 05:37:34'::timestamp) - extract(epoch from '2026-07-07 05:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462852 -3.67964)'), GeomFromEWKT('SRID=4674;POINT (-38.462754 -3.67956)'))) / (select extract(epoch from '2026-07-07 05:37:34'::timestamp) - extract(epoch from '2026-07-07 05:37: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.462674 -3.679501)', '2026-07-07 05:37:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462754 -3.67956)'), GeomFromEWKT('SRID=4674;POINT (-38.462674 -3.679501)'))) / (select extract(epoch from '2026-07-07 05:37:39'::timestamp) - extract(epoch from '2026-07-07 05:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462754 -3.67956)'), GeomFromEWKT('SRID=4674;POINT (-38.462674 -3.679501)'))) / (select extract(epoch from '2026-07-07 05:37:39'::timestamp) - extract(epoch from '2026-07-07 05:37: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.462659 -3.679484)', '2026-07-07 05:37:40', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462674 -3.679501)'), GeomFromEWKT('SRID=4674;POINT (-38.462659 -3.679484)'))) / (select extract(epoch from '2026-07-07 05:37:40'::timestamp) - extract(epoch from '2026-07-07 05:37:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462674 -3.679501)'), GeomFromEWKT('SRID=4674;POINT (-38.462659 -3.679484)'))) / (select extract(epoch from '2026-07-07 05:37:40'::timestamp) - extract(epoch from '2026-07-07 05:37: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.462575 -3.679432)', '2026-07-07 05:37:45', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462659 -3.679484)'), GeomFromEWKT('SRID=4674;POINT (-38.462575 -3.679432)'))) / (select extract(epoch from '2026-07-07 05:37:45'::timestamp) - extract(epoch from '2026-07-07 05:37:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462659 -3.679484)'), GeomFromEWKT('SRID=4674;POINT (-38.462575 -3.679432)'))) / (select extract(epoch from '2026-07-07 05:37:45'::timestamp) - extract(epoch from '2026-07-07 05:37: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.462531 -3.67939)', '2026-07-07 05:37:48', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462575 -3.679432)'), GeomFromEWKT('SRID=4674;POINT (-38.462531 -3.67939)'))) / (select extract(epoch from '2026-07-07 05:37:48'::timestamp) - extract(epoch from '2026-07-07 05:37:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462575 -3.679432)'), GeomFromEWKT('SRID=4674;POINT (-38.462531 -3.67939)'))) / (select extract(epoch from '2026-07-07 05:37:48'::timestamp) - extract(epoch from '2026-07-07 05:37: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.4625 -3.679369)', '2026-07-07 05:37:50', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462531 -3.67939)'), GeomFromEWKT('SRID=4674;POINT (-38.4625 -3.679369)'))) / (select extract(epoch from '2026-07-07 05:37:50'::timestamp) - extract(epoch from '2026-07-07 05:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462531 -3.67939)'), GeomFromEWKT('SRID=4674;POINT (-38.4625 -3.679369)'))) / (select extract(epoch from '2026-07-07 05:37:50'::timestamp) - extract(epoch from '2026-07-07 05:37: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.462412 -3.679312)', '2026-07-07 05:37:55', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4625 -3.679369)'), GeomFromEWKT('SRID=4674;POINT (-38.462412 -3.679312)'))) / (select extract(epoch from '2026-07-07 05:37:55'::timestamp) - extract(epoch from '2026-07-07 05:37:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4625 -3.679369)'), GeomFromEWKT('SRID=4674;POINT (-38.462412 -3.679312)'))) / (select extract(epoch from '2026-07-07 05:37:55'::timestamp) - extract(epoch from '2026-07-07 05:37: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.462331 -3.679258)', '2026-07-07 05:38:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462412 -3.679312)'), GeomFromEWKT('SRID=4674;POINT (-38.462331 -3.679258)'))) / (select extract(epoch from '2026-07-07 05:38:00'::timestamp) - extract(epoch from '2026-07-07 05:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462412 -3.679312)'), GeomFromEWKT('SRID=4674;POINT (-38.462331 -3.679258)'))) / (select extract(epoch from '2026-07-07 05:38:00'::timestamp) - extract(epoch from '2026-07-07 05:37: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.462256 -3.679192)', '2026-07-07 05:38:05', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462331 -3.679258)'), GeomFromEWKT('SRID=4674;POINT (-38.462256 -3.679192)'))) / (select extract(epoch from '2026-07-07 05:38:05'::timestamp) - extract(epoch from '2026-07-07 05:38:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462331 -3.679258)'), GeomFromEWKT('SRID=4674;POINT (-38.462256 -3.679192)'))) / (select extract(epoch from '2026-07-07 05:38:05'::timestamp) - extract(epoch from '2026-07-07 05:38: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.462214 -3.67916)', '2026-07-07 05:38:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462256 -3.679192)'), GeomFromEWKT('SRID=4674;POINT (-38.462214 -3.67916)'))) / (select extract(epoch from '2026-07-07 05:38:08'::timestamp) - extract(epoch from '2026-07-07 05:38:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462256 -3.679192)'), GeomFromEWKT('SRID=4674;POINT (-38.462214 -3.67916)'))) / (select extract(epoch from '2026-07-07 05:38:08'::timestamp) - extract(epoch from '2026-07-07 05:38: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.462199 -3.679148)', '2026-07-07 05:38:09', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462214 -3.67916)'), GeomFromEWKT('SRID=4674;POINT (-38.462199 -3.679148)'))) / (select extract(epoch from '2026-07-07 05:38:09'::timestamp) - extract(epoch from '2026-07-07 05:38:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462214 -3.67916)'), GeomFromEWKT('SRID=4674;POINT (-38.462199 -3.679148)'))) / (select extract(epoch from '2026-07-07 05:38:09'::timestamp) - extract(epoch from '2026-07-07 05:38: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.462107 -3.679089)', '2026-07-07 05:38:15', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462199 -3.679148)'), GeomFromEWKT('SRID=4674;POINT (-38.462107 -3.679089)'))) / (select extract(epoch from '2026-07-07 05:38:15'::timestamp) - extract(epoch from '2026-07-07 05:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462199 -3.679148)'), GeomFromEWKT('SRID=4674;POINT (-38.462107 -3.679089)'))) / (select extract(epoch from '2026-07-07 05:38:15'::timestamp) - extract(epoch from '2026-07-07 05:38: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.462012 -3.679033)', '2026-07-07 05:38:21', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462107 -3.679089)'), GeomFromEWKT('SRID=4674;POINT (-38.462012 -3.679033)'))) / (select extract(epoch from '2026-07-07 05:38:21'::timestamp) - extract(epoch from '2026-07-07 05:38:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462107 -3.679089)'), GeomFromEWKT('SRID=4674;POINT (-38.462012 -3.679033)'))) / (select extract(epoch from '2026-07-07 05:38:21'::timestamp) - extract(epoch from '2026-07-07 05:38: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.461944 -3.678994)', '2026-07-07 05:38:25', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462012 -3.679033)'), GeomFromEWKT('SRID=4674;POINT (-38.461944 -3.678994)'))) / (select extract(epoch from '2026-07-07 05:38:25'::timestamp) - extract(epoch from '2026-07-07 05:38:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462012 -3.679033)'), GeomFromEWKT('SRID=4674;POINT (-38.461944 -3.678994)'))) / (select extract(epoch from '2026-07-07 05:38:25'::timestamp) - extract(epoch from '2026-07-07 05:38: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.461916 -3.678979)', '2026-07-07 05:38:27', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461944 -3.678994)'), GeomFromEWKT('SRID=4674;POINT (-38.461916 -3.678979)'))) / (select extract(epoch from '2026-07-07 05:38:27'::timestamp) - extract(epoch from '2026-07-07 05:38:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461944 -3.678994)'), GeomFromEWKT('SRID=4674;POINT (-38.461916 -3.678979)'))) / (select extract(epoch from '2026-07-07 05:38:27'::timestamp) - extract(epoch from '2026-07-07 05:38: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.461819 -3.67892)', '2026-07-07 05:38:33', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461916 -3.678979)'), GeomFromEWKT('SRID=4674;POINT (-38.461819 -3.67892)'))) / (select extract(epoch from '2026-07-07 05:38:33'::timestamp) - extract(epoch from '2026-07-07 05:38:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461916 -3.678979)'), GeomFromEWKT('SRID=4674;POINT (-38.461819 -3.67892)'))) / (select extract(epoch from '2026-07-07 05:38:33'::timestamp) - extract(epoch from '2026-07-07 05:38: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.461727 -3.678869)', '2026-07-07 05:38:38', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461819 -3.67892)'), GeomFromEWKT('SRID=4674;POINT (-38.461727 -3.678869)'))) / (select extract(epoch from '2026-07-07 05:38:38'::timestamp) - extract(epoch from '2026-07-07 05:38:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461819 -3.67892)'), GeomFromEWKT('SRID=4674;POINT (-38.461727 -3.678869)'))) / (select extract(epoch from '2026-07-07 05:38:38'::timestamp) - extract(epoch from '2026-07-07 05:38: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.461627 -3.678799)', '2026-07-07 05:38:44', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461727 -3.678869)'), GeomFromEWKT('SRID=4674;POINT (-38.461627 -3.678799)'))) / (select extract(epoch from '2026-07-07 05:38:44'::timestamp) - extract(epoch from '2026-07-07 05:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461727 -3.678869)'), GeomFromEWKT('SRID=4674;POINT (-38.461627 -3.678799)'))) / (select extract(epoch from '2026-07-07 05:38:44'::timestamp) - extract(epoch from '2026-07-07 05:38: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.46153 -3.678758)', '2026-07-07 05:38:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461627 -3.678799)'), GeomFromEWKT('SRID=4674;POINT (-38.46153 -3.678758)'))) / (select extract(epoch from '2026-07-07 05:38:50'::timestamp) - extract(epoch from '2026-07-07 05:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461627 -3.678799)'), GeomFromEWKT('SRID=4674;POINT (-38.46153 -3.678758)'))) / (select extract(epoch from '2026-07-07 05:38:50'::timestamp) - extract(epoch from '2026-07-07 05:38: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.461443 -3.678749)', '2026-07-07 05:38:55', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46153 -3.678758)'), GeomFromEWKT('SRID=4674;POINT (-38.461443 -3.678749)'))) / (select extract(epoch from '2026-07-07 05:38:55'::timestamp) - extract(epoch from '2026-07-07 05:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46153 -3.678758)'), GeomFromEWKT('SRID=4674;POINT (-38.461443 -3.678749)'))) / (select extract(epoch from '2026-07-07 05:38:55'::timestamp) - extract(epoch from '2026-07-07 05:38: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.461387 -3.678738)', '2026-07-07 05:38:58', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461443 -3.678749)'), GeomFromEWKT('SRID=4674;POINT (-38.461387 -3.678738)'))) / (select extract(epoch from '2026-07-07 05:38:58'::timestamp) - extract(epoch from '2026-07-07 05:38:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461443 -3.678749)'), GeomFromEWKT('SRID=4674;POINT (-38.461387 -3.678738)'))) / (select extract(epoch from '2026-07-07 05:38:58'::timestamp) - extract(epoch from '2026-07-07 05:38: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.461342 -3.678724)', '2026-07-07 05:39:01', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461387 -3.678738)'), GeomFromEWKT('SRID=4674;POINT (-38.461342 -3.678724)'))) / (select extract(epoch from '2026-07-07 05:39:01'::timestamp) - extract(epoch from '2026-07-07 05:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461387 -3.678738)'), GeomFromEWKT('SRID=4674;POINT (-38.461342 -3.678724)'))) / (select extract(epoch from '2026-07-07 05:39:01'::timestamp) - extract(epoch from '2026-07-07 05:38: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.46124 -3.678679)', '2026-07-07 05:39:08', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461342 -3.678724)'), GeomFromEWKT('SRID=4674;POINT (-38.46124 -3.678679)'))) / (select extract(epoch from '2026-07-07 05:39:08'::timestamp) - extract(epoch from '2026-07-07 05:39:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461342 -3.678724)'), GeomFromEWKT('SRID=4674;POINT (-38.46124 -3.678679)'))) / (select extract(epoch from '2026-07-07 05:39:08'::timestamp) - extract(epoch from '2026-07-07 05:39: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.461161 -3.678664)', '2026-07-07 05:39:13', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46124 -3.678679)'), GeomFromEWKT('SRID=4674;POINT (-38.461161 -3.678664)'))) / (select extract(epoch from '2026-07-07 05:39:13'::timestamp) - extract(epoch from '2026-07-07 05:39:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46124 -3.678679)'), GeomFromEWKT('SRID=4674;POINT (-38.461161 -3.678664)'))) / (select extract(epoch from '2026-07-07 05:39:13'::timestamp) - extract(epoch from '2026-07-07 05:39: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.461082 -3.678638)', '2026-07-07 05:39:18', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461161 -3.678664)'), GeomFromEWKT('SRID=4674;POINT (-38.461082 -3.678638)'))) / (select extract(epoch from '2026-07-07 05:39:18'::timestamp) - extract(epoch from '2026-07-07 05:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461161 -3.678664)'), GeomFromEWKT('SRID=4674;POINT (-38.461082 -3.678638)'))) / (select extract(epoch from '2026-07-07 05:39:18'::timestamp) - extract(epoch from '2026-07-07 05:39: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.460985 -3.678588)', '2026-07-07 05:39:24', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461082 -3.678638)'), GeomFromEWKT('SRID=4674;POINT (-38.460985 -3.678588)'))) / (select extract(epoch from '2026-07-07 05:39:24'::timestamp) - extract(epoch from '2026-07-07 05:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461082 -3.678638)'), GeomFromEWKT('SRID=4674;POINT (-38.460985 -3.678588)'))) / (select extract(epoch from '2026-07-07 05:39:24'::timestamp) - extract(epoch from '2026-07-07 05:39: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.460885 -3.678519)', '2026-07-07 05:39:30', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460985 -3.678588)'), GeomFromEWKT('SRID=4674;POINT (-38.460885 -3.678519)'))) / (select extract(epoch from '2026-07-07 05:39:30'::timestamp) - extract(epoch from '2026-07-07 05:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460985 -3.678588)'), GeomFromEWKT('SRID=4674;POINT (-38.460885 -3.678519)'))) / (select extract(epoch from '2026-07-07 05:39:30'::timestamp) - extract(epoch from '2026-07-07 05:39: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.46081 -3.678468)', '2026-07-07 05:39:35', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460885 -3.678519)'), GeomFromEWKT('SRID=4674;POINT (-38.46081 -3.678468)'))) / (select extract(epoch from '2026-07-07 05:39:35'::timestamp) - extract(epoch from '2026-07-07 05:39:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460885 -3.678519)'), GeomFromEWKT('SRID=4674;POINT (-38.46081 -3.678468)'))) / (select extract(epoch from '2026-07-07 05:39:35'::timestamp) - extract(epoch from '2026-07-07 05:39: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.460719 -3.67842)', '2026-07-07 05:39:41', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46081 -3.678468)'), GeomFromEWKT('SRID=4674;POINT (-38.460719 -3.67842)'))) / (select extract(epoch from '2026-07-07 05:39:41'::timestamp) - extract(epoch from '2026-07-07 05:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46081 -3.678468)'), GeomFromEWKT('SRID=4674;POINT (-38.460719 -3.67842)'))) / (select extract(epoch from '2026-07-07 05:39:41'::timestamp) - extract(epoch from '2026-07-07 05:39: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.460701 -3.678413)', '2026-07-07 05:39:42', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460719 -3.67842)'), GeomFromEWKT('SRID=4674;POINT (-38.460701 -3.678413)'))) / (select extract(epoch from '2026-07-07 05:39:42'::timestamp) - extract(epoch from '2026-07-07 05:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460719 -3.67842)'), GeomFromEWKT('SRID=4674;POINT (-38.460701 -3.678413)'))) / (select extract(epoch from '2026-07-07 05:39:42'::timestamp) - extract(epoch from '2026-07-07 05:39: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.460631 -3.678386)', '2026-07-07 05:39:46', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460701 -3.678413)'), GeomFromEWKT('SRID=4674;POINT (-38.460631 -3.678386)'))) / (select extract(epoch from '2026-07-07 05:39:46'::timestamp) - extract(epoch from '2026-07-07 05:39:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460701 -3.678413)'), GeomFromEWKT('SRID=4674;POINT (-38.460631 -3.678386)'))) / (select extract(epoch from '2026-07-07 05:39:46'::timestamp) - extract(epoch from '2026-07-07 05:39: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.460526 -3.67834)', '2026-07-07 05:39:52', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460631 -3.678386)'), GeomFromEWKT('SRID=4674;POINT (-38.460526 -3.67834)'))) / (select extract(epoch from '2026-07-07 05:39:52'::timestamp) - extract(epoch from '2026-07-07 05:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460631 -3.678386)'), GeomFromEWKT('SRID=4674;POINT (-38.460526 -3.67834)'))) / (select extract(epoch from '2026-07-07 05:39:52'::timestamp) - extract(epoch from '2026-07-07 05:39: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.460438 -3.678301)', '2026-07-07 05:39:57', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460526 -3.67834)'), GeomFromEWKT('SRID=4674;POINT (-38.460438 -3.678301)'))) / (select extract(epoch from '2026-07-07 05:39:57'::timestamp) - extract(epoch from '2026-07-07 05:39:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460526 -3.67834)'), GeomFromEWKT('SRID=4674;POINT (-38.460438 -3.678301)'))) / (select extract(epoch from '2026-07-07 05:39:57'::timestamp) - extract(epoch from '2026-07-07 05:39:52'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
