 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.533966 -3.612609)', '2026-07-18 17:50:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533962 -3.612598)'), GeomFromEWKT('SRID=4674;POINT (-38.533966 -3.612609)'))) / (select extract(epoch from '2026-07-18 17:50:37'::timestamp) - extract(epoch from '2026-07-18 17:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533962 -3.612598)'), GeomFromEWKT('SRID=4674;POINT (-38.533966 -3.612609)'))) / (select extract(epoch from '2026-07-18 17:50:37'::timestamp) - extract(epoch from '2026-07-18 17:50:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.533987 -3.612655)', '2026-07-18 17:50:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533966 -3.612609)'), GeomFromEWKT('SRID=4674;POINT (-38.533987 -3.612655)'))) / (select extract(epoch from '2026-07-18 17:50:40'::timestamp) - extract(epoch from '2026-07-18 17:50:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533966 -3.612609)'), GeomFromEWKT('SRID=4674;POINT (-38.533987 -3.612655)'))) / (select extract(epoch from '2026-07-18 17:50:40'::timestamp) - extract(epoch from '2026-07-18 17:50:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534004 -3.612739)', '2026-07-18 17:50:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533987 -3.612655)'), GeomFromEWKT('SRID=4674;POINT (-38.534004 -3.612739)'))) / (select extract(epoch from '2026-07-18 17:50:45'::timestamp) - extract(epoch from '2026-07-18 17:50:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533987 -3.612655)'), GeomFromEWKT('SRID=4674;POINT (-38.534004 -3.612739)'))) / (select extract(epoch from '2026-07-18 17:50:45'::timestamp) - extract(epoch from '2026-07-18 17:50:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534035 -3.612848)', '2026-07-18 17:50:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534004 -3.612739)'), GeomFromEWKT('SRID=4674;POINT (-38.534035 -3.612848)'))) / (select extract(epoch from '2026-07-18 17:50:51'::timestamp) - extract(epoch from '2026-07-18 17:50:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534004 -3.612739)'), GeomFromEWKT('SRID=4674;POINT (-38.534035 -3.612848)'))) / (select extract(epoch from '2026-07-18 17:50:51'::timestamp) - extract(epoch from '2026-07-18 17:50:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534034 -3.612864)', '2026-07-18 17:50:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534035 -3.612848)'), GeomFromEWKT('SRID=4674;POINT (-38.534034 -3.612864)'))) / (select extract(epoch from '2026-07-18 17:50:52'::timestamp) - extract(epoch from '2026-07-18 17:50:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534035 -3.612848)'), GeomFromEWKT('SRID=4674;POINT (-38.534034 -3.612864)'))) / (select extract(epoch from '2026-07-18 17:50:52'::timestamp) - extract(epoch from '2026-07-18 17:50:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534037 -3.612878)', '2026-07-18 17:50:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534034 -3.612864)'), GeomFromEWKT('SRID=4674;POINT (-38.534037 -3.612878)'))) / (select extract(epoch from '2026-07-18 17:50:53'::timestamp) - extract(epoch from '2026-07-18 17:50:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534034 -3.612864)'), GeomFromEWKT('SRID=4674;POINT (-38.534037 -3.612878)'))) / (select extract(epoch from '2026-07-18 17:50:53'::timestamp) - extract(epoch from '2026-07-18 17:50:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534065 -3.612929)', '2026-07-18 17:50:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534037 -3.612878)'), GeomFromEWKT('SRID=4674;POINT (-38.534065 -3.612929)'))) / (select extract(epoch from '2026-07-18 17:50:56'::timestamp) - extract(epoch from '2026-07-18 17:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534037 -3.612878)'), GeomFromEWKT('SRID=4674;POINT (-38.534065 -3.612929)'))) / (select extract(epoch from '2026-07-18 17:50:56'::timestamp) - extract(epoch from '2026-07-18 17:50:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534079 -3.613001)', '2026-07-18 17:51:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534065 -3.612929)'), GeomFromEWKT('SRID=4674;POINT (-38.534079 -3.613001)'))) / (select extract(epoch from '2026-07-18 17:51:01'::timestamp) - extract(epoch from '2026-07-18 17:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534065 -3.612929)'), GeomFromEWKT('SRID=4674;POINT (-38.534079 -3.613001)'))) / (select extract(epoch from '2026-07-18 17:51:01'::timestamp) - extract(epoch from '2026-07-18 17:50:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.53411 -3.613116)', '2026-07-18 17:51:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534079 -3.613001)'), GeomFromEWKT('SRID=4674;POINT (-38.53411 -3.613116)'))) / (select extract(epoch from '2026-07-18 17:51:08'::timestamp) - extract(epoch from '2026-07-18 17:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534079 -3.613001)'), GeomFromEWKT('SRID=4674;POINT (-38.53411 -3.613116)'))) / (select extract(epoch from '2026-07-18 17:51:08'::timestamp) - extract(epoch from '2026-07-18 17:51:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534126 -3.613195)', '2026-07-18 17:51:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53411 -3.613116)'), GeomFromEWKT('SRID=4674;POINT (-38.534126 -3.613195)'))) / (select extract(epoch from '2026-07-18 17:51:12'::timestamp) - extract(epoch from '2026-07-18 17:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53411 -3.613116)'), GeomFromEWKT('SRID=4674;POINT (-38.534126 -3.613195)'))) / (select extract(epoch from '2026-07-18 17:51:12'::timestamp) - extract(epoch from '2026-07-18 17:51:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534136 -3.613212)', '2026-07-18 17:51:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534126 -3.613195)'), GeomFromEWKT('SRID=4674;POINT (-38.534136 -3.613212)'))) / (select extract(epoch from '2026-07-18 17:51:13'::timestamp) - extract(epoch from '2026-07-18 17:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534126 -3.613195)'), GeomFromEWKT('SRID=4674;POINT (-38.534136 -3.613212)'))) / (select extract(epoch from '2026-07-18 17:51:13'::timestamp) - extract(epoch from '2026-07-18 17:51:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534157 -3.613294)', '2026-07-18 17:51:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534136 -3.613212)'), GeomFromEWKT('SRID=4674;POINT (-38.534157 -3.613294)'))) / (select extract(epoch from '2026-07-18 17:51:18'::timestamp) - extract(epoch from '2026-07-18 17:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534136 -3.613212)'), GeomFromEWKT('SRID=4674;POINT (-38.534157 -3.613294)'))) / (select extract(epoch from '2026-07-18 17:51:18'::timestamp) - extract(epoch from '2026-07-18 17:51:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534163 -3.61331)', '2026-07-18 17:51:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534157 -3.613294)'), GeomFromEWKT('SRID=4674;POINT (-38.534163 -3.61331)'))) / (select extract(epoch from '2026-07-18 17:51:19'::timestamp) - extract(epoch from '2026-07-18 17:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534157 -3.613294)'), GeomFromEWKT('SRID=4674;POINT (-38.534163 -3.61331)'))) / (select extract(epoch from '2026-07-18 17:51:19'::timestamp) - extract(epoch from '2026-07-18 17:51:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534182 -3.613371)', '2026-07-18 17:51:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534163 -3.61331)'), GeomFromEWKT('SRID=4674;POINT (-38.534182 -3.613371)'))) / (select extract(epoch from '2026-07-18 17:51:23'::timestamp) - extract(epoch from '2026-07-18 17:51:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534163 -3.61331)'), GeomFromEWKT('SRID=4674;POINT (-38.534182 -3.613371)'))) / (select extract(epoch from '2026-07-18 17:51:23'::timestamp) - extract(epoch from '2026-07-18 17:51:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534212 -3.613464)', '2026-07-18 17:51:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534182 -3.613371)'), GeomFromEWKT('SRID=4674;POINT (-38.534212 -3.613464)'))) / (select extract(epoch from '2026-07-18 17:51:29'::timestamp) - extract(epoch from '2026-07-18 17:51:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534182 -3.613371)'), GeomFromEWKT('SRID=4674;POINT (-38.534212 -3.613464)'))) / (select extract(epoch from '2026-07-18 17:51:29'::timestamp) - extract(epoch from '2026-07-18 17:51:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.53421 -3.613499)', '2026-07-18 17:51:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534212 -3.613464)'), GeomFromEWKT('SRID=4674;POINT (-38.53421 -3.613499)'))) / (select extract(epoch from '2026-07-18 17:51:31'::timestamp) - extract(epoch from '2026-07-18 17:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534212 -3.613464)'), GeomFromEWKT('SRID=4674;POINT (-38.53421 -3.613499)'))) / (select extract(epoch from '2026-07-18 17:51:31'::timestamp) - extract(epoch from '2026-07-18 17:51:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.53423 -3.613538)', '2026-07-18 17:51:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53421 -3.613499)'), GeomFromEWKT('SRID=4674;POINT (-38.53423 -3.613538)'))) / (select extract(epoch from '2026-07-18 17:51:34'::timestamp) - extract(epoch from '2026-07-18 17:51:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53421 -3.613499)'), GeomFromEWKT('SRID=4674;POINT (-38.53423 -3.613538)'))) / (select extract(epoch from '2026-07-18 17:51:34'::timestamp) - extract(epoch from '2026-07-18 17:51:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534243 -3.613624)', '2026-07-18 17:51:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53423 -3.613538)'), GeomFromEWKT('SRID=4674;POINT (-38.534243 -3.613624)'))) / (select extract(epoch from '2026-07-18 17:51:40'::timestamp) - extract(epoch from '2026-07-18 17:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53423 -3.613538)'), GeomFromEWKT('SRID=4674;POINT (-38.534243 -3.613624)'))) / (select extract(epoch from '2026-07-18 17:51:40'::timestamp) - extract(epoch from '2026-07-18 17:51:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534259 -3.613693)', '2026-07-18 17:51:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534243 -3.613624)'), GeomFromEWKT('SRID=4674;POINT (-38.534259 -3.613693)'))) / (select extract(epoch from '2026-07-18 17:51:44'::timestamp) - extract(epoch from '2026-07-18 17:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534243 -3.613624)'), GeomFromEWKT('SRID=4674;POINT (-38.534259 -3.613693)'))) / (select extract(epoch from '2026-07-18 17:51:44'::timestamp) - extract(epoch from '2026-07-18 17:51:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534271 -3.613708)', '2026-07-18 17:51:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534259 -3.613693)'), GeomFromEWKT('SRID=4674;POINT (-38.534271 -3.613708)'))) / (select extract(epoch from '2026-07-18 17:51:45'::timestamp) - extract(epoch from '2026-07-18 17:51:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534259 -3.613693)'), GeomFromEWKT('SRID=4674;POINT (-38.534271 -3.613708)'))) / (select extract(epoch from '2026-07-18 17:51:45'::timestamp) - extract(epoch from '2026-07-18 17:51:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534278 -3.613725)', '2026-07-18 17:51:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534271 -3.613708)'), GeomFromEWKT('SRID=4674;POINT (-38.534278 -3.613725)'))) / (select extract(epoch from '2026-07-18 17:51:46'::timestamp) - extract(epoch from '2026-07-18 17:51:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534271 -3.613708)'), GeomFromEWKT('SRID=4674;POINT (-38.534278 -3.613725)'))) / (select extract(epoch from '2026-07-18 17:51:46'::timestamp) - extract(epoch from '2026-07-18 17:51:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534283 -3.613785)', '2026-07-18 17:51:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534278 -3.613725)'), GeomFromEWKT('SRID=4674;POINT (-38.534283 -3.613785)'))) / (select extract(epoch from '2026-07-18 17:51:49'::timestamp) - extract(epoch from '2026-07-18 17:51:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534278 -3.613725)'), GeomFromEWKT('SRID=4674;POINT (-38.534283 -3.613785)'))) / (select extract(epoch from '2026-07-18 17:51:49'::timestamp) - extract(epoch from '2026-07-18 17:51:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534307 -3.613877)', '2026-07-18 17:51:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534283 -3.613785)'), GeomFromEWKT('SRID=4674;POINT (-38.534307 -3.613877)'))) / (select extract(epoch from '2026-07-18 17:51:54'::timestamp) - extract(epoch from '2026-07-18 17:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534283 -3.613785)'), GeomFromEWKT('SRID=4674;POINT (-38.534307 -3.613877)'))) / (select extract(epoch from '2026-07-18 17:51:54'::timestamp) - extract(epoch from '2026-07-18 17:51:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534325 -3.61394)', '2026-07-18 17:51:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534307 -3.613877)'), GeomFromEWKT('SRID=4674;POINT (-38.534325 -3.61394)'))) / (select extract(epoch from '2026-07-18 17:51:58'::timestamp) - extract(epoch from '2026-07-18 17:51:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534307 -3.613877)'), GeomFromEWKT('SRID=4674;POINT (-38.534325 -3.61394)'))) / (select extract(epoch from '2026-07-18 17:51:58'::timestamp) - extract(epoch from '2026-07-18 17:51:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534322 -3.613955)', '2026-07-18 17:51:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534325 -3.61394)'), GeomFromEWKT('SRID=4674;POINT (-38.534322 -3.613955)'))) / (select extract(epoch from '2026-07-18 17:51:59'::timestamp) - extract(epoch from '2026-07-18 17:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534325 -3.61394)'), GeomFromEWKT('SRID=4674;POINT (-38.534322 -3.613955)'))) / (select extract(epoch from '2026-07-18 17:51:59'::timestamp) - extract(epoch from '2026-07-18 17:51:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534325 -3.613986)', '2026-07-18 17:52:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534322 -3.613955)'), GeomFromEWKT('SRID=4674;POINT (-38.534325 -3.613986)'))) / (select extract(epoch from '2026-07-18 17:52:01'::timestamp) - extract(epoch from '2026-07-18 17:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534322 -3.613955)'), GeomFromEWKT('SRID=4674;POINT (-38.534325 -3.613986)'))) / (select extract(epoch from '2026-07-18 17:52:01'::timestamp) - extract(epoch from '2026-07-18 17:51:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534339 -3.61403)', '2026-07-18 17:52:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534325 -3.613986)'), GeomFromEWKT('SRID=4674;POINT (-38.534339 -3.61403)'))) / (select extract(epoch from '2026-07-18 17:52:04'::timestamp) - extract(epoch from '2026-07-18 17:52:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534325 -3.613986)'), GeomFromEWKT('SRID=4674;POINT (-38.534339 -3.61403)'))) / (select extract(epoch from '2026-07-18 17:52:04'::timestamp) - extract(epoch from '2026-07-18 17:52:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534345 -3.614067)', '2026-07-18 17:52:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534339 -3.61403)'), GeomFromEWKT('SRID=4674;POINT (-38.534345 -3.614067)'))) / (select extract(epoch from '2026-07-18 17:52:07'::timestamp) - extract(epoch from '2026-07-18 17:52:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534339 -3.61403)'), GeomFromEWKT('SRID=4674;POINT (-38.534345 -3.614067)'))) / (select extract(epoch from '2026-07-18 17:52:07'::timestamp) - extract(epoch from '2026-07-18 17:52:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534363 -3.614102)', '2026-07-18 17:52:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534345 -3.614067)'), GeomFromEWKT('SRID=4674;POINT (-38.534363 -3.614102)'))) / (select extract(epoch from '2026-07-18 17:52:10'::timestamp) - extract(epoch from '2026-07-18 17:52:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534345 -3.614067)'), GeomFromEWKT('SRID=4674;POINT (-38.534363 -3.614102)'))) / (select extract(epoch from '2026-07-18 17:52:10'::timestamp) - extract(epoch from '2026-07-18 17:52:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534364 -3.614117)', '2026-07-18 17:52:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534363 -3.614102)'), GeomFromEWKT('SRID=4674;POINT (-38.534364 -3.614117)'))) / (select extract(epoch from '2026-07-18 17:52:11'::timestamp) - extract(epoch from '2026-07-18 17:52:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534363 -3.614102)'), GeomFromEWKT('SRID=4674;POINT (-38.534364 -3.614117)'))) / (select extract(epoch from '2026-07-18 17:52:11'::timestamp) - extract(epoch from '2026-07-18 17:52:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.5344 -3.614226)', '2026-07-18 17:52:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534364 -3.614117)'), GeomFromEWKT('SRID=4674;POINT (-38.5344 -3.614226)'))) / (select extract(epoch from '2026-07-18 17:52:18'::timestamp) - extract(epoch from '2026-07-18 17:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534364 -3.614117)'), GeomFromEWKT('SRID=4674;POINT (-38.5344 -3.614226)'))) / (select extract(epoch from '2026-07-18 17:52:18'::timestamp) - extract(epoch from '2026-07-18 17:52:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534424 -3.614316)', '2026-07-18 17:52:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5344 -3.614226)'), GeomFromEWKT('SRID=4674;POINT (-38.534424 -3.614316)'))) / (select extract(epoch from '2026-07-18 17:52:24'::timestamp) - extract(epoch from '2026-07-18 17:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5344 -3.614226)'), GeomFromEWKT('SRID=4674;POINT (-38.534424 -3.614316)'))) / (select extract(epoch from '2026-07-18 17:52:24'::timestamp) - extract(epoch from '2026-07-18 17:52:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534451 -3.614395)', '2026-07-18 17:52:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534424 -3.614316)'), GeomFromEWKT('SRID=4674;POINT (-38.534451 -3.614395)'))) / (select extract(epoch from '2026-07-18 17:52:30'::timestamp) - extract(epoch from '2026-07-18 17:52:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534424 -3.614316)'), GeomFromEWKT('SRID=4674;POINT (-38.534451 -3.614395)'))) / (select extract(epoch from '2026-07-18 17:52:30'::timestamp) - extract(epoch from '2026-07-18 17:52:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534473 -3.614449)', '2026-07-18 17:52:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534451 -3.614395)'), GeomFromEWKT('SRID=4674;POINT (-38.534473 -3.614449)'))) / (select extract(epoch from '2026-07-18 17:52:34'::timestamp) - extract(epoch from '2026-07-18 17:52:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534451 -3.614395)'), GeomFromEWKT('SRID=4674;POINT (-38.534473 -3.614449)'))) / (select extract(epoch from '2026-07-18 17:52:34'::timestamp) - extract(epoch from '2026-07-18 17:52:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534482 -3.614465)', '2026-07-18 17:52:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534473 -3.614449)'), GeomFromEWKT('SRID=4674;POINT (-38.534482 -3.614465)'))) / (select extract(epoch from '2026-07-18 17:52:35'::timestamp) - extract(epoch from '2026-07-18 17:52:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534473 -3.614449)'), GeomFromEWKT('SRID=4674;POINT (-38.534482 -3.614465)'))) / (select extract(epoch from '2026-07-18 17:52:35'::timestamp) - extract(epoch from '2026-07-18 17:52:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.53449 -3.614491)', '2026-07-18 17:52:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534482 -3.614465)'), GeomFromEWKT('SRID=4674;POINT (-38.53449 -3.614491)'))) / (select extract(epoch from '2026-07-18 17:52:37'::timestamp) - extract(epoch from '2026-07-18 17:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534482 -3.614465)'), GeomFromEWKT('SRID=4674;POINT (-38.53449 -3.614491)'))) / (select extract(epoch from '2026-07-18 17:52:37'::timestamp) - extract(epoch from '2026-07-18 17:52:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534505 -3.614538)', '2026-07-18 17:52:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53449 -3.614491)'), GeomFromEWKT('SRID=4674;POINT (-38.534505 -3.614538)'))) / (select extract(epoch from '2026-07-18 17:52:40'::timestamp) - extract(epoch from '2026-07-18 17:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53449 -3.614491)'), GeomFromEWKT('SRID=4674;POINT (-38.534505 -3.614538)'))) / (select extract(epoch from '2026-07-18 17:52:40'::timestamp) - extract(epoch from '2026-07-18 17:52:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534538 -3.614625)', '2026-07-18 17:52:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534505 -3.614538)'), GeomFromEWKT('SRID=4674;POINT (-38.534538 -3.614625)'))) / (select extract(epoch from '2026-07-18 17:52:46'::timestamp) - extract(epoch from '2026-07-18 17:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534505 -3.614538)'), GeomFromEWKT('SRID=4674;POINT (-38.534538 -3.614625)'))) / (select extract(epoch from '2026-07-18 17:52:46'::timestamp) - extract(epoch from '2026-07-18 17:52:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534577 -3.614712)', '2026-07-18 17:52:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534538 -3.614625)'), GeomFromEWKT('SRID=4674;POINT (-38.534577 -3.614712)'))) / (select extract(epoch from '2026-07-18 17:52:51'::timestamp) - extract(epoch from '2026-07-18 17:52:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534538 -3.614625)'), GeomFromEWKT('SRID=4674;POINT (-38.534577 -3.614712)'))) / (select extract(epoch from '2026-07-18 17:52:51'::timestamp) - extract(epoch from '2026-07-18 17:52:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534603 -3.614811)', '2026-07-18 17:52:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534577 -3.614712)'), GeomFromEWKT('SRID=4674;POINT (-38.534603 -3.614811)'))) / (select extract(epoch from '2026-07-18 17:52:59'::timestamp) - extract(epoch from '2026-07-18 17:52:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534577 -3.614712)'), GeomFromEWKT('SRID=4674;POINT (-38.534603 -3.614811)'))) / (select extract(epoch from '2026-07-18 17:52:59'::timestamp) - extract(epoch from '2026-07-18 17:52:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534613 -3.614838)', '2026-07-18 17:53:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534603 -3.614811)'), GeomFromEWKT('SRID=4674;POINT (-38.534613 -3.614838)'))) / (select extract(epoch from '2026-07-18 17:53:01'::timestamp) - extract(epoch from '2026-07-18 17:52:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534603 -3.614811)'), GeomFromEWKT('SRID=4674;POINT (-38.534613 -3.614838)'))) / (select extract(epoch from '2026-07-18 17:53:01'::timestamp) - extract(epoch from '2026-07-18 17:52:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534636 -3.614875)', '2026-07-18 17:53:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534613 -3.614838)'), GeomFromEWKT('SRID=4674;POINT (-38.534636 -3.614875)'))) / (select extract(epoch from '2026-07-18 17:53:04'::timestamp) - extract(epoch from '2026-07-18 17:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534613 -3.614838)'), GeomFromEWKT('SRID=4674;POINT (-38.534636 -3.614875)'))) / (select extract(epoch from '2026-07-18 17:53:04'::timestamp) - extract(epoch from '2026-07-18 17:53:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534667 -3.614939)', '2026-07-18 17:53:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534636 -3.614875)'), GeomFromEWKT('SRID=4674;POINT (-38.534667 -3.614939)'))) / (select extract(epoch from '2026-07-18 17:53:09'::timestamp) - extract(epoch from '2026-07-18 17:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534636 -3.614875)'), GeomFromEWKT('SRID=4674;POINT (-38.534667 -3.614939)'))) / (select extract(epoch from '2026-07-18 17:53:09'::timestamp) - extract(epoch from '2026-07-18 17:53:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534723 -3.615044)', '2026-07-18 17:53:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534667 -3.614939)'), GeomFromEWKT('SRID=4674;POINT (-38.534723 -3.615044)'))) / (select extract(epoch from '2026-07-18 17:53:16'::timestamp) - extract(epoch from '2026-07-18 17:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534667 -3.614939)'), GeomFromEWKT('SRID=4674;POINT (-38.534723 -3.615044)'))) / (select extract(epoch from '2026-07-18 17:53:16'::timestamp) - extract(epoch from '2026-07-18 17:53:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534755 -3.615113)', '2026-07-18 17:53:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534723 -3.615044)'), GeomFromEWKT('SRID=4674;POINT (-38.534755 -3.615113)'))) / (select extract(epoch from '2026-07-18 17:53:21'::timestamp) - extract(epoch from '2026-07-18 17:53:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534723 -3.615044)'), GeomFromEWKT('SRID=4674;POINT (-38.534755 -3.615113)'))) / (select extract(epoch from '2026-07-18 17:53:21'::timestamp) - extract(epoch from '2026-07-18 17:53:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534763 -3.615139)', '2026-07-18 17:53:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534755 -3.615113)'), GeomFromEWKT('SRID=4674;POINT (-38.534763 -3.615139)'))) / (select extract(epoch from '2026-07-18 17:53:23'::timestamp) - extract(epoch from '2026-07-18 17:53:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534755 -3.615113)'), GeomFromEWKT('SRID=4674;POINT (-38.534763 -3.615139)'))) / (select extract(epoch from '2026-07-18 17:53:23'::timestamp) - extract(epoch from '2026-07-18 17:53:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534787 -3.615177)', '2026-07-18 17:53:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534763 -3.615139)'), GeomFromEWKT('SRID=4674;POINT (-38.534787 -3.615177)'))) / (select extract(epoch from '2026-07-18 17:53:26'::timestamp) - extract(epoch from '2026-07-18 17:53:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534763 -3.615139)'), GeomFromEWKT('SRID=4674;POINT (-38.534787 -3.615177)'))) / (select extract(epoch from '2026-07-18 17:53:26'::timestamp) - extract(epoch from '2026-07-18 17:53:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534819 -3.615247)', '2026-07-18 17:53:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534787 -3.615177)'), GeomFromEWKT('SRID=4674;POINT (-38.534819 -3.615247)'))) / (select extract(epoch from '2026-07-18 17:53:31'::timestamp) - extract(epoch from '2026-07-18 17:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534787 -3.615177)'), GeomFromEWKT('SRID=4674;POINT (-38.534819 -3.615247)'))) / (select extract(epoch from '2026-07-18 17:53:31'::timestamp) - extract(epoch from '2026-07-18 17:53:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534836 -3.615282)', '2026-07-18 17:53:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534819 -3.615247)'), GeomFromEWKT('SRID=4674;POINT (-38.534836 -3.615282)'))) / (select extract(epoch from '2026-07-18 17:53:33'::timestamp) - extract(epoch from '2026-07-18 17:53:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534819 -3.615247)'), GeomFromEWKT('SRID=4674;POINT (-38.534836 -3.615282)'))) / (select extract(epoch from '2026-07-18 17:53:33'::timestamp) - extract(epoch from '2026-07-18 17:53:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534842 -3.615317)', '2026-07-18 17:53:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534836 -3.615282)'), GeomFromEWKT('SRID=4674;POINT (-38.534842 -3.615317)'))) / (select extract(epoch from '2026-07-18 17:53:35'::timestamp) - extract(epoch from '2026-07-18 17:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534836 -3.615282)'), GeomFromEWKT('SRID=4674;POINT (-38.534842 -3.615317)'))) / (select extract(epoch from '2026-07-18 17:53:35'::timestamp) - extract(epoch from '2026-07-18 17:53:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.53485 -3.615332)', '2026-07-18 17:53:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534842 -3.615317)'), GeomFromEWKT('SRID=4674;POINT (-38.53485 -3.615332)'))) / (select extract(epoch from '2026-07-18 17:53:36'::timestamp) - extract(epoch from '2026-07-18 17:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534842 -3.615317)'), GeomFromEWKT('SRID=4674;POINT (-38.53485 -3.615332)'))) / (select extract(epoch from '2026-07-18 17:53:36'::timestamp) - extract(epoch from '2026-07-18 17:53:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534872 -3.615438)', '2026-07-18 17:53:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53485 -3.615332)'), GeomFromEWKT('SRID=4674;POINT (-38.534872 -3.615438)'))) / (select extract(epoch from '2026-07-18 17:53:42'::timestamp) - extract(epoch from '2026-07-18 17:53:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53485 -3.615332)'), GeomFromEWKT('SRID=4674;POINT (-38.534872 -3.615438)'))) / (select extract(epoch from '2026-07-18 17:53:42'::timestamp) - extract(epoch from '2026-07-18 17:53:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534893 -3.615555)', '2026-07-18 17:53:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534872 -3.615438)'), GeomFromEWKT('SRID=4674;POINT (-38.534893 -3.615555)'))) / (select extract(epoch from '2026-07-18 17:53:49'::timestamp) - extract(epoch from '2026-07-18 17:53:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534872 -3.615438)'), GeomFromEWKT('SRID=4674;POINT (-38.534893 -3.615555)'))) / (select extract(epoch from '2026-07-18 17:53:49'::timestamp) - extract(epoch from '2026-07-18 17:53:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534919 -3.615658)', '2026-07-18 17:53:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534893 -3.615555)'), GeomFromEWKT('SRID=4674;POINT (-38.534919 -3.615658)'))) / (select extract(epoch from '2026-07-18 17:53:55'::timestamp) - extract(epoch from '2026-07-18 17:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534893 -3.615555)'), GeomFromEWKT('SRID=4674;POINT (-38.534919 -3.615658)'))) / (select extract(epoch from '2026-07-18 17:53:55'::timestamp) - extract(epoch from '2026-07-18 17:53:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534925 -3.615672)', '2026-07-18 17:53:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534919 -3.615658)'), GeomFromEWKT('SRID=4674;POINT (-38.534925 -3.615672)'))) / (select extract(epoch from '2026-07-18 17:53:56'::timestamp) - extract(epoch from '2026-07-18 17:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534919 -3.615658)'), GeomFromEWKT('SRID=4674;POINT (-38.534925 -3.615672)'))) / (select extract(epoch from '2026-07-18 17:53:56'::timestamp) - extract(epoch from '2026-07-18 17:53:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534958 -3.615737)', '2026-07-18 17:54:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534925 -3.615672)'), GeomFromEWKT('SRID=4674;POINT (-38.534958 -3.615737)'))) / (select extract(epoch from '2026-07-18 17:54:00'::timestamp) - extract(epoch from '2026-07-18 17:53:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534925 -3.615672)'), GeomFromEWKT('SRID=4674;POINT (-38.534958 -3.615737)'))) / (select extract(epoch from '2026-07-18 17:54:00'::timestamp) - extract(epoch from '2026-07-18 17:53:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534989 -3.615829)', '2026-07-18 17:54:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534958 -3.615737)'), GeomFromEWKT('SRID=4674;POINT (-38.534989 -3.615829)'))) / (select extract(epoch from '2026-07-18 17:54:06'::timestamp) - extract(epoch from '2026-07-18 17:54:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534958 -3.615737)'), GeomFromEWKT('SRID=4674;POINT (-38.534989 -3.615829)'))) / (select extract(epoch from '2026-07-18 17:54:06'::timestamp) - extract(epoch from '2026-07-18 17:54:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534998 -3.615907)', '2026-07-18 17:54:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534989 -3.615829)'), GeomFromEWKT('SRID=4674;POINT (-38.534998 -3.615907)'))) / (select extract(epoch from '2026-07-18 17:54:11'::timestamp) - extract(epoch from '2026-07-18 17:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534989 -3.615829)'), GeomFromEWKT('SRID=4674;POINT (-38.534998 -3.615907)'))) / (select extract(epoch from '2026-07-18 17:54:11'::timestamp) - extract(epoch from '2026-07-18 17:54:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535021 -3.615954)', '2026-07-18 17:54:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534998 -3.615907)'), GeomFromEWKT('SRID=4674;POINT (-38.535021 -3.615954)'))) / (select extract(epoch from '2026-07-18 17:54:14'::timestamp) - extract(epoch from '2026-07-18 17:54:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534998 -3.615907)'), GeomFromEWKT('SRID=4674;POINT (-38.535021 -3.615954)'))) / (select extract(epoch from '2026-07-18 17:54:14'::timestamp) - extract(epoch from '2026-07-18 17:54:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535028 -3.615982)', '2026-07-18 17:54:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535021 -3.615954)'), GeomFromEWKT('SRID=4674;POINT (-38.535028 -3.615982)'))) / (select extract(epoch from '2026-07-18 17:54:16'::timestamp) - extract(epoch from '2026-07-18 17:54:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535021 -3.615954)'), GeomFromEWKT('SRID=4674;POINT (-38.535028 -3.615982)'))) / (select extract(epoch from '2026-07-18 17:54:16'::timestamp) - extract(epoch from '2026-07-18 17:54:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535042 -3.616015)', '2026-07-18 17:54:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535028 -3.615982)'), GeomFromEWKT('SRID=4674;POINT (-38.535042 -3.616015)'))) / (select extract(epoch from '2026-07-18 17:54:18'::timestamp) - extract(epoch from '2026-07-18 17:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535028 -3.615982)'), GeomFromEWKT('SRID=4674;POINT (-38.535042 -3.616015)'))) / (select extract(epoch from '2026-07-18 17:54:18'::timestamp) - extract(epoch from '2026-07-18 17:54:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535041 -3.616045)', '2026-07-18 17:54:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535042 -3.616015)'), GeomFromEWKT('SRID=4674;POINT (-38.535041 -3.616045)'))) / (select extract(epoch from '2026-07-18 17:54:20'::timestamp) - extract(epoch from '2026-07-18 17:54:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535042 -3.616015)'), GeomFromEWKT('SRID=4674;POINT (-38.535041 -3.616045)'))) / (select extract(epoch from '2026-07-18 17:54:20'::timestamp) - extract(epoch from '2026-07-18 17:54:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535065 -3.616127)', '2026-07-18 17:54:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535041 -3.616045)'), GeomFromEWKT('SRID=4674;POINT (-38.535065 -3.616127)'))) / (select extract(epoch from '2026-07-18 17:54:25'::timestamp) - extract(epoch from '2026-07-18 17:54:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535041 -3.616045)'), GeomFromEWKT('SRID=4674;POINT (-38.535065 -3.616127)'))) / (select extract(epoch from '2026-07-18 17:54:25'::timestamp) - extract(epoch from '2026-07-18 17:54:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.53511 -3.616223)', '2026-07-18 17:54:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535065 -3.616127)'), GeomFromEWKT('SRID=4674;POINT (-38.53511 -3.616223)'))) / (select extract(epoch from '2026-07-18 17:54:31'::timestamp) - extract(epoch from '2026-07-18 17:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535065 -3.616127)'), GeomFromEWKT('SRID=4674;POINT (-38.53511 -3.616223)'))) / (select extract(epoch from '2026-07-18 17:54:31'::timestamp) - extract(epoch from '2026-07-18 17:54:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535124 -3.616306)', '2026-07-18 17:54:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53511 -3.616223)'), GeomFromEWKT('SRID=4674;POINT (-38.535124 -3.616306)'))) / (select extract(epoch from '2026-07-18 17:54:36'::timestamp) - extract(epoch from '2026-07-18 17:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53511 -3.616223)'), GeomFromEWKT('SRID=4674;POINT (-38.535124 -3.616306)'))) / (select extract(epoch from '2026-07-18 17:54:36'::timestamp) - extract(epoch from '2026-07-18 17:54:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535141 -3.616371)', '2026-07-18 17:54:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535124 -3.616306)'), GeomFromEWKT('SRID=4674;POINT (-38.535141 -3.616371)'))) / (select extract(epoch from '2026-07-18 17:54:40'::timestamp) - extract(epoch from '2026-07-18 17:54:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535124 -3.616306)'), GeomFromEWKT('SRID=4674;POINT (-38.535141 -3.616371)'))) / (select extract(epoch from '2026-07-18 17:54:40'::timestamp) - extract(epoch from '2026-07-18 17:54:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.53515 -3.616401)', '2026-07-18 17:54:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535141 -3.616371)'), GeomFromEWKT('SRID=4674;POINT (-38.53515 -3.616401)'))) / (select extract(epoch from '2026-07-18 17:54:42'::timestamp) - extract(epoch from '2026-07-18 17:54:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535141 -3.616371)'), GeomFromEWKT('SRID=4674;POINT (-38.53515 -3.616401)'))) / (select extract(epoch from '2026-07-18 17:54:42'::timestamp) - extract(epoch from '2026-07-18 17:54:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535166 -3.616478)', '2026-07-18 17:54:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53515 -3.616401)'), GeomFromEWKT('SRID=4674;POINT (-38.535166 -3.616478)'))) / (select extract(epoch from '2026-07-18 17:54:47'::timestamp) - extract(epoch from '2026-07-18 17:54:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53515 -3.616401)'), GeomFromEWKT('SRID=4674;POINT (-38.535166 -3.616478)'))) / (select extract(epoch from '2026-07-18 17:54:47'::timestamp) - extract(epoch from '2026-07-18 17:54:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535169 -3.616509)', '2026-07-18 17:54:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535166 -3.616478)'), GeomFromEWKT('SRID=4674;POINT (-38.535169 -3.616509)'))) / (select extract(epoch from '2026-07-18 17:54:49'::timestamp) - extract(epoch from '2026-07-18 17:54:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535166 -3.616478)'), GeomFromEWKT('SRID=4674;POINT (-38.535169 -3.616509)'))) / (select extract(epoch from '2026-07-18 17:54:49'::timestamp) - extract(epoch from '2026-07-18 17:54:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535196 -3.616611)', '2026-07-18 17:54:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535169 -3.616509)'), GeomFromEWKT('SRID=4674;POINT (-38.535196 -3.616611)'))) / (select extract(epoch from '2026-07-18 17:54:55'::timestamp) - extract(epoch from '2026-07-18 17:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535169 -3.616509)'), GeomFromEWKT('SRID=4674;POINT (-38.535196 -3.616611)'))) / (select extract(epoch from '2026-07-18 17:54:55'::timestamp) - extract(epoch from '2026-07-18 17:54:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535213 -3.616696)', '2026-07-18 17:55:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535196 -3.616611)'), GeomFromEWKT('SRID=4674;POINT (-38.535213 -3.616696)'))) / (select extract(epoch from '2026-07-18 17:55:00'::timestamp) - extract(epoch from '2026-07-18 17:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535196 -3.616611)'), GeomFromEWKT('SRID=4674;POINT (-38.535213 -3.616696)'))) / (select extract(epoch from '2026-07-18 17:55:00'::timestamp) - extract(epoch from '2026-07-18 17:54:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535223 -3.616788)', '2026-07-18 17:55:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535213 -3.616696)'), GeomFromEWKT('SRID=4674;POINT (-38.535223 -3.616788)'))) / (select extract(epoch from '2026-07-18 17:55:05'::timestamp) - extract(epoch from '2026-07-18 17:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535213 -3.616696)'), GeomFromEWKT('SRID=4674;POINT (-38.535223 -3.616788)'))) / (select extract(epoch from '2026-07-18 17:55:05'::timestamp) - extract(epoch from '2026-07-18 17:55:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535239 -3.616875)', '2026-07-18 17:55:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535223 -3.616788)'), GeomFromEWKT('SRID=4674;POINT (-38.535239 -3.616875)'))) / (select extract(epoch from '2026-07-18 17:55:10'::timestamp) - extract(epoch from '2026-07-18 17:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535223 -3.616788)'), GeomFromEWKT('SRID=4674;POINT (-38.535239 -3.616875)'))) / (select extract(epoch from '2026-07-18 17:55:10'::timestamp) - extract(epoch from '2026-07-18 17:55:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.53525 -3.616961)', '2026-07-18 17:55:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535239 -3.616875)'), GeomFromEWKT('SRID=4674;POINT (-38.53525 -3.616961)'))) / (select extract(epoch from '2026-07-18 17:55:17'::timestamp) - extract(epoch from '2026-07-18 17:55:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535239 -3.616875)'), GeomFromEWKT('SRID=4674;POINT (-38.53525 -3.616961)'))) / (select extract(epoch from '2026-07-18 17:55:17'::timestamp) - extract(epoch from '2026-07-18 17:55:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535261 -3.617022)', '2026-07-18 17:55:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53525 -3.616961)'), GeomFromEWKT('SRID=4674;POINT (-38.535261 -3.617022)'))) / (select extract(epoch from '2026-07-18 17:55:21'::timestamp) - extract(epoch from '2026-07-18 17:55:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53525 -3.616961)'), GeomFromEWKT('SRID=4674;POINT (-38.535261 -3.617022)'))) / (select extract(epoch from '2026-07-18 17:55:21'::timestamp) - extract(epoch from '2026-07-18 17:55:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.53528 -3.617051)', '2026-07-18 17:55:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535261 -3.617022)'), GeomFromEWKT('SRID=4674;POINT (-38.53528 -3.617051)'))) / (select extract(epoch from '2026-07-18 17:55:23'::timestamp) - extract(epoch from '2026-07-18 17:55:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535261 -3.617022)'), GeomFromEWKT('SRID=4674;POINT (-38.53528 -3.617051)'))) / (select extract(epoch from '2026-07-18 17:55:23'::timestamp) - extract(epoch from '2026-07-18 17:55:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535288 -3.617102)', '2026-07-18 17:55:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53528 -3.617051)'), GeomFromEWKT('SRID=4674;POINT (-38.535288 -3.617102)'))) / (select extract(epoch from '2026-07-18 17:55:26'::timestamp) - extract(epoch from '2026-07-18 17:55:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53528 -3.617051)'), GeomFromEWKT('SRID=4674;POINT (-38.535288 -3.617102)'))) / (select extract(epoch from '2026-07-18 17:55:26'::timestamp) - extract(epoch from '2026-07-18 17:55:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535294 -3.617111)', '2026-07-18 17:55:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535288 -3.617102)'), GeomFromEWKT('SRID=4674;POINT (-38.535294 -3.617111)'))) / (select extract(epoch from '2026-07-18 17:55:27'::timestamp) - extract(epoch from '2026-07-18 17:55:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535288 -3.617102)'), GeomFromEWKT('SRID=4674;POINT (-38.535294 -3.617111)'))) / (select extract(epoch from '2026-07-18 17:55:27'::timestamp) - extract(epoch from '2026-07-18 17:55:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535324 -3.617175)', '2026-07-18 17:55:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535294 -3.617111)'), GeomFromEWKT('SRID=4674;POINT (-38.535324 -3.617175)'))) / (select extract(epoch from '2026-07-18 17:55:33'::timestamp) - extract(epoch from '2026-07-18 17:55:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535294 -3.617111)'), GeomFromEWKT('SRID=4674;POINT (-38.535324 -3.617175)'))) / (select extract(epoch from '2026-07-18 17:55:33'::timestamp) - extract(epoch from '2026-07-18 17:55:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535339 -3.617206)', '2026-07-18 17:55:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535324 -3.617175)'), GeomFromEWKT('SRID=4674;POINT (-38.535339 -3.617206)'))) / (select extract(epoch from '2026-07-18 17:55:36'::timestamp) - extract(epoch from '2026-07-18 17:55:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535324 -3.617175)'), GeomFromEWKT('SRID=4674;POINT (-38.535339 -3.617206)'))) / (select extract(epoch from '2026-07-18 17:55:36'::timestamp) - extract(epoch from '2026-07-18 17:55:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535347 -3.617221)', '2026-07-18 17:55:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535339 -3.617206)'), GeomFromEWKT('SRID=4674;POINT (-38.535347 -3.617221)'))) / (select extract(epoch from '2026-07-18 17:55:38'::timestamp) - extract(epoch from '2026-07-18 17:55:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535339 -3.617206)'), GeomFromEWKT('SRID=4674;POINT (-38.535347 -3.617221)'))) / (select extract(epoch from '2026-07-18 17:55:38'::timestamp) - extract(epoch from '2026-07-18 17:55:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535384 -3.617293)', '2026-07-18 17:55:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535347 -3.617221)'), GeomFromEWKT('SRID=4674;POINT (-38.535384 -3.617293)'))) / (select extract(epoch from '2026-07-18 17:55:43'::timestamp) - extract(epoch from '2026-07-18 17:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535347 -3.617221)'), GeomFromEWKT('SRID=4674;POINT (-38.535384 -3.617293)'))) / (select extract(epoch from '2026-07-18 17:55:43'::timestamp) - extract(epoch from '2026-07-18 17:55:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535399 -3.617343)', '2026-07-18 17:55:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535384 -3.617293)'), GeomFromEWKT('SRID=4674;POINT (-38.535399 -3.617343)'))) / (select extract(epoch from '2026-07-18 17:55:46'::timestamp) - extract(epoch from '2026-07-18 17:55:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535384 -3.617293)'), GeomFromEWKT('SRID=4674;POINT (-38.535399 -3.617343)'))) / (select extract(epoch from '2026-07-18 17:55:46'::timestamp) - extract(epoch from '2026-07-18 17:55:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535422 -3.61737)', '2026-07-18 17:55:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535399 -3.617343)'), GeomFromEWKT('SRID=4674;POINT (-38.535422 -3.61737)'))) / (select extract(epoch from '2026-07-18 17:55:48'::timestamp) - extract(epoch from '2026-07-18 17:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535399 -3.617343)'), GeomFromEWKT('SRID=4674;POINT (-38.535422 -3.61737)'))) / (select extract(epoch from '2026-07-18 17:55:48'::timestamp) - extract(epoch from '2026-07-18 17:55:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535431 -3.617409)', '2026-07-18 17:55:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535422 -3.61737)'), GeomFromEWKT('SRID=4674;POINT (-38.535431 -3.617409)'))) / (select extract(epoch from '2026-07-18 17:55:51'::timestamp) - extract(epoch from '2026-07-18 17:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535422 -3.61737)'), GeomFromEWKT('SRID=4674;POINT (-38.535431 -3.617409)'))) / (select extract(epoch from '2026-07-18 17:55:51'::timestamp) - extract(epoch from '2026-07-18 17:55:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535441 -3.617421)', '2026-07-18 17:55:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535431 -3.617409)'), GeomFromEWKT('SRID=4674;POINT (-38.535441 -3.617421)'))) / (select extract(epoch from '2026-07-18 17:55:52'::timestamp) - extract(epoch from '2026-07-18 17:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535431 -3.617409)'), GeomFromEWKT('SRID=4674;POINT (-38.535441 -3.617421)'))) / (select extract(epoch from '2026-07-18 17:55:52'::timestamp) - extract(epoch from '2026-07-18 17:55:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535476 -3.617528)', '2026-07-18 17:55:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535441 -3.617421)'), GeomFromEWKT('SRID=4674;POINT (-38.535476 -3.617528)'))) / (select extract(epoch from '2026-07-18 17:55:59'::timestamp) - extract(epoch from '2026-07-18 17:55:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535441 -3.617421)'), GeomFromEWKT('SRID=4674;POINT (-38.535476 -3.617528)'))) / (select extract(epoch from '2026-07-18 17:55:59'::timestamp) - extract(epoch from '2026-07-18 17:55:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535498 -3.617615)', '2026-07-18 17:56:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535476 -3.617528)'), GeomFromEWKT('SRID=4674;POINT (-38.535498 -3.617615)'))) / (select extract(epoch from '2026-07-18 17:56:05'::timestamp) - extract(epoch from '2026-07-18 17:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535476 -3.617528)'), GeomFromEWKT('SRID=4674;POINT (-38.535498 -3.617615)'))) / (select extract(epoch from '2026-07-18 17:56:05'::timestamp) - extract(epoch from '2026-07-18 17:55:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535533 -3.617712)', '2026-07-18 17:56:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535498 -3.617615)'), GeomFromEWKT('SRID=4674;POINT (-38.535533 -3.617712)'))) / (select extract(epoch from '2026-07-18 17:56:11'::timestamp) - extract(epoch from '2026-07-18 17:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535498 -3.617615)'), GeomFromEWKT('SRID=4674;POINT (-38.535533 -3.617712)'))) / (select extract(epoch from '2026-07-18 17:56:11'::timestamp) - extract(epoch from '2026-07-18 17:56:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535578 -3.61783)', '2026-07-18 17:56:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535533 -3.617712)'), GeomFromEWKT('SRID=4674;POINT (-38.535578 -3.61783)'))) / (select extract(epoch from '2026-07-18 17:56:18'::timestamp) - extract(epoch from '2026-07-18 17:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535533 -3.617712)'), GeomFromEWKT('SRID=4674;POINT (-38.535578 -3.61783)'))) / (select extract(epoch from '2026-07-18 17:56:18'::timestamp) - extract(epoch from '2026-07-18 17:56:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535624 -3.617948)', '2026-07-18 17:56:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535578 -3.61783)'), GeomFromEWKT('SRID=4674;POINT (-38.535624 -3.617948)'))) / (select extract(epoch from '2026-07-18 17:56:25'::timestamp) - extract(epoch from '2026-07-18 17:56:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535578 -3.61783)'), GeomFromEWKT('SRID=4674;POINT (-38.535624 -3.617948)'))) / (select extract(epoch from '2026-07-18 17:56:25'::timestamp) - extract(epoch from '2026-07-18 17:56:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.53564 -3.618026)', '2026-07-18 17:56:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535624 -3.617948)'), GeomFromEWKT('SRID=4674;POINT (-38.53564 -3.618026)'))) / (select extract(epoch from '2026-07-18 17:56:30'::timestamp) - extract(epoch from '2026-07-18 17:56:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535624 -3.617948)'), GeomFromEWKT('SRID=4674;POINT (-38.53564 -3.618026)'))) / (select extract(epoch from '2026-07-18 17:56:30'::timestamp) - extract(epoch from '2026-07-18 17:56:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535666 -3.618111)', '2026-07-18 17:56:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53564 -3.618026)'), GeomFromEWKT('SRID=4674;POINT (-38.535666 -3.618111)'))) / (select extract(epoch from '2026-07-18 17:56:35'::timestamp) - extract(epoch from '2026-07-18 17:56:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53564 -3.618026)'), GeomFromEWKT('SRID=4674;POINT (-38.535666 -3.618111)'))) / (select extract(epoch from '2026-07-18 17:56:35'::timestamp) - extract(epoch from '2026-07-18 17:56:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535677 -3.618139)', '2026-07-18 17:56:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535666 -3.618111)'), GeomFromEWKT('SRID=4674;POINT (-38.535677 -3.618139)'))) / (select extract(epoch from '2026-07-18 17:56:37'::timestamp) - extract(epoch from '2026-07-18 17:56:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535666 -3.618111)'), GeomFromEWKT('SRID=4674;POINT (-38.535677 -3.618139)'))) / (select extract(epoch from '2026-07-18 17:56:37'::timestamp) - extract(epoch from '2026-07-18 17:56:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.5357 -3.618171)', '2026-07-18 17:56:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535677 -3.618139)'), GeomFromEWKT('SRID=4674;POINT (-38.5357 -3.618171)'))) / (select extract(epoch from '2026-07-18 17:56:39'::timestamp) - extract(epoch from '2026-07-18 17:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535677 -3.618139)'), GeomFromEWKT('SRID=4674;POINT (-38.5357 -3.618171)'))) / (select extract(epoch from '2026-07-18 17:56:39'::timestamp) - extract(epoch from '2026-07-18 17:56:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535701 -3.618189)', '2026-07-18 17:56:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5357 -3.618171)'), GeomFromEWKT('SRID=4674;POINT (-38.535701 -3.618189)'))) / (select extract(epoch from '2026-07-18 17:56:40'::timestamp) - extract(epoch from '2026-07-18 17:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5357 -3.618171)'), GeomFromEWKT('SRID=4674;POINT (-38.535701 -3.618189)'))) / (select extract(epoch from '2026-07-18 17:56:40'::timestamp) - extract(epoch from '2026-07-18 17:56:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535703 -3.618218)', '2026-07-18 17:56:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535701 -3.618189)'), GeomFromEWKT('SRID=4674;POINT (-38.535703 -3.618218)'))) / (select extract(epoch from '2026-07-18 17:56:42'::timestamp) - extract(epoch from '2026-07-18 17:56:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535701 -3.618189)'), GeomFromEWKT('SRID=4674;POINT (-38.535703 -3.618218)'))) / (select extract(epoch from '2026-07-18 17:56:42'::timestamp) - extract(epoch from '2026-07-18 17:56:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535709 -3.61823)', '2026-07-18 17:56:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535703 -3.618218)'), GeomFromEWKT('SRID=4674;POINT (-38.535709 -3.61823)'))) / (select extract(epoch from '2026-07-18 17:56:43'::timestamp) - extract(epoch from '2026-07-18 17:56:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535703 -3.618218)'), GeomFromEWKT('SRID=4674;POINT (-38.535709 -3.61823)'))) / (select extract(epoch from '2026-07-18 17:56:43'::timestamp) - extract(epoch from '2026-07-18 17:56:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535727 -3.618274)', '2026-07-18 17:56:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535709 -3.61823)'), GeomFromEWKT('SRID=4674;POINT (-38.535727 -3.618274)'))) / (select extract(epoch from '2026-07-18 17:56:46'::timestamp) - extract(epoch from '2026-07-18 17:56:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535709 -3.61823)'), GeomFromEWKT('SRID=4674;POINT (-38.535727 -3.618274)'))) / (select extract(epoch from '2026-07-18 17:56:46'::timestamp) - extract(epoch from '2026-07-18 17:56:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535735 -3.618301)', '2026-07-18 17:56:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535727 -3.618274)'), GeomFromEWKT('SRID=4674;POINT (-38.535735 -3.618301)'))) / (select extract(epoch from '2026-07-18 17:56:48'::timestamp) - extract(epoch from '2026-07-18 17:56:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535727 -3.618274)'), GeomFromEWKT('SRID=4674;POINT (-38.535735 -3.618301)'))) / (select extract(epoch from '2026-07-18 17:56:48'::timestamp) - extract(epoch from '2026-07-18 17:56:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535763 -3.618402)', '2026-07-18 17:56:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535735 -3.618301)'), GeomFromEWKT('SRID=4674;POINT (-38.535763 -3.618402)'))) / (select extract(epoch from '2026-07-18 17:56:54'::timestamp) - extract(epoch from '2026-07-18 17:56:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535735 -3.618301)'), GeomFromEWKT('SRID=4674;POINT (-38.535763 -3.618402)'))) / (select extract(epoch from '2026-07-18 17:56:54'::timestamp) - extract(epoch from '2026-07-18 17:56:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535788 -3.618546)', '2026-07-18 17:57:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535763 -3.618402)'), GeomFromEWKT('SRID=4674;POINT (-38.535788 -3.618546)'))) / (select extract(epoch from '2026-07-18 17:57:02'::timestamp) - extract(epoch from '2026-07-18 17:56:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535763 -3.618402)'), GeomFromEWKT('SRID=4674;POINT (-38.535788 -3.618546)'))) / (select extract(epoch from '2026-07-18 17:57:02'::timestamp) - extract(epoch from '2026-07-18 17:56:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535808 -3.618665)', '2026-07-18 17:57:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535788 -3.618546)'), GeomFromEWKT('SRID=4674;POINT (-38.535808 -3.618665)'))) / (select extract(epoch from '2026-07-18 17:57:09'::timestamp) - extract(epoch from '2026-07-18 17:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535788 -3.618546)'), GeomFromEWKT('SRID=4674;POINT (-38.535808 -3.618665)'))) / (select extract(epoch from '2026-07-18 17:57:09'::timestamp) - extract(epoch from '2026-07-18 17:57:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535835 -3.618754)', '2026-07-18 17:57:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535808 -3.618665)'), GeomFromEWKT('SRID=4674;POINT (-38.535835 -3.618754)'))) / (select extract(epoch from '2026-07-18 17:57:15'::timestamp) - extract(epoch from '2026-07-18 17:57:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535808 -3.618665)'), GeomFromEWKT('SRID=4674;POINT (-38.535835 -3.618754)'))) / (select extract(epoch from '2026-07-18 17:57:15'::timestamp) - extract(epoch from '2026-07-18 17:57:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535863 -3.61882)', '2026-07-18 17:57:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535835 -3.618754)'), GeomFromEWKT('SRID=4674;POINT (-38.535863 -3.61882)'))) / (select extract(epoch from '2026-07-18 17:57:19'::timestamp) - extract(epoch from '2026-07-18 17:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535835 -3.618754)'), GeomFromEWKT('SRID=4674;POINT (-38.535863 -3.61882)'))) / (select extract(epoch from '2026-07-18 17:57:19'::timestamp) - extract(epoch from '2026-07-18 17:57:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535868 -3.618848)', '2026-07-18 17:57:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535863 -3.61882)'), GeomFromEWKT('SRID=4674;POINT (-38.535868 -3.618848)'))) / (select extract(epoch from '2026-07-18 17:57:21'::timestamp) - extract(epoch from '2026-07-18 17:57:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535863 -3.61882)'), GeomFromEWKT('SRID=4674;POINT (-38.535868 -3.618848)'))) / (select extract(epoch from '2026-07-18 17:57:21'::timestamp) - extract(epoch from '2026-07-18 17:57:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535881 -3.618891)', '2026-07-18 17:57:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535868 -3.618848)'), GeomFromEWKT('SRID=4674;POINT (-38.535881 -3.618891)'))) / (select extract(epoch from '2026-07-18 17:57:24'::timestamp) - extract(epoch from '2026-07-18 17:57:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535868 -3.618848)'), GeomFromEWKT('SRID=4674;POINT (-38.535881 -3.618891)'))) / (select extract(epoch from '2026-07-18 17:57:24'::timestamp) - extract(epoch from '2026-07-18 17:57:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535886 -3.618909)', '2026-07-18 17:57:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535881 -3.618891)'), GeomFromEWKT('SRID=4674;POINT (-38.535886 -3.618909)'))) / (select extract(epoch from '2026-07-18 17:57:25'::timestamp) - extract(epoch from '2026-07-18 17:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535881 -3.618891)'), GeomFromEWKT('SRID=4674;POINT (-38.535886 -3.618909)'))) / (select extract(epoch from '2026-07-18 17:57:25'::timestamp) - extract(epoch from '2026-07-18 17:57:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535905 -3.618952)', '2026-07-18 17:57:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535886 -3.618909)'), GeomFromEWKT('SRID=4674;POINT (-38.535905 -3.618952)'))) / (select extract(epoch from '2026-07-18 17:57:28'::timestamp) - extract(epoch from '2026-07-18 17:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535886 -3.618909)'), GeomFromEWKT('SRID=4674;POINT (-38.535905 -3.618952)'))) / (select extract(epoch from '2026-07-18 17:57:28'::timestamp) - extract(epoch from '2026-07-18 17:57:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535909 -3.618963)', '2026-07-18 17:57:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535905 -3.618952)'), GeomFromEWKT('SRID=4674;POINT (-38.535909 -3.618963)'))) / (select extract(epoch from '2026-07-18 17:57:29'::timestamp) - extract(epoch from '2026-07-18 17:57:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535905 -3.618952)'), GeomFromEWKT('SRID=4674;POINT (-38.535909 -3.618963)'))) / (select extract(epoch from '2026-07-18 17:57:29'::timestamp) - extract(epoch from '2026-07-18 17:57:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535942 -3.619025)', '2026-07-18 17:57:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535909 -3.618963)'), GeomFromEWKT('SRID=4674;POINT (-38.535942 -3.619025)'))) / (select extract(epoch from '2026-07-18 17:57:34'::timestamp) - extract(epoch from '2026-07-18 17:57:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535909 -3.618963)'), GeomFromEWKT('SRID=4674;POINT (-38.535942 -3.619025)'))) / (select extract(epoch from '2026-07-18 17:57:34'::timestamp) - extract(epoch from '2026-07-18 17:57:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535999 -3.61914)', '2026-07-18 17:57:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535942 -3.619025)'), GeomFromEWKT('SRID=4674;POINT (-38.535999 -3.61914)'))) / (select extract(epoch from '2026-07-18 17:57:41'::timestamp) - extract(epoch from '2026-07-18 17:57:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535942 -3.619025)'), GeomFromEWKT('SRID=4674;POINT (-38.535999 -3.61914)'))) / (select extract(epoch from '2026-07-18 17:57:41'::timestamp) - extract(epoch from '2026-07-18 17:57:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536038 -3.619222)', '2026-07-18 17:57:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535999 -3.61914)'), GeomFromEWKT('SRID=4674;POINT (-38.536038 -3.619222)'))) / (select extract(epoch from '2026-07-18 17:57:46'::timestamp) - extract(epoch from '2026-07-18 17:57:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535999 -3.61914)'), GeomFromEWKT('SRID=4674;POINT (-38.536038 -3.619222)'))) / (select extract(epoch from '2026-07-18 17:57:46'::timestamp) - extract(epoch from '2026-07-18 17:57:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536054 -3.619304)', '2026-07-18 17:57:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536038 -3.619222)'), GeomFromEWKT('SRID=4674;POINT (-38.536054 -3.619304)'))) / (select extract(epoch from '2026-07-18 17:57:51'::timestamp) - extract(epoch from '2026-07-18 17:57:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536038 -3.619222)'), GeomFromEWKT('SRID=4674;POINT (-38.536054 -3.619304)'))) / (select extract(epoch from '2026-07-18 17:57:51'::timestamp) - extract(epoch from '2026-07-18 17:57:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.53606 -3.619315)', '2026-07-18 17:57:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536054 -3.619304)'), GeomFromEWKT('SRID=4674;POINT (-38.53606 -3.619315)'))) / (select extract(epoch from '2026-07-18 17:57:52'::timestamp) - extract(epoch from '2026-07-18 17:57:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536054 -3.619304)'), GeomFromEWKT('SRID=4674;POINT (-38.53606 -3.619315)'))) / (select extract(epoch from '2026-07-18 17:57:52'::timestamp) - extract(epoch from '2026-07-18 17:57:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536074 -3.619388)', '2026-07-18 17:57:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53606 -3.619315)'), GeomFromEWKT('SRID=4674;POINT (-38.536074 -3.619388)'))) / (select extract(epoch from '2026-07-18 17:57:57'::timestamp) - extract(epoch from '2026-07-18 17:57:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53606 -3.619315)'), GeomFromEWKT('SRID=4674;POINT (-38.536074 -3.619388)'))) / (select extract(epoch from '2026-07-18 17:57:57'::timestamp) - extract(epoch from '2026-07-18 17:57:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536104 -3.619481)', '2026-07-18 17:58:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536074 -3.619388)'), GeomFromEWKT('SRID=4674;POINT (-38.536104 -3.619481)'))) / (select extract(epoch from '2026-07-18 17:58:04'::timestamp) - extract(epoch from '2026-07-18 17:57:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536074 -3.619388)'), GeomFromEWKT('SRID=4674;POINT (-38.536104 -3.619481)'))) / (select extract(epoch from '2026-07-18 17:58:04'::timestamp) - extract(epoch from '2026-07-18 17:57:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.53611 -3.619494)', '2026-07-18 17:58:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536104 -3.619481)'), GeomFromEWKT('SRID=4674;POINT (-38.53611 -3.619494)'))) / (select extract(epoch from '2026-07-18 17:58:05'::timestamp) - extract(epoch from '2026-07-18 17:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536104 -3.619481)'), GeomFromEWKT('SRID=4674;POINT (-38.53611 -3.619494)'))) / (select extract(epoch from '2026-07-18 17:58:05'::timestamp) - extract(epoch from '2026-07-18 17:58:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536139 -3.619554)', '2026-07-18 17:58:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53611 -3.619494)'), GeomFromEWKT('SRID=4674;POINT (-38.536139 -3.619554)'))) / (select extract(epoch from '2026-07-18 17:58:10'::timestamp) - extract(epoch from '2026-07-18 17:58:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53611 -3.619494)'), GeomFromEWKT('SRID=4674;POINT (-38.536139 -3.619554)'))) / (select extract(epoch from '2026-07-18 17:58:10'::timestamp) - extract(epoch from '2026-07-18 17:58:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536174 -3.619653)', '2026-07-18 17:58:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536139 -3.619554)'), GeomFromEWKT('SRID=4674;POINT (-38.536174 -3.619653)'))) / (select extract(epoch from '2026-07-18 17:58:16'::timestamp) - extract(epoch from '2026-07-18 17:58:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536139 -3.619554)'), GeomFromEWKT('SRID=4674;POINT (-38.536174 -3.619653)'))) / (select extract(epoch from '2026-07-18 17:58:16'::timestamp) - extract(epoch from '2026-07-18 17:58:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536196 -3.619736)', '2026-07-18 17:58:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536174 -3.619653)'), GeomFromEWKT('SRID=4674;POINT (-38.536196 -3.619736)'))) / (select extract(epoch from '2026-07-18 17:58:21'::timestamp) - extract(epoch from '2026-07-18 17:58:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536174 -3.619653)'), GeomFromEWKT('SRID=4674;POINT (-38.536196 -3.619736)'))) / (select extract(epoch from '2026-07-18 17:58:21'::timestamp) - extract(epoch from '2026-07-18 17:58:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536232 -3.619873)', '2026-07-18 17:58:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536196 -3.619736)'), GeomFromEWKT('SRID=4674;POINT (-38.536232 -3.619873)'))) / (select extract(epoch from '2026-07-18 17:58:29'::timestamp) - extract(epoch from '2026-07-18 17:58:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536196 -3.619736)'), GeomFromEWKT('SRID=4674;POINT (-38.536232 -3.619873)'))) / (select extract(epoch from '2026-07-18 17:58:29'::timestamp) - extract(epoch from '2026-07-18 17:58:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536253 -3.619965)', '2026-07-18 17:58:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536232 -3.619873)'), GeomFromEWKT('SRID=4674;POINT (-38.536253 -3.619965)'))) / (select extract(epoch from '2026-07-18 17:58:35'::timestamp) - extract(epoch from '2026-07-18 17:58:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536232 -3.619873)'), GeomFromEWKT('SRID=4674;POINT (-38.536253 -3.619965)'))) / (select extract(epoch from '2026-07-18 17:58:35'::timestamp) - extract(epoch from '2026-07-18 17:58:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536296 -3.620052)', '2026-07-18 17:58:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536253 -3.619965)'), GeomFromEWKT('SRID=4674;POINT (-38.536296 -3.620052)'))) / (select extract(epoch from '2026-07-18 17:58:41'::timestamp) - extract(epoch from '2026-07-18 17:58:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536253 -3.619965)'), GeomFromEWKT('SRID=4674;POINT (-38.536296 -3.620052)'))) / (select extract(epoch from '2026-07-18 17:58:41'::timestamp) - extract(epoch from '2026-07-18 17:58:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536323 -3.620142)', '2026-07-18 17:58:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536296 -3.620052)'), GeomFromEWKT('SRID=4674;POINT (-38.536323 -3.620142)'))) / (select extract(epoch from '2026-07-18 17:58:47'::timestamp) - extract(epoch from '2026-07-18 17:58:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536296 -3.620052)'), GeomFromEWKT('SRID=4674;POINT (-38.536323 -3.620142)'))) / (select extract(epoch from '2026-07-18 17:58:47'::timestamp) - extract(epoch from '2026-07-18 17:58:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.53635 -3.620223)', '2026-07-18 17:58:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536323 -3.620142)'), GeomFromEWKT('SRID=4674;POINT (-38.53635 -3.620223)'))) / (select extract(epoch from '2026-07-18 17:58:53'::timestamp) - extract(epoch from '2026-07-18 17:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536323 -3.620142)'), GeomFromEWKT('SRID=4674;POINT (-38.53635 -3.620223)'))) / (select extract(epoch from '2026-07-18 17:58:53'::timestamp) - extract(epoch from '2026-07-18 17:58:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536391 -3.620344)', '2026-07-18 17:59:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53635 -3.620223)'), GeomFromEWKT('SRID=4674;POINT (-38.536391 -3.620344)'))) / (select extract(epoch from '2026-07-18 17:59:01'::timestamp) - extract(epoch from '2026-07-18 17:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53635 -3.620223)'), GeomFromEWKT('SRID=4674;POINT (-38.536391 -3.620344)'))) / (select extract(epoch from '2026-07-18 17:59:01'::timestamp) - extract(epoch from '2026-07-18 17:58:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536407 -3.620417)', '2026-07-18 17:59:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536391 -3.620344)'), GeomFromEWKT('SRID=4674;POINT (-38.536407 -3.620417)'))) / (select extract(epoch from '2026-07-18 17:59:06'::timestamp) - extract(epoch from '2026-07-18 17:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536391 -3.620344)'), GeomFromEWKT('SRID=4674;POINT (-38.536407 -3.620417)'))) / (select extract(epoch from '2026-07-18 17:59:06'::timestamp) - extract(epoch from '2026-07-18 17:59:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536441 -3.620521)', '2026-07-18 17:59:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536407 -3.620417)'), GeomFromEWKT('SRID=4674;POINT (-38.536441 -3.620521)'))) / (select extract(epoch from '2026-07-18 17:59:13'::timestamp) - extract(epoch from '2026-07-18 17:59:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536407 -3.620417)'), GeomFromEWKT('SRID=4674;POINT (-38.536441 -3.620521)'))) / (select extract(epoch from '2026-07-18 17:59:13'::timestamp) - extract(epoch from '2026-07-18 17:59:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536492 -3.620613)', '2026-07-18 17:59:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536441 -3.620521)'), GeomFromEWKT('SRID=4674;POINT (-38.536492 -3.620613)'))) / (select extract(epoch from '2026-07-18 17:59:20'::timestamp) - extract(epoch from '2026-07-18 17:59:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536441 -3.620521)'), GeomFromEWKT('SRID=4674;POINT (-38.536492 -3.620613)'))) / (select extract(epoch from '2026-07-18 17:59:20'::timestamp) - extract(epoch from '2026-07-18 17:59:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536521 -3.620672)', '2026-07-18 17:59:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536492 -3.620613)'), GeomFromEWKT('SRID=4674;POINT (-38.536521 -3.620672)'))) / (select extract(epoch from '2026-07-18 17:59:24'::timestamp) - extract(epoch from '2026-07-18 17:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536492 -3.620613)'), GeomFromEWKT('SRID=4674;POINT (-38.536521 -3.620672)'))) / (select extract(epoch from '2026-07-18 17:59:24'::timestamp) - extract(epoch from '2026-07-18 17:59:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536552 -3.620754)', '2026-07-18 17:59:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536521 -3.620672)'), GeomFromEWKT('SRID=4674;POINT (-38.536552 -3.620754)'))) / (select extract(epoch from '2026-07-18 17:59:29'::timestamp) - extract(epoch from '2026-07-18 17:59:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536521 -3.620672)'), GeomFromEWKT('SRID=4674;POINT (-38.536552 -3.620754)'))) / (select extract(epoch from '2026-07-18 17:59:29'::timestamp) - extract(epoch from '2026-07-18 17:59:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536556 -3.620791)', '2026-07-18 17:59:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536552 -3.620754)'), GeomFromEWKT('SRID=4674;POINT (-38.536556 -3.620791)'))) / (select extract(epoch from '2026-07-18 17:59:31'::timestamp) - extract(epoch from '2026-07-18 17:59:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536552 -3.620754)'), GeomFromEWKT('SRID=4674;POINT (-38.536556 -3.620791)'))) / (select extract(epoch from '2026-07-18 17:59:31'::timestamp) - extract(epoch from '2026-07-18 17:59:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536576 -3.620841)', '2026-07-18 17:59:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536556 -3.620791)'), GeomFromEWKT('SRID=4674;POINT (-38.536576 -3.620841)'))) / (select extract(epoch from '2026-07-18 17:59:34'::timestamp) - extract(epoch from '2026-07-18 17:59:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536556 -3.620791)'), GeomFromEWKT('SRID=4674;POINT (-38.536576 -3.620841)'))) / (select extract(epoch from '2026-07-18 17:59:34'::timestamp) - extract(epoch from '2026-07-18 17:59:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536579 -3.620875)', '2026-07-18 17:59:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536576 -3.620841)'), GeomFromEWKT('SRID=4674;POINT (-38.536579 -3.620875)'))) / (select extract(epoch from '2026-07-18 17:59:37'::timestamp) - extract(epoch from '2026-07-18 17:59:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536576 -3.620841)'), GeomFromEWKT('SRID=4674;POINT (-38.536579 -3.620875)'))) / (select extract(epoch from '2026-07-18 17:59:37'::timestamp) - extract(epoch from '2026-07-18 17:59:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536598 -3.620902)', '2026-07-18 17:59:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536579 -3.620875)'), GeomFromEWKT('SRID=4674;POINT (-38.536598 -3.620902)'))) / (select extract(epoch from '2026-07-18 17:59:39'::timestamp) - extract(epoch from '2026-07-18 17:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536579 -3.620875)'), GeomFromEWKT('SRID=4674;POINT (-38.536598 -3.620902)'))) / (select extract(epoch from '2026-07-18 17:59:39'::timestamp) - extract(epoch from '2026-07-18 17:59:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536601 -3.620915)', '2026-07-18 17:59:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536598 -3.620902)'), GeomFromEWKT('SRID=4674;POINT (-38.536601 -3.620915)'))) / (select extract(epoch from '2026-07-18 17:59:40'::timestamp) - extract(epoch from '2026-07-18 17:59:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536598 -3.620902)'), GeomFromEWKT('SRID=4674;POINT (-38.536601 -3.620915)'))) / (select extract(epoch from '2026-07-18 17:59:40'::timestamp) - extract(epoch from '2026-07-18 17:59:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536595 -3.620941)', '2026-07-18 17:59:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536601 -3.620915)'), GeomFromEWKT('SRID=4674;POINT (-38.536595 -3.620941)'))) / (select extract(epoch from '2026-07-18 17:59:42'::timestamp) - extract(epoch from '2026-07-18 17:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536601 -3.620915)'), GeomFromEWKT('SRID=4674;POINT (-38.536595 -3.620941)'))) / (select extract(epoch from '2026-07-18 17:59:42'::timestamp) - extract(epoch from '2026-07-18 17:59:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536598 -3.620952)', '2026-07-18 17:59:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536595 -3.620941)'), GeomFromEWKT('SRID=4674;POINT (-38.536598 -3.620952)'))) / (select extract(epoch from '2026-07-18 17:59:43'::timestamp) - extract(epoch from '2026-07-18 17:59:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536595 -3.620941)'), GeomFromEWKT('SRID=4674;POINT (-38.536598 -3.620952)'))) / (select extract(epoch from '2026-07-18 17:59:43'::timestamp) - extract(epoch from '2026-07-18 17:59:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536612 -3.620991)', '2026-07-18 17:59:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536598 -3.620952)'), GeomFromEWKT('SRID=4674;POINT (-38.536612 -3.620991)'))) / (select extract(epoch from '2026-07-18 17:59:46'::timestamp) - extract(epoch from '2026-07-18 17:59:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536598 -3.620952)'), GeomFromEWKT('SRID=4674;POINT (-38.536612 -3.620991)'))) / (select extract(epoch from '2026-07-18 17:59:46'::timestamp) - extract(epoch from '2026-07-18 17:59:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536616 -3.621022)', '2026-07-18 17:59:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536612 -3.620991)'), GeomFromEWKT('SRID=4674;POINT (-38.536616 -3.621022)'))) / (select extract(epoch from '2026-07-18 17:59:48'::timestamp) - extract(epoch from '2026-07-18 17:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536612 -3.620991)'), GeomFromEWKT('SRID=4674;POINT (-38.536616 -3.621022)'))) / (select extract(epoch from '2026-07-18 17:59:48'::timestamp) - extract(epoch from '2026-07-18 17:59:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536654 -3.621105)', '2026-07-18 17:59:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536616 -3.621022)'), GeomFromEWKT('SRID=4674;POINT (-38.536654 -3.621105)'))) / (select extract(epoch from '2026-07-18 17:59:53'::timestamp) - extract(epoch from '2026-07-18 17:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536616 -3.621022)'), GeomFromEWKT('SRID=4674;POINT (-38.536654 -3.621105)'))) / (select extract(epoch from '2026-07-18 17:59:53'::timestamp) - extract(epoch from '2026-07-18 17:59:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536678 -3.621189)', '2026-07-18 17:59:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536654 -3.621105)'), GeomFromEWKT('SRID=4674;POINT (-38.536678 -3.621189)'))) / (select extract(epoch from '2026-07-18 17:59:58'::timestamp) - extract(epoch from '2026-07-18 17:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536654 -3.621105)'), GeomFromEWKT('SRID=4674;POINT (-38.536678 -3.621189)'))) / (select extract(epoch from '2026-07-18 17:59:58'::timestamp) - extract(epoch from '2026-07-18 17:59:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536684 -3.621214)', '2026-07-18 18:00:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536678 -3.621189)'), GeomFromEWKT('SRID=4674;POINT (-38.536684 -3.621214)'))) / (select extract(epoch from '2026-07-18 18:00:00'::timestamp) - extract(epoch from '2026-07-18 17:59:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536678 -3.621189)'), GeomFromEWKT('SRID=4674;POINT (-38.536684 -3.621214)'))) / (select extract(epoch from '2026-07-18 18:00:00'::timestamp) - extract(epoch from '2026-07-18 17:59:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536698 -3.621254)', '2026-07-18 18:00:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536684 -3.621214)'), GeomFromEWKT('SRID=4674;POINT (-38.536698 -3.621254)'))) / (select extract(epoch from '2026-07-18 18:00:03'::timestamp) - extract(epoch from '2026-07-18 18:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536684 -3.621214)'), GeomFromEWKT('SRID=4674;POINT (-38.536698 -3.621254)'))) / (select extract(epoch from '2026-07-18 18:00:03'::timestamp) - extract(epoch from '2026-07-18 18:00:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536717 -3.621314)', '2026-07-18 18:00:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536698 -3.621254)'), GeomFromEWKT('SRID=4674;POINT (-38.536717 -3.621314)'))) / (select extract(epoch from '2026-07-18 18:00:07'::timestamp) - extract(epoch from '2026-07-18 18:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536698 -3.621254)'), GeomFromEWKT('SRID=4674;POINT (-38.536717 -3.621314)'))) / (select extract(epoch from '2026-07-18 18:00:07'::timestamp) - extract(epoch from '2026-07-18 18:00:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536729 -3.6214)', '2026-07-18 18:00:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536717 -3.621314)'), GeomFromEWKT('SRID=4674;POINT (-38.536729 -3.6214)'))) / (select extract(epoch from '2026-07-18 18:00:13'::timestamp) - extract(epoch from '2026-07-18 18:00:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536717 -3.621314)'), GeomFromEWKT('SRID=4674;POINT (-38.536729 -3.6214)'))) / (select extract(epoch from '2026-07-18 18:00:13'::timestamp) - extract(epoch from '2026-07-18 18:00:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536761 -3.621464)', '2026-07-18 18:00:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536729 -3.6214)'), GeomFromEWKT('SRID=4674;POINT (-38.536761 -3.621464)'))) / (select extract(epoch from '2026-07-18 18:00:18'::timestamp) - extract(epoch from '2026-07-18 18:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536729 -3.6214)'), GeomFromEWKT('SRID=4674;POINT (-38.536761 -3.621464)'))) / (select extract(epoch from '2026-07-18 18:00:18'::timestamp) - extract(epoch from '2026-07-18 18:00:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536786 -3.621527)', '2026-07-18 18:00:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536761 -3.621464)'), GeomFromEWKT('SRID=4674;POINT (-38.536786 -3.621527)'))) / (select extract(epoch from '2026-07-18 18:00:22'::timestamp) - extract(epoch from '2026-07-18 18:00:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536761 -3.621464)'), GeomFromEWKT('SRID=4674;POINT (-38.536786 -3.621527)'))) / (select extract(epoch from '2026-07-18 18:00:22'::timestamp) - extract(epoch from '2026-07-18 18:00:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536795 -3.621556)', '2026-07-18 18:00:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536786 -3.621527)'), GeomFromEWKT('SRID=4674;POINT (-38.536795 -3.621556)'))) / (select extract(epoch from '2026-07-18 18:00:24'::timestamp) - extract(epoch from '2026-07-18 18:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536786 -3.621527)'), GeomFromEWKT('SRID=4674;POINT (-38.536795 -3.621556)'))) / (select extract(epoch from '2026-07-18 18:00:24'::timestamp) - extract(epoch from '2026-07-18 18:00:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536797 -3.62158)', '2026-07-18 18:00:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536795 -3.621556)'), GeomFromEWKT('SRID=4674;POINT (-38.536797 -3.62158)'))) / (select extract(epoch from '2026-07-18 18:00:26'::timestamp) - extract(epoch from '2026-07-18 18:00:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536795 -3.621556)'), GeomFromEWKT('SRID=4674;POINT (-38.536797 -3.62158)'))) / (select extract(epoch from '2026-07-18 18:00:26'::timestamp) - extract(epoch from '2026-07-18 18:00:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536811 -3.621645)', '2026-07-18 18:00:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536797 -3.62158)'), GeomFromEWKT('SRID=4674;POINT (-38.536811 -3.621645)'))) / (select extract(epoch from '2026-07-18 18:00:32'::timestamp) - extract(epoch from '2026-07-18 18:00:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536797 -3.62158)'), GeomFromEWKT('SRID=4674;POINT (-38.536811 -3.621645)'))) / (select extract(epoch from '2026-07-18 18:00:32'::timestamp) - extract(epoch from '2026-07-18 18:00:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536833 -3.621699)', '2026-07-18 18:00:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536811 -3.621645)'), GeomFromEWKT('SRID=4674;POINT (-38.536833 -3.621699)'))) / (select extract(epoch from '2026-07-18 18:00:37'::timestamp) - extract(epoch from '2026-07-18 18:00:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536811 -3.621645)'), GeomFromEWKT('SRID=4674;POINT (-38.536833 -3.621699)'))) / (select extract(epoch from '2026-07-18 18:00:37'::timestamp) - extract(epoch from '2026-07-18 18:00:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536841 -3.621709)', '2026-07-18 18:00:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536833 -3.621699)'), GeomFromEWKT('SRID=4674;POINT (-38.536841 -3.621709)'))) / (select extract(epoch from '2026-07-18 18:00:38'::timestamp) - extract(epoch from '2026-07-18 18:00:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536833 -3.621699)'), GeomFromEWKT('SRID=4674;POINT (-38.536841 -3.621709)'))) / (select extract(epoch from '2026-07-18 18:00:38'::timestamp) - extract(epoch from '2026-07-18 18:00:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536884 -3.621798)', '2026-07-18 18:00:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536841 -3.621709)'), GeomFromEWKT('SRID=4674;POINT (-38.536884 -3.621798)'))) / (select extract(epoch from '2026-07-18 18:00:44'::timestamp) - extract(epoch from '2026-07-18 18:00:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536841 -3.621709)'), GeomFromEWKT('SRID=4674;POINT (-38.536884 -3.621798)'))) / (select extract(epoch from '2026-07-18 18:00:44'::timestamp) - extract(epoch from '2026-07-18 18:00:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536904 -3.621896)', '2026-07-18 18:00:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536884 -3.621798)'), GeomFromEWKT('SRID=4674;POINT (-38.536904 -3.621896)'))) / (select extract(epoch from '2026-07-18 18:00:50'::timestamp) - extract(epoch from '2026-07-18 18:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536884 -3.621798)'), GeomFromEWKT('SRID=4674;POINT (-38.536904 -3.621896)'))) / (select extract(epoch from '2026-07-18 18:00:50'::timestamp) - extract(epoch from '2026-07-18 18:00:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536913 -3.621973)', '2026-07-18 18:00:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536904 -3.621896)'), GeomFromEWKT('SRID=4674;POINT (-38.536913 -3.621973)'))) / (select extract(epoch from '2026-07-18 18:00:56'::timestamp) - extract(epoch from '2026-07-18 18:00:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536904 -3.621896)'), GeomFromEWKT('SRID=4674;POINT (-38.536913 -3.621973)'))) / (select extract(epoch from '2026-07-18 18:00:56'::timestamp) - extract(epoch from '2026-07-18 18:00:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536945 -3.622035)', '2026-07-18 18:01:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536913 -3.621973)'), GeomFromEWKT('SRID=4674;POINT (-38.536945 -3.622035)'))) / (select extract(epoch from '2026-07-18 18:01:02'::timestamp) - extract(epoch from '2026-07-18 18:00:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536913 -3.621973)'), GeomFromEWKT('SRID=4674;POINT (-38.536945 -3.622035)'))) / (select extract(epoch from '2026-07-18 18:01:02'::timestamp) - extract(epoch from '2026-07-18 18:00:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536994 -3.622104)', '2026-07-18 18:01:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536945 -3.622035)'), GeomFromEWKT('SRID=4674;POINT (-38.536994 -3.622104)'))) / (select extract(epoch from '2026-07-18 18:01:07'::timestamp) - extract(epoch from '2026-07-18 18:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536945 -3.622035)'), GeomFromEWKT('SRID=4674;POINT (-38.536994 -3.622104)'))) / (select extract(epoch from '2026-07-18 18:01:07'::timestamp) - extract(epoch from '2026-07-18 18:01:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537021 -3.622154)', '2026-07-18 18:01:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536994 -3.622104)'), GeomFromEWKT('SRID=4674;POINT (-38.537021 -3.622154)'))) / (select extract(epoch from '2026-07-18 18:01:11'::timestamp) - extract(epoch from '2026-07-18 18:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536994 -3.622104)'), GeomFromEWKT('SRID=4674;POINT (-38.537021 -3.622154)'))) / (select extract(epoch from '2026-07-18 18:01:11'::timestamp) - extract(epoch from '2026-07-18 18:01:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537051 -3.622252)', '2026-07-18 18:01:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537021 -3.622154)'), GeomFromEWKT('SRID=4674;POINT (-38.537051 -3.622252)'))) / (select extract(epoch from '2026-07-18 18:01:17'::timestamp) - extract(epoch from '2026-07-18 18:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537021 -3.622154)'), GeomFromEWKT('SRID=4674;POINT (-38.537051 -3.622252)'))) / (select extract(epoch from '2026-07-18 18:01:17'::timestamp) - extract(epoch from '2026-07-18 18:01:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537072 -3.622321)', '2026-07-18 18:01:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537051 -3.622252)'), GeomFromEWKT('SRID=4674;POINT (-38.537072 -3.622321)'))) / (select extract(epoch from '2026-07-18 18:01:21'::timestamp) - extract(epoch from '2026-07-18 18:01:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537051 -3.622252)'), GeomFromEWKT('SRID=4674;POINT (-38.537072 -3.622321)'))) / (select extract(epoch from '2026-07-18 18:01:21'::timestamp) - extract(epoch from '2026-07-18 18:01:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.53707 -3.622352)', '2026-07-18 18:01:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537072 -3.622321)'), GeomFromEWKT('SRID=4674;POINT (-38.53707 -3.622352)'))) / (select extract(epoch from '2026-07-18 18:01:23'::timestamp) - extract(epoch from '2026-07-18 18:01:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537072 -3.622321)'), GeomFromEWKT('SRID=4674;POINT (-38.53707 -3.622352)'))) / (select extract(epoch from '2026-07-18 18:01:23'::timestamp) - extract(epoch from '2026-07-18 18:01:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537076 -3.622375)', '2026-07-18 18:01:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53707 -3.622352)'), GeomFromEWKT('SRID=4674;POINT (-38.537076 -3.622375)'))) / (select extract(epoch from '2026-07-18 18:01:25'::timestamp) - extract(epoch from '2026-07-18 18:01:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53707 -3.622352)'), GeomFromEWKT('SRID=4674;POINT (-38.537076 -3.622375)'))) / (select extract(epoch from '2026-07-18 18:01:25'::timestamp) - extract(epoch from '2026-07-18 18:01:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537089 -3.62241)', '2026-07-18 18:01:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537076 -3.622375)'), GeomFromEWKT('SRID=4674;POINT (-38.537089 -3.62241)'))) / (select extract(epoch from '2026-07-18 18:01:28'::timestamp) - extract(epoch from '2026-07-18 18:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537076 -3.622375)'), GeomFromEWKT('SRID=4674;POINT (-38.537089 -3.62241)'))) / (select extract(epoch from '2026-07-18 18:01:28'::timestamp) - extract(epoch from '2026-07-18 18:01:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537113 -3.622498)', '2026-07-18 18:01:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537089 -3.62241)'), GeomFromEWKT('SRID=4674;POINT (-38.537113 -3.622498)'))) / (select extract(epoch from '2026-07-18 18:01:34'::timestamp) - extract(epoch from '2026-07-18 18:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537089 -3.62241)'), GeomFromEWKT('SRID=4674;POINT (-38.537113 -3.622498)'))) / (select extract(epoch from '2026-07-18 18:01:34'::timestamp) - extract(epoch from '2026-07-18 18:01:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537138 -3.622589)', '2026-07-18 18:01:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537113 -3.622498)'), GeomFromEWKT('SRID=4674;POINT (-38.537138 -3.622589)'))) / (select extract(epoch from '2026-07-18 18:01:39'::timestamp) - extract(epoch from '2026-07-18 18:01:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537113 -3.622498)'), GeomFromEWKT('SRID=4674;POINT (-38.537138 -3.622589)'))) / (select extract(epoch from '2026-07-18 18:01:39'::timestamp) - extract(epoch from '2026-07-18 18:01:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537152 -3.622658)', '2026-07-18 18:01:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537138 -3.622589)'), GeomFromEWKT('SRID=4674;POINT (-38.537152 -3.622658)'))) / (select extract(epoch from '2026-07-18 18:01:43'::timestamp) - extract(epoch from '2026-07-18 18:01:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537138 -3.622589)'), GeomFromEWKT('SRID=4674;POINT (-38.537152 -3.622658)'))) / (select extract(epoch from '2026-07-18 18:01:43'::timestamp) - extract(epoch from '2026-07-18 18:01:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537163 -3.622676)', '2026-07-18 18:01:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537152 -3.622658)'), GeomFromEWKT('SRID=4674;POINT (-38.537163 -3.622676)'))) / (select extract(epoch from '2026-07-18 18:01:44'::timestamp) - extract(epoch from '2026-07-18 18:01:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537152 -3.622658)'), GeomFromEWKT('SRID=4674;POINT (-38.537163 -3.622676)'))) / (select extract(epoch from '2026-07-18 18:01:44'::timestamp) - extract(epoch from '2026-07-18 18:01:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537174 -3.622732)', '2026-07-18 18:01:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537163 -3.622676)'), GeomFromEWKT('SRID=4674;POINT (-38.537174 -3.622732)'))) / (select extract(epoch from '2026-07-18 18:01:48'::timestamp) - extract(epoch from '2026-07-18 18:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537163 -3.622676)'), GeomFromEWKT('SRID=4674;POINT (-38.537174 -3.622732)'))) / (select extract(epoch from '2026-07-18 18:01:48'::timestamp) - extract(epoch from '2026-07-18 18:01:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.53718 -3.62276)', '2026-07-18 18:01:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537174 -3.622732)'), GeomFromEWKT('SRID=4674;POINT (-38.53718 -3.62276)'))) / (select extract(epoch from '2026-07-18 18:01:50'::timestamp) - extract(epoch from '2026-07-18 18:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537174 -3.622732)'), GeomFromEWKT('SRID=4674;POINT (-38.53718 -3.62276)'))) / (select extract(epoch from '2026-07-18 18:01:50'::timestamp) - extract(epoch from '2026-07-18 18:01:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537203 -3.622787)', '2026-07-18 18:01:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53718 -3.62276)'), GeomFromEWKT('SRID=4674;POINT (-38.537203 -3.622787)'))) / (select extract(epoch from '2026-07-18 18:01:52'::timestamp) - extract(epoch from '2026-07-18 18:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53718 -3.62276)'), GeomFromEWKT('SRID=4674;POINT (-38.537203 -3.622787)'))) / (select extract(epoch from '2026-07-18 18:01:52'::timestamp) - extract(epoch from '2026-07-18 18:01:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.53721 -3.622837)', '2026-07-18 18:01:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537203 -3.622787)'), GeomFromEWKT('SRID=4674;POINT (-38.53721 -3.622837)'))) / (select extract(epoch from '2026-07-18 18:01:56'::timestamp) - extract(epoch from '2026-07-18 18:01:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537203 -3.622787)'), GeomFromEWKT('SRID=4674;POINT (-38.53721 -3.622837)'))) / (select extract(epoch from '2026-07-18 18:01:56'::timestamp) - extract(epoch from '2026-07-18 18:01:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537246 -3.622923)', '2026-07-18 18:02:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53721 -3.622837)'), GeomFromEWKT('SRID=4674;POINT (-38.537246 -3.622923)'))) / (select extract(epoch from '2026-07-18 18:02:02'::timestamp) - extract(epoch from '2026-07-18 18:01:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53721 -3.622837)'), GeomFromEWKT('SRID=4674;POINT (-38.537246 -3.622923)'))) / (select extract(epoch from '2026-07-18 18:02:02'::timestamp) - extract(epoch from '2026-07-18 18:01:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537296 -3.623018)', '2026-07-18 18:02:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537246 -3.622923)'), GeomFromEWKT('SRID=4674;POINT (-38.537296 -3.623018)'))) / (select extract(epoch from '2026-07-18 18:02:08'::timestamp) - extract(epoch from '2026-07-18 18:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537246 -3.622923)'), GeomFromEWKT('SRID=4674;POINT (-38.537296 -3.623018)'))) / (select extract(epoch from '2026-07-18 18:02:08'::timestamp) - extract(epoch from '2026-07-18 18:02:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537352 -3.623135)', '2026-07-18 18:02:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537296 -3.623018)'), GeomFromEWKT('SRID=4674;POINT (-38.537352 -3.623135)'))) / (select extract(epoch from '2026-07-18 18:02:15'::timestamp) - extract(epoch from '2026-07-18 18:02:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537296 -3.623018)'), GeomFromEWKT('SRID=4674;POINT (-38.537352 -3.623135)'))) / (select extract(epoch from '2026-07-18 18:02:15'::timestamp) - extract(epoch from '2026-07-18 18:02:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.53738 -3.623256)', '2026-07-18 18:02:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537352 -3.623135)'), GeomFromEWKT('SRID=4674;POINT (-38.53738 -3.623256)'))) / (select extract(epoch from '2026-07-18 18:02:22'::timestamp) - extract(epoch from '2026-07-18 18:02:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537352 -3.623135)'), GeomFromEWKT('SRID=4674;POINT (-38.53738 -3.623256)'))) / (select extract(epoch from '2026-07-18 18:02:22'::timestamp) - extract(epoch from '2026-07-18 18:02:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537406 -3.623367)', '2026-07-18 18:02:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53738 -3.623256)'), GeomFromEWKT('SRID=4674;POINT (-38.537406 -3.623367)'))) / (select extract(epoch from '2026-07-18 18:02:29'::timestamp) - extract(epoch from '2026-07-18 18:02:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53738 -3.623256)'), GeomFromEWKT('SRID=4674;POINT (-38.537406 -3.623367)'))) / (select extract(epoch from '2026-07-18 18:02:29'::timestamp) - extract(epoch from '2026-07-18 18:02:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537414 -3.623408)', '2026-07-18 18:02:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537406 -3.623367)'), GeomFromEWKT('SRID=4674;POINT (-38.537414 -3.623408)'))) / (select extract(epoch from '2026-07-18 18:02:32'::timestamp) - extract(epoch from '2026-07-18 18:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537406 -3.623367)'), GeomFromEWKT('SRID=4674;POINT (-38.537414 -3.623408)'))) / (select extract(epoch from '2026-07-18 18:02:32'::timestamp) - extract(epoch from '2026-07-18 18:02:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537433 -3.62344)', '2026-07-18 18:02:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537414 -3.623408)'), GeomFromEWKT('SRID=4674;POINT (-38.537433 -3.62344)'))) / (select extract(epoch from '2026-07-18 18:02:34'::timestamp) - extract(epoch from '2026-07-18 18:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537414 -3.623408)'), GeomFromEWKT('SRID=4674;POINT (-38.537433 -3.62344)'))) / (select extract(epoch from '2026-07-18 18:02:34'::timestamp) - extract(epoch from '2026-07-18 18:02:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537461 -3.623521)', '2026-07-18 18:02:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537433 -3.62344)'), GeomFromEWKT('SRID=4674;POINT (-38.537461 -3.623521)'))) / (select extract(epoch from '2026-07-18 18:02:39'::timestamp) - extract(epoch from '2026-07-18 18:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537433 -3.62344)'), GeomFromEWKT('SRID=4674;POINT (-38.537461 -3.623521)'))) / (select extract(epoch from '2026-07-18 18:02:39'::timestamp) - extract(epoch from '2026-07-18 18:02:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537495 -3.623605)', '2026-07-18 18:02:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537461 -3.623521)'), GeomFromEWKT('SRID=4674;POINT (-38.537495 -3.623605)'))) / (select extract(epoch from '2026-07-18 18:02:44'::timestamp) - extract(epoch from '2026-07-18 18:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537461 -3.623521)'), GeomFromEWKT('SRID=4674;POINT (-38.537495 -3.623605)'))) / (select extract(epoch from '2026-07-18 18:02:44'::timestamp) - extract(epoch from '2026-07-18 18:02:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537499 -3.623665)', '2026-07-18 18:02:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537495 -3.623605)'), GeomFromEWKT('SRID=4674;POINT (-38.537499 -3.623665)'))) / (select extract(epoch from '2026-07-18 18:02:48'::timestamp) - extract(epoch from '2026-07-18 18:02:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537495 -3.623605)'), GeomFromEWKT('SRID=4674;POINT (-38.537499 -3.623665)'))) / (select extract(epoch from '2026-07-18 18:02:48'::timestamp) - extract(epoch from '2026-07-18 18:02:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537507 -3.623719)', '2026-07-18 18:02:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537499 -3.623665)'), GeomFromEWKT('SRID=4674;POINT (-38.537507 -3.623719)'))) / (select extract(epoch from '2026-07-18 18:02:52'::timestamp) - extract(epoch from '2026-07-18 18:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537499 -3.623665)'), GeomFromEWKT('SRID=4674;POINT (-38.537507 -3.623719)'))) / (select extract(epoch from '2026-07-18 18:02:52'::timestamp) - extract(epoch from '2026-07-18 18:02:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537513 -3.623733)', '2026-07-18 18:02:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537507 -3.623719)'), GeomFromEWKT('SRID=4674;POINT (-38.537513 -3.623733)'))) / (select extract(epoch from '2026-07-18 18:02:53'::timestamp) - extract(epoch from '2026-07-18 18:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537507 -3.623719)'), GeomFromEWKT('SRID=4674;POINT (-38.537513 -3.623733)'))) / (select extract(epoch from '2026-07-18 18:02:53'::timestamp) - extract(epoch from '2026-07-18 18:02:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537544 -3.623796)', '2026-07-18 18:02:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537513 -3.623733)'), GeomFromEWKT('SRID=4674;POINT (-38.537544 -3.623796)'))) / (select extract(epoch from '2026-07-18 18:02:58'::timestamp) - extract(epoch from '2026-07-18 18:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537513 -3.623733)'), GeomFromEWKT('SRID=4674;POINT (-38.537544 -3.623796)'))) / (select extract(epoch from '2026-07-18 18:02:58'::timestamp) - extract(epoch from '2026-07-18 18:02:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537581 -3.623891)', '2026-07-18 18:03:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537544 -3.623796)'), GeomFromEWKT('SRID=4674;POINT (-38.537581 -3.623891)'))) / (select extract(epoch from '2026-07-18 18:03:04'::timestamp) - extract(epoch from '2026-07-18 18:02:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537544 -3.623796)'), GeomFromEWKT('SRID=4674;POINT (-38.537581 -3.623891)'))) / (select extract(epoch from '2026-07-18 18:03:04'::timestamp) - extract(epoch from '2026-07-18 18:02:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537619 -3.624008)', '2026-07-18 18:03:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537581 -3.623891)'), GeomFromEWKT('SRID=4674;POINT (-38.537619 -3.624008)'))) / (select extract(epoch from '2026-07-18 18:03:11'::timestamp) - extract(epoch from '2026-07-18 18:03:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537581 -3.623891)'), GeomFromEWKT('SRID=4674;POINT (-38.537619 -3.624008)'))) / (select extract(epoch from '2026-07-18 18:03:11'::timestamp) - extract(epoch from '2026-07-18 18:03:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537665 -3.624122)', '2026-07-18 18:03:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537619 -3.624008)'), GeomFromEWKT('SRID=4674;POINT (-38.537665 -3.624122)'))) / (select extract(epoch from '2026-07-18 18:03:18'::timestamp) - extract(epoch from '2026-07-18 18:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537619 -3.624008)'), GeomFromEWKT('SRID=4674;POINT (-38.537665 -3.624122)'))) / (select extract(epoch from '2026-07-18 18:03:18'::timestamp) - extract(epoch from '2026-07-18 18:03:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537695 -3.62421)', '2026-07-18 18:03:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537665 -3.624122)'), GeomFromEWKT('SRID=4674;POINT (-38.537695 -3.62421)'))) / (select extract(epoch from '2026-07-18 18:03:23'::timestamp) - extract(epoch from '2026-07-18 18:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537665 -3.624122)'), GeomFromEWKT('SRID=4674;POINT (-38.537695 -3.62421)'))) / (select extract(epoch from '2026-07-18 18:03:23'::timestamp) - extract(epoch from '2026-07-18 18:03:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537695 -3.624223)', '2026-07-18 18:03:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537695 -3.62421)'), GeomFromEWKT('SRID=4674;POINT (-38.537695 -3.624223)'))) / (select extract(epoch from '2026-07-18 18:03:24'::timestamp) - extract(epoch from '2026-07-18 18:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537695 -3.62421)'), GeomFromEWKT('SRID=4674;POINT (-38.537695 -3.624223)'))) / (select extract(epoch from '2026-07-18 18:03:24'::timestamp) - extract(epoch from '2026-07-18 18:03:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537695 -3.624251)', '2026-07-18 18:03:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537695 -3.624223)'), GeomFromEWKT('SRID=4674;POINT (-38.537695 -3.624251)'))) / (select extract(epoch from '2026-07-18 18:03:26'::timestamp) - extract(epoch from '2026-07-18 18:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537695 -3.624223)'), GeomFromEWKT('SRID=4674;POINT (-38.537695 -3.624251)'))) / (select extract(epoch from '2026-07-18 18:03:26'::timestamp) - extract(epoch from '2026-07-18 18:03:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537707 -3.624259)', '2026-07-18 18:03:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537695 -3.624251)'), GeomFromEWKT('SRID=4674;POINT (-38.537707 -3.624259)'))) / (select extract(epoch from '2026-07-18 18:03:27'::timestamp) - extract(epoch from '2026-07-18 18:03:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537695 -3.624251)'), GeomFromEWKT('SRID=4674;POINT (-38.537707 -3.624259)'))) / (select extract(epoch from '2026-07-18 18:03:27'::timestamp) - extract(epoch from '2026-07-18 18:03:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537718 -3.624271)', '2026-07-18 18:03:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537707 -3.624259)'), GeomFromEWKT('SRID=4674;POINT (-38.537718 -3.624271)'))) / (select extract(epoch from '2026-07-18 18:03:28'::timestamp) - extract(epoch from '2026-07-18 18:03:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537707 -3.624259)'), GeomFromEWKT('SRID=4674;POINT (-38.537718 -3.624271)'))) / (select extract(epoch from '2026-07-18 18:03:28'::timestamp) - extract(epoch from '2026-07-18 18:03:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537733 -3.62432)', '2026-07-18 18:03:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537718 -3.624271)'), GeomFromEWKT('SRID=4674;POINT (-38.537733 -3.62432)'))) / (select extract(epoch from '2026-07-18 18:03:32'::timestamp) - extract(epoch from '2026-07-18 18:03:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537718 -3.624271)'), GeomFromEWKT('SRID=4674;POINT (-38.537733 -3.62432)'))) / (select extract(epoch from '2026-07-18 18:03:32'::timestamp) - extract(epoch from '2026-07-18 18:03:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537776 -3.624431)', '2026-07-18 18:03:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537733 -3.62432)'), GeomFromEWKT('SRID=4674;POINT (-38.537776 -3.624431)'))) / (select extract(epoch from '2026-07-18 18:03:39'::timestamp) - extract(epoch from '2026-07-18 18:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537733 -3.62432)'), GeomFromEWKT('SRID=4674;POINT (-38.537776 -3.624431)'))) / (select extract(epoch from '2026-07-18 18:03:39'::timestamp) - extract(epoch from '2026-07-18 18:03:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537797 -3.62452)', '2026-07-18 18:03:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537776 -3.624431)'), GeomFromEWKT('SRID=4674;POINT (-38.537797 -3.62452)'))) / (select extract(epoch from '2026-07-18 18:03:44'::timestamp) - extract(epoch from '2026-07-18 18:03:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537776 -3.624431)'), GeomFromEWKT('SRID=4674;POINT (-38.537797 -3.62452)'))) / (select extract(epoch from '2026-07-18 18:03:44'::timestamp) - extract(epoch from '2026-07-18 18:03:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537828 -3.624628)', '2026-07-18 18:03:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537797 -3.62452)'), GeomFromEWKT('SRID=4674;POINT (-38.537828 -3.624628)'))) / (select extract(epoch from '2026-07-18 18:03:51'::timestamp) - extract(epoch from '2026-07-18 18:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537797 -3.62452)'), GeomFromEWKT('SRID=4674;POINT (-38.537828 -3.624628)'))) / (select extract(epoch from '2026-07-18 18:03:51'::timestamp) - extract(epoch from '2026-07-18 18:03:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537852 -3.624682)', '2026-07-18 18:03:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537828 -3.624628)'), GeomFromEWKT('SRID=4674;POINT (-38.537852 -3.624682)'))) / (select extract(epoch from '2026-07-18 18:03:54'::timestamp) - extract(epoch from '2026-07-18 18:03:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537828 -3.624628)'), GeomFromEWKT('SRID=4674;POINT (-38.537852 -3.624682)'))) / (select extract(epoch from '2026-07-18 18:03:54'::timestamp) - extract(epoch from '2026-07-18 18:03:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537859 -3.624715)', '2026-07-18 18:03:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537852 -3.624682)'), GeomFromEWKT('SRID=4674;POINT (-38.537859 -3.624715)'))) / (select extract(epoch from '2026-07-18 18:03:56'::timestamp) - extract(epoch from '2026-07-18 18:03:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537852 -3.624682)'), GeomFromEWKT('SRID=4674;POINT (-38.537859 -3.624715)'))) / (select extract(epoch from '2026-07-18 18:03:56'::timestamp) - extract(epoch from '2026-07-18 18:03:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537889 -3.624814)', '2026-07-18 18:04:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537859 -3.624715)'), GeomFromEWKT('SRID=4674;POINT (-38.537889 -3.624814)'))) / (select extract(epoch from '2026-07-18 18:04:02'::timestamp) - extract(epoch from '2026-07-18 18:03:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537859 -3.624715)'), GeomFromEWKT('SRID=4674;POINT (-38.537889 -3.624814)'))) / (select extract(epoch from '2026-07-18 18:04:02'::timestamp) - extract(epoch from '2026-07-18 18:03:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537922 -3.624919)', '2026-07-18 18:04:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537889 -3.624814)'), GeomFromEWKT('SRID=4674;POINT (-38.537922 -3.624919)'))) / (select extract(epoch from '2026-07-18 18:04:08'::timestamp) - extract(epoch from '2026-07-18 18:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537889 -3.624814)'), GeomFromEWKT('SRID=4674;POINT (-38.537922 -3.624919)'))) / (select extract(epoch from '2026-07-18 18:04:08'::timestamp) - extract(epoch from '2026-07-18 18:04:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537929 -3.624955)', '2026-07-18 18:04:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537922 -3.624919)'), GeomFromEWKT('SRID=4674;POINT (-38.537929 -3.624955)'))) / (select extract(epoch from '2026-07-18 18:04:10'::timestamp) - extract(epoch from '2026-07-18 18:04:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537922 -3.624919)'), GeomFromEWKT('SRID=4674;POINT (-38.537929 -3.624955)'))) / (select extract(epoch from '2026-07-18 18:04:10'::timestamp) - extract(epoch from '2026-07-18 18:04:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537953 -3.624994)', '2026-07-18 18:04:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537929 -3.624955)'), GeomFromEWKT('SRID=4674;POINT (-38.537953 -3.624994)'))) / (select extract(epoch from '2026-07-18 18:04:13'::timestamp) - extract(epoch from '2026-07-18 18:04:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537929 -3.624955)'), GeomFromEWKT('SRID=4674;POINT (-38.537953 -3.624994)'))) / (select extract(epoch from '2026-07-18 18:04:13'::timestamp) - extract(epoch from '2026-07-18 18:04:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537961 -3.625077)', '2026-07-18 18:04:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537953 -3.624994)'), GeomFromEWKT('SRID=4674;POINT (-38.537961 -3.625077)'))) / (select extract(epoch from '2026-07-18 18:04:19'::timestamp) - extract(epoch from '2026-07-18 18:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537953 -3.624994)'), GeomFromEWKT('SRID=4674;POINT (-38.537961 -3.625077)'))) / (select extract(epoch from '2026-07-18 18:04:19'::timestamp) - extract(epoch from '2026-07-18 18:04:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537982 -3.625157)', '2026-07-18 18:04:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537961 -3.625077)'), GeomFromEWKT('SRID=4674;POINT (-38.537982 -3.625157)'))) / (select extract(epoch from '2026-07-18 18:04:25'::timestamp) - extract(epoch from '2026-07-18 18:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537961 -3.625077)'), GeomFromEWKT('SRID=4674;POINT (-38.537982 -3.625157)'))) / (select extract(epoch from '2026-07-18 18:04:25'::timestamp) - extract(epoch from '2026-07-18 18:04:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538026 -3.625257)', '2026-07-18 18:04:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537982 -3.625157)'), GeomFromEWKT('SRID=4674;POINT (-38.538026 -3.625257)'))) / (select extract(epoch from '2026-07-18 18:04:31'::timestamp) - extract(epoch from '2026-07-18 18:04:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537982 -3.625157)'), GeomFromEWKT('SRID=4674;POINT (-38.538026 -3.625257)'))) / (select extract(epoch from '2026-07-18 18:04:31'::timestamp) - extract(epoch from '2026-07-18 18:04:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538039 -3.625309)', '2026-07-18 18:04:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538026 -3.625257)'), GeomFromEWKT('SRID=4674;POINT (-38.538039 -3.625309)'))) / (select extract(epoch from '2026-07-18 18:04:34'::timestamp) - extract(epoch from '2026-07-18 18:04:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538026 -3.625257)'), GeomFromEWKT('SRID=4674;POINT (-38.538039 -3.625309)'))) / (select extract(epoch from '2026-07-18 18:04:34'::timestamp) - extract(epoch from '2026-07-18 18:04:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538057 -3.625345)', '2026-07-18 18:04:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538039 -3.625309)'), GeomFromEWKT('SRID=4674;POINT (-38.538057 -3.625345)'))) / (select extract(epoch from '2026-07-18 18:04:36'::timestamp) - extract(epoch from '2026-07-18 18:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538039 -3.625309)'), GeomFromEWKT('SRID=4674;POINT (-38.538057 -3.625345)'))) / (select extract(epoch from '2026-07-18 18:04:36'::timestamp) - extract(epoch from '2026-07-18 18:04:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538073 -3.625429)', '2026-07-18 18:04:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538057 -3.625345)'), GeomFromEWKT('SRID=4674;POINT (-38.538073 -3.625429)'))) / (select extract(epoch from '2026-07-18 18:04:41'::timestamp) - extract(epoch from '2026-07-18 18:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538057 -3.625345)'), GeomFromEWKT('SRID=4674;POINT (-38.538073 -3.625429)'))) / (select extract(epoch from '2026-07-18 18:04:41'::timestamp) - extract(epoch from '2026-07-18 18:04:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.53808 -3.625446)', '2026-07-18 18:04:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538073 -3.625429)'), GeomFromEWKT('SRID=4674;POINT (-38.53808 -3.625446)'))) / (select extract(epoch from '2026-07-18 18:04:42'::timestamp) - extract(epoch from '2026-07-18 18:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538073 -3.625429)'), GeomFromEWKT('SRID=4674;POINT (-38.53808 -3.625446)'))) / (select extract(epoch from '2026-07-18 18:04:42'::timestamp) - extract(epoch from '2026-07-18 18:04:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538093 -3.625496)', '2026-07-18 18:04:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53808 -3.625446)'), GeomFromEWKT('SRID=4674;POINT (-38.538093 -3.625496)'))) / (select extract(epoch from '2026-07-18 18:04:46'::timestamp) - extract(epoch from '2026-07-18 18:04:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53808 -3.625446)'), GeomFromEWKT('SRID=4674;POINT (-38.538093 -3.625496)'))) / (select extract(epoch from '2026-07-18 18:04:46'::timestamp) - extract(epoch from '2026-07-18 18:04:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538093 -3.625507)', '2026-07-18 18:04:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538093 -3.625496)'), GeomFromEWKT('SRID=4674;POINT (-38.538093 -3.625507)'))) / (select extract(epoch from '2026-07-18 18:04:47'::timestamp) - extract(epoch from '2026-07-18 18:04:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538093 -3.625496)'), GeomFromEWKT('SRID=4674;POINT (-38.538093 -3.625507)'))) / (select extract(epoch from '2026-07-18 18:04:47'::timestamp) - extract(epoch from '2026-07-18 18:04:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538119 -3.625555)', '2026-07-18 18:04:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538093 -3.625507)'), GeomFromEWKT('SRID=4674;POINT (-38.538119 -3.625555)'))) / (select extract(epoch from '2026-07-18 18:04:51'::timestamp) - extract(epoch from '2026-07-18 18:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538093 -3.625507)'), GeomFromEWKT('SRID=4674;POINT (-38.538119 -3.625555)'))) / (select extract(epoch from '2026-07-18 18:04:51'::timestamp) - extract(epoch from '2026-07-18 18:04:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538122 -3.625566)', '2026-07-18 18:04:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538119 -3.625555)'), GeomFromEWKT('SRID=4674;POINT (-38.538122 -3.625566)'))) / (select extract(epoch from '2026-07-18 18:04:52'::timestamp) - extract(epoch from '2026-07-18 18:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538119 -3.625555)'), GeomFromEWKT('SRID=4674;POINT (-38.538122 -3.625566)'))) / (select extract(epoch from '2026-07-18 18:04:52'::timestamp) - extract(epoch from '2026-07-18 18:04:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538122 -3.625589)', '2026-07-18 18:04:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538122 -3.625566)'), GeomFromEWKT('SRID=4674;POINT (-38.538122 -3.625589)'))) / (select extract(epoch from '2026-07-18 18:04:54'::timestamp) - extract(epoch from '2026-07-18 18:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538122 -3.625566)'), GeomFromEWKT('SRID=4674;POINT (-38.538122 -3.625589)'))) / (select extract(epoch from '2026-07-18 18:04:54'::timestamp) - extract(epoch from '2026-07-18 18:04:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.53813 -3.625602)', '2026-07-18 18:04:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538122 -3.625589)'), GeomFromEWKT('SRID=4674;POINT (-38.53813 -3.625602)'))) / (select extract(epoch from '2026-07-18 18:04:55'::timestamp) - extract(epoch from '2026-07-18 18:04:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538122 -3.625589)'), GeomFromEWKT('SRID=4674;POINT (-38.53813 -3.625602)'))) / (select extract(epoch from '2026-07-18 18:04:55'::timestamp) - extract(epoch from '2026-07-18 18:04:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538169 -3.62569)', '2026-07-18 18:05:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53813 -3.625602)'), GeomFromEWKT('SRID=4674;POINT (-38.538169 -3.62569)'))) / (select extract(epoch from '2026-07-18 18:05:02'::timestamp) - extract(epoch from '2026-07-18 18:04:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53813 -3.625602)'), GeomFromEWKT('SRID=4674;POINT (-38.538169 -3.62569)'))) / (select extract(epoch from '2026-07-18 18:05:02'::timestamp) - extract(epoch from '2026-07-18 18:04:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538205 -3.625736)', '2026-07-18 18:05:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538169 -3.62569)'), GeomFromEWKT('SRID=4674;POINT (-38.538205 -3.625736)'))) / (select extract(epoch from '2026-07-18 18:05:05'::timestamp) - extract(epoch from '2026-07-18 18:05:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538169 -3.62569)'), GeomFromEWKT('SRID=4674;POINT (-38.538205 -3.625736)'))) / (select extract(epoch from '2026-07-18 18:05:05'::timestamp) - extract(epoch from '2026-07-18 18:05:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538206 -3.625752)', '2026-07-18 18:05:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538205 -3.625736)'), GeomFromEWKT('SRID=4674;POINT (-38.538206 -3.625752)'))) / (select extract(epoch from '2026-07-18 18:05:06'::timestamp) - extract(epoch from '2026-07-18 18:05:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538205 -3.625736)'), GeomFromEWKT('SRID=4674;POINT (-38.538206 -3.625752)'))) / (select extract(epoch from '2026-07-18 18:05:06'::timestamp) - extract(epoch from '2026-07-18 18:05:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538221 -3.625792)', '2026-07-18 18:05:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538206 -3.625752)'), GeomFromEWKT('SRID=4674;POINT (-38.538221 -3.625792)'))) / (select extract(epoch from '2026-07-18 18:05:09'::timestamp) - extract(epoch from '2026-07-18 18:05:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538206 -3.625752)'), GeomFromEWKT('SRID=4674;POINT (-38.538221 -3.625792)'))) / (select extract(epoch from '2026-07-18 18:05:09'::timestamp) - extract(epoch from '2026-07-18 18:05:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538225 -3.625824)', '2026-07-18 18:05:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538221 -3.625792)'), GeomFromEWKT('SRID=4674;POINT (-38.538225 -3.625824)'))) / (select extract(epoch from '2026-07-18 18:05:11'::timestamp) - extract(epoch from '2026-07-18 18:05:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538221 -3.625792)'), GeomFromEWKT('SRID=4674;POINT (-38.538225 -3.625824)'))) / (select extract(epoch from '2026-07-18 18:05:11'::timestamp) - extract(epoch from '2026-07-18 18:05:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538263 -3.62593)', '2026-07-18 18:05:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538225 -3.625824)'), GeomFromEWKT('SRID=4674;POINT (-38.538263 -3.62593)'))) / (select extract(epoch from '2026-07-18 18:05:18'::timestamp) - extract(epoch from '2026-07-18 18:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538225 -3.625824)'), GeomFromEWKT('SRID=4674;POINT (-38.538263 -3.62593)'))) / (select extract(epoch from '2026-07-18 18:05:18'::timestamp) - extract(epoch from '2026-07-18 18:05:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538287 -3.626022)', '2026-07-18 18:05:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538263 -3.62593)'), GeomFromEWKT('SRID=4674;POINT (-38.538287 -3.626022)'))) / (select extract(epoch from '2026-07-18 18:05:24'::timestamp) - extract(epoch from '2026-07-18 18:05:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538263 -3.62593)'), GeomFromEWKT('SRID=4674;POINT (-38.538287 -3.626022)'))) / (select extract(epoch from '2026-07-18 18:05:24'::timestamp) - extract(epoch from '2026-07-18 18:05:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538325 -3.626149)', '2026-07-18 18:05:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538287 -3.626022)'), GeomFromEWKT('SRID=4674;POINT (-38.538325 -3.626149)'))) / (select extract(epoch from '2026-07-18 18:05:31'::timestamp) - extract(epoch from '2026-07-18 18:05:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538287 -3.626022)'), GeomFromEWKT('SRID=4674;POINT (-38.538325 -3.626149)'))) / (select extract(epoch from '2026-07-18 18:05:31'::timestamp) - extract(epoch from '2026-07-18 18:05:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538344 -3.626219)', '2026-07-18 18:05:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538325 -3.626149)'), GeomFromEWKT('SRID=4674;POINT (-38.538344 -3.626219)'))) / (select extract(epoch from '2026-07-18 18:05:35'::timestamp) - extract(epoch from '2026-07-18 18:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538325 -3.626149)'), GeomFromEWKT('SRID=4674;POINT (-38.538344 -3.626219)'))) / (select extract(epoch from '2026-07-18 18:05:35'::timestamp) - extract(epoch from '2026-07-18 18:05:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538358 -3.62625)', '2026-07-18 18:05:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538344 -3.626219)'), GeomFromEWKT('SRID=4674;POINT (-38.538358 -3.62625)'))) / (select extract(epoch from '2026-07-18 18:05:37'::timestamp) - extract(epoch from '2026-07-18 18:05:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538344 -3.626219)'), GeomFromEWKT('SRID=4674;POINT (-38.538358 -3.62625)'))) / (select extract(epoch from '2026-07-18 18:05:37'::timestamp) - extract(epoch from '2026-07-18 18:05:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538385 -3.626348)', '2026-07-18 18:05:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538358 -3.62625)'), GeomFromEWKT('SRID=4674;POINT (-38.538385 -3.626348)'))) / (select extract(epoch from '2026-07-18 18:05:43'::timestamp) - extract(epoch from '2026-07-18 18:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538358 -3.62625)'), GeomFromEWKT('SRID=4674;POINT (-38.538385 -3.626348)'))) / (select extract(epoch from '2026-07-18 18:05:43'::timestamp) - extract(epoch from '2026-07-18 18:05:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538412 -3.626438)', '2026-07-18 18:05:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538385 -3.626348)'), GeomFromEWKT('SRID=4674;POINT (-38.538412 -3.626438)'))) / (select extract(epoch from '2026-07-18 18:05:49'::timestamp) - extract(epoch from '2026-07-18 18:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538385 -3.626348)'), GeomFromEWKT('SRID=4674;POINT (-38.538412 -3.626438)'))) / (select extract(epoch from '2026-07-18 18:05:49'::timestamp) - extract(epoch from '2026-07-18 18:05:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538437 -3.626513)', '2026-07-18 18:05:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538412 -3.626438)'), GeomFromEWKT('SRID=4674;POINT (-38.538437 -3.626513)'))) / (select extract(epoch from '2026-07-18 18:05:54'::timestamp) - extract(epoch from '2026-07-18 18:05:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538412 -3.626438)'), GeomFromEWKT('SRID=4674;POINT (-38.538437 -3.626513)'))) / (select extract(epoch from '2026-07-18 18:05:54'::timestamp) - extract(epoch from '2026-07-18 18:05:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.53844 -3.626545)', '2026-07-18 18:05:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538437 -3.626513)'), GeomFromEWKT('SRID=4674;POINT (-38.53844 -3.626545)'))) / (select extract(epoch from '2026-07-18 18:05:57'::timestamp) - extract(epoch from '2026-07-18 18:05:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538437 -3.626513)'), GeomFromEWKT('SRID=4674;POINT (-38.53844 -3.626545)'))) / (select extract(epoch from '2026-07-18 18:05:57'::timestamp) - extract(epoch from '2026-07-18 18:05:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538456 -3.626572)', '2026-07-18 18:05:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53844 -3.626545)'), GeomFromEWKT('SRID=4674;POINT (-38.538456 -3.626572)'))) / (select extract(epoch from '2026-07-18 18:05:59'::timestamp) - extract(epoch from '2026-07-18 18:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53844 -3.626545)'), GeomFromEWKT('SRID=4674;POINT (-38.538456 -3.626572)'))) / (select extract(epoch from '2026-07-18 18:05:59'::timestamp) - extract(epoch from '2026-07-18 18:05:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.53849 -3.626658)', '2026-07-18 18:06:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538456 -3.626572)'), GeomFromEWKT('SRID=4674;POINT (-38.53849 -3.626658)'))) / (select extract(epoch from '2026-07-18 18:06:05'::timestamp) - extract(epoch from '2026-07-18 18:05:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538456 -3.626572)'), GeomFromEWKT('SRID=4674;POINT (-38.53849 -3.626658)'))) / (select extract(epoch from '2026-07-18 18:06:05'::timestamp) - extract(epoch from '2026-07-18 18:05:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538557 -3.62678)', '2026-07-18 18:06:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53849 -3.626658)'), GeomFromEWKT('SRID=4674;POINT (-38.538557 -3.62678)'))) / (select extract(epoch from '2026-07-18 18:06:12'::timestamp) - extract(epoch from '2026-07-18 18:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53849 -3.626658)'), GeomFromEWKT('SRID=4674;POINT (-38.538557 -3.62678)'))) / (select extract(epoch from '2026-07-18 18:06:12'::timestamp) - extract(epoch from '2026-07-18 18:06:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538601 -3.626926)', '2026-07-18 18:06:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538557 -3.62678)'), GeomFromEWKT('SRID=4674;POINT (-38.538601 -3.626926)'))) / (select extract(epoch from '2026-07-18 18:06:20'::timestamp) - extract(epoch from '2026-07-18 18:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538557 -3.62678)'), GeomFromEWKT('SRID=4674;POINT (-38.538601 -3.626926)'))) / (select extract(epoch from '2026-07-18 18:06:20'::timestamp) - extract(epoch from '2026-07-18 18:06:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538619 -3.627017)', '2026-07-18 18:06:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538601 -3.626926)'), GeomFromEWKT('SRID=4674;POINT (-38.538619 -3.627017)'))) / (select extract(epoch from '2026-07-18 18:06:26'::timestamp) - extract(epoch from '2026-07-18 18:06:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538601 -3.626926)'), GeomFromEWKT('SRID=4674;POINT (-38.538619 -3.627017)'))) / (select extract(epoch from '2026-07-18 18:06:26'::timestamp) - extract(epoch from '2026-07-18 18:06:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538645 -3.6271)', '2026-07-18 18:06:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538619 -3.627017)'), GeomFromEWKT('SRID=4674;POINT (-38.538645 -3.6271)'))) / (select extract(epoch from '2026-07-18 18:06:31'::timestamp) - extract(epoch from '2026-07-18 18:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538619 -3.627017)'), GeomFromEWKT('SRID=4674;POINT (-38.538645 -3.6271)'))) / (select extract(epoch from '2026-07-18 18:06:31'::timestamp) - extract(epoch from '2026-07-18 18:06:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538677 -3.627215)', '2026-07-18 18:06:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538645 -3.6271)'), GeomFromEWKT('SRID=4674;POINT (-38.538677 -3.627215)'))) / (select extract(epoch from '2026-07-18 18:06:38'::timestamp) - extract(epoch from '2026-07-18 18:06:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538645 -3.6271)'), GeomFromEWKT('SRID=4674;POINT (-38.538677 -3.627215)'))) / (select extract(epoch from '2026-07-18 18:06:38'::timestamp) - extract(epoch from '2026-07-18 18:06:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538703 -3.627319)', '2026-07-18 18:06:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538677 -3.627215)'), GeomFromEWKT('SRID=4674;POINT (-38.538703 -3.627319)'))) / (select extract(epoch from '2026-07-18 18:06:44'::timestamp) - extract(epoch from '2026-07-18 18:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538677 -3.627215)'), GeomFromEWKT('SRID=4674;POINT (-38.538703 -3.627319)'))) / (select extract(epoch from '2026-07-18 18:06:44'::timestamp) - extract(epoch from '2026-07-18 18:06:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538727 -3.627402)', '2026-07-18 18:06:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538703 -3.627319)'), GeomFromEWKT('SRID=4674;POINT (-38.538727 -3.627402)'))) / (select extract(epoch from '2026-07-18 18:06:49'::timestamp) - extract(epoch from '2026-07-18 18:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538703 -3.627319)'), GeomFromEWKT('SRID=4674;POINT (-38.538727 -3.627402)'))) / (select extract(epoch from '2026-07-18 18:06:49'::timestamp) - extract(epoch from '2026-07-18 18:06:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.53876 -3.627526)', '2026-07-18 18:06:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538727 -3.627402)'), GeomFromEWKT('SRID=4674;POINT (-38.53876 -3.627526)'))) / (select extract(epoch from '2026-07-18 18:06:57'::timestamp) - extract(epoch from '2026-07-18 18:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538727 -3.627402)'), GeomFromEWKT('SRID=4674;POINT (-38.53876 -3.627526)'))) / (select extract(epoch from '2026-07-18 18:06:57'::timestamp) - extract(epoch from '2026-07-18 18:06:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538796 -3.627627)', '2026-07-18 18:07:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53876 -3.627526)'), GeomFromEWKT('SRID=4674;POINT (-38.538796 -3.627627)'))) / (select extract(epoch from '2026-07-18 18:07:04'::timestamp) - extract(epoch from '2026-07-18 18:06:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53876 -3.627526)'), GeomFromEWKT('SRID=4674;POINT (-38.538796 -3.627627)'))) / (select extract(epoch from '2026-07-18 18:07:04'::timestamp) - extract(epoch from '2026-07-18 18:06:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538836 -3.627706)', '2026-07-18 18:07:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538796 -3.627627)'), GeomFromEWKT('SRID=4674;POINT (-38.538836 -3.627706)'))) / (select extract(epoch from '2026-07-18 18:07:09'::timestamp) - extract(epoch from '2026-07-18 18:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538796 -3.627627)'), GeomFromEWKT('SRID=4674;POINT (-38.538836 -3.627706)'))) / (select extract(epoch from '2026-07-18 18:07:09'::timestamp) - extract(epoch from '2026-07-18 18:07:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538867 -3.627806)', '2026-07-18 18:07:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538836 -3.627706)'), GeomFromEWKT('SRID=4674;POINT (-38.538867 -3.627806)'))) / (select extract(epoch from '2026-07-18 18:07:15'::timestamp) - extract(epoch from '2026-07-18 18:07:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538836 -3.627706)'), GeomFromEWKT('SRID=4674;POINT (-38.538867 -3.627806)'))) / (select extract(epoch from '2026-07-18 18:07:15'::timestamp) - extract(epoch from '2026-07-18 18:07:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.53887 -3.627894)', '2026-07-18 18:07:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538867 -3.627806)'), GeomFromEWKT('SRID=4674;POINT (-38.53887 -3.627894)'))) / (select extract(epoch from '2026-07-18 18:07:20'::timestamp) - extract(epoch from '2026-07-18 18:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538867 -3.627806)'), GeomFromEWKT('SRID=4674;POINT (-38.53887 -3.627894)'))) / (select extract(epoch from '2026-07-18 18:07:20'::timestamp) - extract(epoch from '2026-07-18 18:07:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538888 -3.627992)', '2026-07-18 18:07:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53887 -3.627894)'), GeomFromEWKT('SRID=4674;POINT (-38.538888 -3.627992)'))) / (select extract(epoch from '2026-07-18 18:07:26'::timestamp) - extract(epoch from '2026-07-18 18:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53887 -3.627894)'), GeomFromEWKT('SRID=4674;POINT (-38.538888 -3.627992)'))) / (select extract(epoch from '2026-07-18 18:07:26'::timestamp) - extract(epoch from '2026-07-18 18:07:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538919 -3.628087)', '2026-07-18 18:07:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538888 -3.627992)'), GeomFromEWKT('SRID=4674;POINT (-38.538919 -3.628087)'))) / (select extract(epoch from '2026-07-18 18:07:32'::timestamp) - extract(epoch from '2026-07-18 18:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538888 -3.627992)'), GeomFromEWKT('SRID=4674;POINT (-38.538919 -3.628087)'))) / (select extract(epoch from '2026-07-18 18:07:32'::timestamp) - extract(epoch from '2026-07-18 18:07:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538936 -3.628197)', '2026-07-18 18:07:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538919 -3.628087)'), GeomFromEWKT('SRID=4674;POINT (-38.538936 -3.628197)'))) / (select extract(epoch from '2026-07-18 18:07:38'::timestamp) - extract(epoch from '2026-07-18 18:07:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538919 -3.628087)'), GeomFromEWKT('SRID=4674;POINT (-38.538936 -3.628197)'))) / (select extract(epoch from '2026-07-18 18:07:38'::timestamp) - extract(epoch from '2026-07-18 18:07:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538951 -3.628245)', '2026-07-18 18:07:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538936 -3.628197)'), GeomFromEWKT('SRID=4674;POINT (-38.538951 -3.628245)'))) / (select extract(epoch from '2026-07-18 18:07:41'::timestamp) - extract(epoch from '2026-07-18 18:07:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538936 -3.628197)'), GeomFromEWKT('SRID=4674;POINT (-38.538951 -3.628245)'))) / (select extract(epoch from '2026-07-18 18:07:41'::timestamp) - extract(epoch from '2026-07-18 18:07:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538959 -3.628275)', '2026-07-18 18:07:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538951 -3.628245)'), GeomFromEWKT('SRID=4674;POINT (-38.538959 -3.628275)'))) / (select extract(epoch from '2026-07-18 18:07:43'::timestamp) - extract(epoch from '2026-07-18 18:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538951 -3.628245)'), GeomFromEWKT('SRID=4674;POINT (-38.538959 -3.628275)'))) / (select extract(epoch from '2026-07-18 18:07:43'::timestamp) - extract(epoch from '2026-07-18 18:07:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.53896 -3.628285)', '2026-07-18 18:07:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538959 -3.628275)'), GeomFromEWKT('SRID=4674;POINT (-38.53896 -3.628285)'))) / (select extract(epoch from '2026-07-18 18:07:44'::timestamp) - extract(epoch from '2026-07-18 18:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538959 -3.628275)'), GeomFromEWKT('SRID=4674;POINT (-38.53896 -3.628285)'))) / (select extract(epoch from '2026-07-18 18:07:44'::timestamp) - extract(epoch from '2026-07-18 18:07:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538983 -3.628321)', '2026-07-18 18:07:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53896 -3.628285)'), GeomFromEWKT('SRID=4674;POINT (-38.538983 -3.628321)'))) / (select extract(epoch from '2026-07-18 18:07:47'::timestamp) - extract(epoch from '2026-07-18 18:07:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53896 -3.628285)'), GeomFromEWKT('SRID=4674;POINT (-38.538983 -3.628321)'))) / (select extract(epoch from '2026-07-18 18:07:47'::timestamp) - extract(epoch from '2026-07-18 18:07:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538996 -3.628371)', '2026-07-18 18:07:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538983 -3.628321)'), GeomFromEWKT('SRID=4674;POINT (-38.538996 -3.628371)'))) / (select extract(epoch from '2026-07-18 18:07:53'::timestamp) - extract(epoch from '2026-07-18 18:07:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538983 -3.628321)'), GeomFromEWKT('SRID=4674;POINT (-38.538996 -3.628371)'))) / (select extract(epoch from '2026-07-18 18:07:53'::timestamp) - extract(epoch from '2026-07-18 18:07:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539029 -3.628428)', '2026-07-18 18:07:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538996 -3.628371)'), GeomFromEWKT('SRID=4674;POINT (-38.539029 -3.628428)'))) / (select extract(epoch from '2026-07-18 18:07:59'::timestamp) - extract(epoch from '2026-07-18 18:07:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538996 -3.628371)'), GeomFromEWKT('SRID=4674;POINT (-38.539029 -3.628428)'))) / (select extract(epoch from '2026-07-18 18:07:59'::timestamp) - extract(epoch from '2026-07-18 18:07:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539078 -3.628486)', '2026-07-18 18:08:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539029 -3.628428)'), GeomFromEWKT('SRID=4674;POINT (-38.539078 -3.628486)'))) / (select extract(epoch from '2026-07-18 18:08:04'::timestamp) - extract(epoch from '2026-07-18 18:07:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539029 -3.628428)'), GeomFromEWKT('SRID=4674;POINT (-38.539078 -3.628486)'))) / (select extract(epoch from '2026-07-18 18:08:04'::timestamp) - extract(epoch from '2026-07-18 18:07:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539124 -3.628563)', '2026-07-18 18:08:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539078 -3.628486)'), GeomFromEWKT('SRID=4674;POINT (-38.539124 -3.628563)'))) / (select extract(epoch from '2026-07-18 18:08:09'::timestamp) - extract(epoch from '2026-07-18 18:08:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539078 -3.628486)'), GeomFromEWKT('SRID=4674;POINT (-38.539124 -3.628563)'))) / (select extract(epoch from '2026-07-18 18:08:09'::timestamp) - extract(epoch from '2026-07-18 18:08:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539154 -3.62864)', '2026-07-18 18:08:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539124 -3.628563)'), GeomFromEWKT('SRID=4674;POINT (-38.539154 -3.62864)'))) / (select extract(epoch from '2026-07-18 18:08:14'::timestamp) - extract(epoch from '2026-07-18 18:08:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539124 -3.628563)'), GeomFromEWKT('SRID=4674;POINT (-38.539154 -3.62864)'))) / (select extract(epoch from '2026-07-18 18:08:14'::timestamp) - extract(epoch from '2026-07-18 18:08:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539159 -3.628673)', '2026-07-18 18:08:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539154 -3.62864)'), GeomFromEWKT('SRID=4674;POINT (-38.539159 -3.628673)'))) / (select extract(epoch from '2026-07-18 18:08:16'::timestamp) - extract(epoch from '2026-07-18 18:08:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539154 -3.62864)'), GeomFromEWKT('SRID=4674;POINT (-38.539159 -3.628673)'))) / (select extract(epoch from '2026-07-18 18:08:16'::timestamp) - extract(epoch from '2026-07-18 18:08:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539177 -3.628697)', '2026-07-18 18:08:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539159 -3.628673)'), GeomFromEWKT('SRID=4674;POINT (-38.539177 -3.628697)'))) / (select extract(epoch from '2026-07-18 18:08:18'::timestamp) - extract(epoch from '2026-07-18 18:08:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539159 -3.628673)'), GeomFromEWKT('SRID=4674;POINT (-38.539177 -3.628697)'))) / (select extract(epoch from '2026-07-18 18:08:18'::timestamp) - extract(epoch from '2026-07-18 18:08:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539178 -3.628709)', '2026-07-18 18:08:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539177 -3.628697)'), GeomFromEWKT('SRID=4674;POINT (-38.539178 -3.628709)'))) / (select extract(epoch from '2026-07-18 18:08:19'::timestamp) - extract(epoch from '2026-07-18 18:08:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539177 -3.628697)'), GeomFromEWKT('SRID=4674;POINT (-38.539178 -3.628709)'))) / (select extract(epoch from '2026-07-18 18:08:19'::timestamp) - extract(epoch from '2026-07-18 18:08:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539178 -3.628727)', '2026-07-18 18:08:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539178 -3.628709)'), GeomFromEWKT('SRID=4674;POINT (-38.539178 -3.628727)'))) / (select extract(epoch from '2026-07-18 18:08:21'::timestamp) - extract(epoch from '2026-07-18 18:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539178 -3.628709)'), GeomFromEWKT('SRID=4674;POINT (-38.539178 -3.628727)'))) / (select extract(epoch from '2026-07-18 18:08:21'::timestamp) - extract(epoch from '2026-07-18 18:08:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539204 -3.628764)', '2026-07-18 18:08:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539178 -3.628727)'), GeomFromEWKT('SRID=4674;POINT (-38.539204 -3.628764)'))) / (select extract(epoch from '2026-07-18 18:08:24'::timestamp) - extract(epoch from '2026-07-18 18:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539178 -3.628727)'), GeomFromEWKT('SRID=4674;POINT (-38.539204 -3.628764)'))) / (select extract(epoch from '2026-07-18 18:08:24'::timestamp) - extract(epoch from '2026-07-18 18:08:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539242 -3.628833)', '2026-07-18 18:08:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539204 -3.628764)'), GeomFromEWKT('SRID=4674;POINT (-38.539242 -3.628833)'))) / (select extract(epoch from '2026-07-18 18:08:29'::timestamp) - extract(epoch from '2026-07-18 18:08:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539204 -3.628764)'), GeomFromEWKT('SRID=4674;POINT (-38.539242 -3.628833)'))) / (select extract(epoch from '2026-07-18 18:08:29'::timestamp) - extract(epoch from '2026-07-18 18:08:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539278 -3.628905)', '2026-07-18 18:08:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539242 -3.628833)'), GeomFromEWKT('SRID=4674;POINT (-38.539278 -3.628905)'))) / (select extract(epoch from '2026-07-18 18:08:34'::timestamp) - extract(epoch from '2026-07-18 18:08:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539242 -3.628833)'), GeomFromEWKT('SRID=4674;POINT (-38.539278 -3.628905)'))) / (select extract(epoch from '2026-07-18 18:08:34'::timestamp) - extract(epoch from '2026-07-18 18:08:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539307 -3.628974)', '2026-07-18 18:08:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539278 -3.628905)'), GeomFromEWKT('SRID=4674;POINT (-38.539307 -3.628974)'))) / (select extract(epoch from '2026-07-18 18:08:38'::timestamp) - extract(epoch from '2026-07-18 18:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539278 -3.628905)'), GeomFromEWKT('SRID=4674;POINT (-38.539307 -3.628974)'))) / (select extract(epoch from '2026-07-18 18:08:38'::timestamp) - extract(epoch from '2026-07-18 18:08:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539339 -3.629041)', '2026-07-18 18:08:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539307 -3.628974)'), GeomFromEWKT('SRID=4674;POINT (-38.539339 -3.629041)'))) / (select extract(epoch from '2026-07-18 18:08:43'::timestamp) - extract(epoch from '2026-07-18 18:08:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539307 -3.628974)'), GeomFromEWKT('SRID=4674;POINT (-38.539339 -3.629041)'))) / (select extract(epoch from '2026-07-18 18:08:43'::timestamp) - extract(epoch from '2026-07-18 18:08:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539386 -3.629112)', '2026-07-18 18:08:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539339 -3.629041)'), GeomFromEWKT('SRID=4674;POINT (-38.539386 -3.629112)'))) / (select extract(epoch from '2026-07-18 18:08:48'::timestamp) - extract(epoch from '2026-07-18 18:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539339 -3.629041)'), GeomFromEWKT('SRID=4674;POINT (-38.539386 -3.629112)'))) / (select extract(epoch from '2026-07-18 18:08:48'::timestamp) - extract(epoch from '2026-07-18 18:08:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539404 -3.62916)', '2026-07-18 18:08:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539386 -3.629112)'), GeomFromEWKT('SRID=4674;POINT (-38.539404 -3.62916)'))) / (select extract(epoch from '2026-07-18 18:08:51'::timestamp) - extract(epoch from '2026-07-18 18:08:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539386 -3.629112)'), GeomFromEWKT('SRID=4674;POINT (-38.539404 -3.62916)'))) / (select extract(epoch from '2026-07-18 18:08:51'::timestamp) - extract(epoch from '2026-07-18 18:08:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539427 -3.629196)', '2026-07-18 18:08:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539404 -3.62916)'), GeomFromEWKT('SRID=4674;POINT (-38.539427 -3.629196)'))) / (select extract(epoch from '2026-07-18 18:08:53'::timestamp) - extract(epoch from '2026-07-18 18:08:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539404 -3.62916)'), GeomFromEWKT('SRID=4674;POINT (-38.539427 -3.629196)'))) / (select extract(epoch from '2026-07-18 18:08:53'::timestamp) - extract(epoch from '2026-07-18 18:08:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539455 -3.629281)', '2026-07-18 18:08:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539427 -3.629196)'), GeomFromEWKT('SRID=4674;POINT (-38.539455 -3.629281)'))) / (select extract(epoch from '2026-07-18 18:08:59'::timestamp) - extract(epoch from '2026-07-18 18:08:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539427 -3.629196)'), GeomFromEWKT('SRID=4674;POINT (-38.539455 -3.629281)'))) / (select extract(epoch from '2026-07-18 18:08:59'::timestamp) - extract(epoch from '2026-07-18 18:08:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539485 -3.629358)', '2026-07-18 18:09:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539455 -3.629281)'), GeomFromEWKT('SRID=4674;POINT (-38.539485 -3.629358)'))) / (select extract(epoch from '2026-07-18 18:09:04'::timestamp) - extract(epoch from '2026-07-18 18:08:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539455 -3.629281)'), GeomFromEWKT('SRID=4674;POINT (-38.539485 -3.629358)'))) / (select extract(epoch from '2026-07-18 18:09:04'::timestamp) - extract(epoch from '2026-07-18 18:08:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539532 -3.629436)', '2026-07-18 18:09:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539485 -3.629358)'), GeomFromEWKT('SRID=4674;POINT (-38.539532 -3.629436)'))) / (select extract(epoch from '2026-07-18 18:09:09'::timestamp) - extract(epoch from '2026-07-18 18:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539485 -3.629358)'), GeomFromEWKT('SRID=4674;POINT (-38.539532 -3.629436)'))) / (select extract(epoch from '2026-07-18 18:09:09'::timestamp) - extract(epoch from '2026-07-18 18:09:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539576 -3.629527)', '2026-07-18 18:09:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539532 -3.629436)'), GeomFromEWKT('SRID=4674;POINT (-38.539576 -3.629527)'))) / (select extract(epoch from '2026-07-18 18:09:15'::timestamp) - extract(epoch from '2026-07-18 18:09:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539532 -3.629436)'), GeomFromEWKT('SRID=4674;POINT (-38.539576 -3.629527)'))) / (select extract(epoch from '2026-07-18 18:09:15'::timestamp) - extract(epoch from '2026-07-18 18:09:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539604 -3.629618)', '2026-07-18 18:09:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539576 -3.629527)'), GeomFromEWKT('SRID=4674;POINT (-38.539604 -3.629618)'))) / (select extract(epoch from '2026-07-18 18:09:21'::timestamp) - extract(epoch from '2026-07-18 18:09:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539576 -3.629527)'), GeomFromEWKT('SRID=4674;POINT (-38.539604 -3.629618)'))) / (select extract(epoch from '2026-07-18 18:09:21'::timestamp) - extract(epoch from '2026-07-18 18:09:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539629 -3.629713)', '2026-07-18 18:09:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539604 -3.629618)'), GeomFromEWKT('SRID=4674;POINT (-38.539629 -3.629713)'))) / (select extract(epoch from '2026-07-18 18:09:27'::timestamp) - extract(epoch from '2026-07-18 18:09:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539604 -3.629618)'), GeomFromEWKT('SRID=4674;POINT (-38.539629 -3.629713)'))) / (select extract(epoch from '2026-07-18 18:09:27'::timestamp) - extract(epoch from '2026-07-18 18:09:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539648 -3.629793)', '2026-07-18 18:09:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539629 -3.629713)'), GeomFromEWKT('SRID=4674;POINT (-38.539648 -3.629793)'))) / (select extract(epoch from '2026-07-18 18:09:33'::timestamp) - extract(epoch from '2026-07-18 18:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539629 -3.629713)'), GeomFromEWKT('SRID=4674;POINT (-38.539648 -3.629793)'))) / (select extract(epoch from '2026-07-18 18:09:33'::timestamp) - extract(epoch from '2026-07-18 18:09:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539655 -3.629817)', '2026-07-18 18:09:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539648 -3.629793)'), GeomFromEWKT('SRID=4674;POINT (-38.539655 -3.629817)'))) / (select extract(epoch from '2026-07-18 18:09:35'::timestamp) - extract(epoch from '2026-07-18 18:09:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539648 -3.629793)'), GeomFromEWKT('SRID=4674;POINT (-38.539655 -3.629817)'))) / (select extract(epoch from '2026-07-18 18:09:35'::timestamp) - extract(epoch from '2026-07-18 18:09:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539683 -3.629864)', '2026-07-18 18:09:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539655 -3.629817)'), GeomFromEWKT('SRID=4674;POINT (-38.539683 -3.629864)'))) / (select extract(epoch from '2026-07-18 18:09:39'::timestamp) - extract(epoch from '2026-07-18 18:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539655 -3.629817)'), GeomFromEWKT('SRID=4674;POINT (-38.539683 -3.629864)'))) / (select extract(epoch from '2026-07-18 18:09:39'::timestamp) - extract(epoch from '2026-07-18 18:09:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539739 -3.629974)', '2026-07-18 18:09:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539683 -3.629864)'), GeomFromEWKT('SRID=4674;POINT (-38.539739 -3.629974)'))) / (select extract(epoch from '2026-07-18 18:09:46'::timestamp) - extract(epoch from '2026-07-18 18:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539683 -3.629864)'), GeomFromEWKT('SRID=4674;POINT (-38.539739 -3.629974)'))) / (select extract(epoch from '2026-07-18 18:09:46'::timestamp) - extract(epoch from '2026-07-18 18:09:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539783 -3.630068)', '2026-07-18 18:09:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539739 -3.629974)'), GeomFromEWKT('SRID=4674;POINT (-38.539783 -3.630068)'))) / (select extract(epoch from '2026-07-18 18:09:52'::timestamp) - extract(epoch from '2026-07-18 18:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539739 -3.629974)'), GeomFromEWKT('SRID=4674;POINT (-38.539783 -3.630068)'))) / (select extract(epoch from '2026-07-18 18:09:52'::timestamp) - extract(epoch from '2026-07-18 18:09:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539817 -3.630188)', '2026-07-18 18:09:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539783 -3.630068)'), GeomFromEWKT('SRID=4674;POINT (-38.539817 -3.630188)'))) / (select extract(epoch from '2026-07-18 18:09:59'::timestamp) - extract(epoch from '2026-07-18 18:09:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539783 -3.630068)'), GeomFromEWKT('SRID=4674;POINT (-38.539817 -3.630188)'))) / (select extract(epoch from '2026-07-18 18:09:59'::timestamp) - extract(epoch from '2026-07-18 18:09:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539822 -3.630214)', '2026-07-18 18:10:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539817 -3.630188)'), GeomFromEWKT('SRID=4674;POINT (-38.539822 -3.630214)'))) / (select extract(epoch from '2026-07-18 18:10:01'::timestamp) - extract(epoch from '2026-07-18 18:09:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539817 -3.630188)'), GeomFromEWKT('SRID=4674;POINT (-38.539822 -3.630214)'))) / (select extract(epoch from '2026-07-18 18:10:01'::timestamp) - extract(epoch from '2026-07-18 18:09:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539837 -3.630246)', '2026-07-18 18:10:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539822 -3.630214)'), GeomFromEWKT('SRID=4674;POINT (-38.539837 -3.630246)'))) / (select extract(epoch from '2026-07-18 18:10:03'::timestamp) - extract(epoch from '2026-07-18 18:10:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539822 -3.630214)'), GeomFromEWKT('SRID=4674;POINT (-38.539837 -3.630246)'))) / (select extract(epoch from '2026-07-18 18:10:03'::timestamp) - extract(epoch from '2026-07-18 18:10:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539839 -3.630282)', '2026-07-18 18:10:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539837 -3.630246)'), GeomFromEWKT('SRID=4674;POINT (-38.539839 -3.630282)'))) / (select extract(epoch from '2026-07-18 18:10:06'::timestamp) - extract(epoch from '2026-07-18 18:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539837 -3.630246)'), GeomFromEWKT('SRID=4674;POINT (-38.539839 -3.630282)'))) / (select extract(epoch from '2026-07-18 18:10:06'::timestamp) - extract(epoch from '2026-07-18 18:10:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539848 -3.630293)', '2026-07-18 18:10:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539839 -3.630282)'), GeomFromEWKT('SRID=4674;POINT (-38.539848 -3.630293)'))) / (select extract(epoch from '2026-07-18 18:10:07'::timestamp) - extract(epoch from '2026-07-18 18:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539839 -3.630282)'), GeomFromEWKT('SRID=4674;POINT (-38.539848 -3.630293)'))) / (select extract(epoch from '2026-07-18 18:10:07'::timestamp) - extract(epoch from '2026-07-18 18:10:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539853 -3.630307)', '2026-07-18 18:10:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539848 -3.630293)'), GeomFromEWKT('SRID=4674;POINT (-38.539853 -3.630307)'))) / (select extract(epoch from '2026-07-18 18:10:08'::timestamp) - extract(epoch from '2026-07-18 18:10:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539848 -3.630293)'), GeomFromEWKT('SRID=4674;POINT (-38.539853 -3.630307)'))) / (select extract(epoch from '2026-07-18 18:10:08'::timestamp) - extract(epoch from '2026-07-18 18:10:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539868 -3.63036)', '2026-07-18 18:10:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539853 -3.630307)'), GeomFromEWKT('SRID=4674;POINT (-38.539868 -3.63036)'))) / (select extract(epoch from '2026-07-18 18:10:12'::timestamp) - extract(epoch from '2026-07-18 18:10:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539853 -3.630307)'), GeomFromEWKT('SRID=4674;POINT (-38.539868 -3.63036)'))) / (select extract(epoch from '2026-07-18 18:10:12'::timestamp) - extract(epoch from '2026-07-18 18:10:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539898 -3.630426)', '2026-07-18 18:10:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539868 -3.63036)'), GeomFromEWKT('SRID=4674;POINT (-38.539898 -3.630426)'))) / (select extract(epoch from '2026-07-18 18:10:17'::timestamp) - extract(epoch from '2026-07-18 18:10:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539868 -3.63036)'), GeomFromEWKT('SRID=4674;POINT (-38.539898 -3.630426)'))) / (select extract(epoch from '2026-07-18 18:10:17'::timestamp) - extract(epoch from '2026-07-18 18:10:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539944 -3.630489)', '2026-07-18 18:10:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539898 -3.630426)'), GeomFromEWKT('SRID=4674;POINT (-38.539944 -3.630489)'))) / (select extract(epoch from '2026-07-18 18:10:22'::timestamp) - extract(epoch from '2026-07-18 18:10:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539898 -3.630426)'), GeomFromEWKT('SRID=4674;POINT (-38.539944 -3.630489)'))) / (select extract(epoch from '2026-07-18 18:10:22'::timestamp) - extract(epoch from '2026-07-18 18:10:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539971 -3.630549)', '2026-07-18 18:10:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539944 -3.630489)'), GeomFromEWKT('SRID=4674;POINT (-38.539971 -3.630549)'))) / (select extract(epoch from '2026-07-18 18:10:26'::timestamp) - extract(epoch from '2026-07-18 18:10:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539944 -3.630489)'), GeomFromEWKT('SRID=4674;POINT (-38.539971 -3.630549)'))) / (select extract(epoch from '2026-07-18 18:10:26'::timestamp) - extract(epoch from '2026-07-18 18:10:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539988 -3.63056)', '2026-07-18 18:10:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539971 -3.630549)'), GeomFromEWKT('SRID=4674;POINT (-38.539988 -3.63056)'))) / (select extract(epoch from '2026-07-18 18:10:27'::timestamp) - extract(epoch from '2026-07-18 18:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539971 -3.630549)'), GeomFromEWKT('SRID=4674;POINT (-38.539988 -3.63056)'))) / (select extract(epoch from '2026-07-18 18:10:27'::timestamp) - extract(epoch from '2026-07-18 18:10:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539999 -3.630572)', '2026-07-18 18:10:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539988 -3.63056)'), GeomFromEWKT('SRID=4674;POINT (-38.539999 -3.630572)'))) / (select extract(epoch from '2026-07-18 18:10:28'::timestamp) - extract(epoch from '2026-07-18 18:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539988 -3.63056)'), GeomFromEWKT('SRID=4674;POINT (-38.539999 -3.630572)'))) / (select extract(epoch from '2026-07-18 18:10:28'::timestamp) - extract(epoch from '2026-07-18 18:10:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540004 -3.630602)', '2026-07-18 18:10:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539999 -3.630572)'), GeomFromEWKT('SRID=4674;POINT (-38.540004 -3.630602)'))) / (select extract(epoch from '2026-07-18 18:10:30'::timestamp) - extract(epoch from '2026-07-18 18:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539999 -3.630572)'), GeomFromEWKT('SRID=4674;POINT (-38.540004 -3.630602)'))) / (select extract(epoch from '2026-07-18 18:10:30'::timestamp) - extract(epoch from '2026-07-18 18:10:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540012 -3.630616)', '2026-07-18 18:10:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540004 -3.630602)'), GeomFromEWKT('SRID=4674;POINT (-38.540012 -3.630616)'))) / (select extract(epoch from '2026-07-18 18:10:31'::timestamp) - extract(epoch from '2026-07-18 18:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540004 -3.630602)'), GeomFromEWKT('SRID=4674;POINT (-38.540012 -3.630616)'))) / (select extract(epoch from '2026-07-18 18:10:31'::timestamp) - extract(epoch from '2026-07-18 18:10:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540042 -3.630696)', '2026-07-18 18:10:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540012 -3.630616)'), GeomFromEWKT('SRID=4674;POINT (-38.540042 -3.630696)'))) / (select extract(epoch from '2026-07-18 18:10:36'::timestamp) - extract(epoch from '2026-07-18 18:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540012 -3.630616)'), GeomFromEWKT('SRID=4674;POINT (-38.540042 -3.630696)'))) / (select extract(epoch from '2026-07-18 18:10:36'::timestamp) - extract(epoch from '2026-07-18 18:10:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540069 -3.630782)', '2026-07-18 18:10:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540042 -3.630696)'), GeomFromEWKT('SRID=4674;POINT (-38.540069 -3.630782)'))) / (select extract(epoch from '2026-07-18 18:10:41'::timestamp) - extract(epoch from '2026-07-18 18:10:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540042 -3.630696)'), GeomFromEWKT('SRID=4674;POINT (-38.540069 -3.630782)'))) / (select extract(epoch from '2026-07-18 18:10:41'::timestamp) - extract(epoch from '2026-07-18 18:10:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540104 -3.630906)', '2026-07-18 18:10:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540069 -3.630782)'), GeomFromEWKT('SRID=4674;POINT (-38.540104 -3.630906)'))) / (select extract(epoch from '2026-07-18 18:10:48'::timestamp) - extract(epoch from '2026-07-18 18:10:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540069 -3.630782)'), GeomFromEWKT('SRID=4674;POINT (-38.540104 -3.630906)'))) / (select extract(epoch from '2026-07-18 18:10:48'::timestamp) - extract(epoch from '2026-07-18 18:10:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540135 -3.630998)', '2026-07-18 18:10:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540104 -3.630906)'), GeomFromEWKT('SRID=4674;POINT (-38.540135 -3.630998)'))) / (select extract(epoch from '2026-07-18 18:10:54'::timestamp) - extract(epoch from '2026-07-18 18:10:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540104 -3.630906)'), GeomFromEWKT('SRID=4674;POINT (-38.540135 -3.630998)'))) / (select extract(epoch from '2026-07-18 18:10:54'::timestamp) - extract(epoch from '2026-07-18 18:10:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540166 -3.631084)', '2026-07-18 18:11:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540135 -3.630998)'), GeomFromEWKT('SRID=4674;POINT (-38.540166 -3.631084)'))) / (select extract(epoch from '2026-07-18 18:11:00'::timestamp) - extract(epoch from '2026-07-18 18:10:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540135 -3.630998)'), GeomFromEWKT('SRID=4674;POINT (-38.540166 -3.631084)'))) / (select extract(epoch from '2026-07-18 18:11:00'::timestamp) - extract(epoch from '2026-07-18 18:10:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540183 -3.631147)', '2026-07-18 18:11:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540166 -3.631084)'), GeomFromEWKT('SRID=4674;POINT (-38.540183 -3.631147)'))) / (select extract(epoch from '2026-07-18 18:11:03'::timestamp) - extract(epoch from '2026-07-18 18:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540166 -3.631084)'), GeomFromEWKT('SRID=4674;POINT (-38.540183 -3.631147)'))) / (select extract(epoch from '2026-07-18 18:11:03'::timestamp) - extract(epoch from '2026-07-18 18:11:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.5402 -3.631193)', '2026-07-18 18:11:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540183 -3.631147)'), GeomFromEWKT('SRID=4674;POINT (-38.5402 -3.631193)'))) / (select extract(epoch from '2026-07-18 18:11:06'::timestamp) - extract(epoch from '2026-07-18 18:11:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540183 -3.631147)'), GeomFromEWKT('SRID=4674;POINT (-38.5402 -3.631193)'))) / (select extract(epoch from '2026-07-18 18:11:06'::timestamp) - extract(epoch from '2026-07-18 18:11:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540198 -3.631205)', '2026-07-18 18:11:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5402 -3.631193)'), GeomFromEWKT('SRID=4674;POINT (-38.540198 -3.631205)'))) / (select extract(epoch from '2026-07-18 18:11:07'::timestamp) - extract(epoch from '2026-07-18 18:11:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5402 -3.631193)'), GeomFromEWKT('SRID=4674;POINT (-38.540198 -3.631205)'))) / (select extract(epoch from '2026-07-18 18:11:07'::timestamp) - extract(epoch from '2026-07-18 18:11:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.5402 -3.631219)', '2026-07-18 18:11:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540198 -3.631205)'), GeomFromEWKT('SRID=4674;POINT (-38.5402 -3.631219)'))) / (select extract(epoch from '2026-07-18 18:11:08'::timestamp) - extract(epoch from '2026-07-18 18:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540198 -3.631205)'), GeomFromEWKT('SRID=4674;POINT (-38.5402 -3.631219)'))) / (select extract(epoch from '2026-07-18 18:11:08'::timestamp) - extract(epoch from '2026-07-18 18:11:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.54023 -3.631259)', '2026-07-18 18:11:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5402 -3.631219)'), GeomFromEWKT('SRID=4674;POINT (-38.54023 -3.631259)'))) / (select extract(epoch from '2026-07-18 18:11:11'::timestamp) - extract(epoch from '2026-07-18 18:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5402 -3.631219)'), GeomFromEWKT('SRID=4674;POINT (-38.54023 -3.631259)'))) / (select extract(epoch from '2026-07-18 18:11:11'::timestamp) - extract(epoch from '2026-07-18 18:11:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540235 -3.631283)', '2026-07-18 18:11:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54023 -3.631259)'), GeomFromEWKT('SRID=4674;POINT (-38.540235 -3.631283)'))) / (select extract(epoch from '2026-07-18 18:11:13'::timestamp) - extract(epoch from '2026-07-18 18:11:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54023 -3.631259)'), GeomFromEWKT('SRID=4674;POINT (-38.540235 -3.631283)'))) / (select extract(epoch from '2026-07-18 18:11:13'::timestamp) - extract(epoch from '2026-07-18 18:11:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540236 -3.631297)', '2026-07-18 18:11:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540235 -3.631283)'), GeomFromEWKT('SRID=4674;POINT (-38.540236 -3.631297)'))) / (select extract(epoch from '2026-07-18 18:11:15'::timestamp) - extract(epoch from '2026-07-18 18:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540235 -3.631283)'), GeomFromEWKT('SRID=4674;POINT (-38.540236 -3.631297)'))) / (select extract(epoch from '2026-07-18 18:11:15'::timestamp) - extract(epoch from '2026-07-18 18:11:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540266 -3.631354)', '2026-07-18 18:11:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540236 -3.631297)'), GeomFromEWKT('SRID=4674;POINT (-38.540266 -3.631354)'))) / (select extract(epoch from '2026-07-18 18:11:19'::timestamp) - extract(epoch from '2026-07-18 18:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540236 -3.631297)'), GeomFromEWKT('SRID=4674;POINT (-38.540266 -3.631354)'))) / (select extract(epoch from '2026-07-18 18:11:19'::timestamp) - extract(epoch from '2026-07-18 18:11:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540271 -3.631382)', '2026-07-18 18:11:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540266 -3.631354)'), GeomFromEWKT('SRID=4674;POINT (-38.540271 -3.631382)'))) / (select extract(epoch from '2026-07-18 18:11:21'::timestamp) - extract(epoch from '2026-07-18 18:11:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540266 -3.631354)'), GeomFromEWKT('SRID=4674;POINT (-38.540271 -3.631382)'))) / (select extract(epoch from '2026-07-18 18:11:21'::timestamp) - extract(epoch from '2026-07-18 18:11:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540301 -3.631425)', '2026-07-18 18:11:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540271 -3.631382)'), GeomFromEWKT('SRID=4674;POINT (-38.540301 -3.631425)'))) / (select extract(epoch from '2026-07-18 18:11:24'::timestamp) - extract(epoch from '2026-07-18 18:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540271 -3.631382)'), GeomFromEWKT('SRID=4674;POINT (-38.540301 -3.631425)'))) / (select extract(epoch from '2026-07-18 18:11:24'::timestamp) - extract(epoch from '2026-07-18 18:11:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540344 -3.631524)', '2026-07-18 18:11:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540301 -3.631425)'), GeomFromEWKT('SRID=4674;POINT (-38.540344 -3.631524)'))) / (select extract(epoch from '2026-07-18 18:11:30'::timestamp) - extract(epoch from '2026-07-18 18:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540301 -3.631425)'), GeomFromEWKT('SRID=4674;POINT (-38.540344 -3.631524)'))) / (select extract(epoch from '2026-07-18 18:11:30'::timestamp) - extract(epoch from '2026-07-18 18:11:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.54037 -3.631586)', '2026-07-18 18:11:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540344 -3.631524)'), GeomFromEWKT('SRID=4674;POINT (-38.54037 -3.631586)'))) / (select extract(epoch from '2026-07-18 18:11:34'::timestamp) - extract(epoch from '2026-07-18 18:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540344 -3.631524)'), GeomFromEWKT('SRID=4674;POINT (-38.54037 -3.631586)'))) / (select extract(epoch from '2026-07-18 18:11:34'::timestamp) - extract(epoch from '2026-07-18 18:11:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.54037 -3.631599)', '2026-07-18 18:11:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54037 -3.631586)'), GeomFromEWKT('SRID=4674;POINT (-38.54037 -3.631599)'))) / (select extract(epoch from '2026-07-18 18:11:35'::timestamp) - extract(epoch from '2026-07-18 18:11:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54037 -3.631586)'), GeomFromEWKT('SRID=4674;POINT (-38.54037 -3.631599)'))) / (select extract(epoch from '2026-07-18 18:11:35'::timestamp) - extract(epoch from '2026-07-18 18:11:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540375 -3.631609)', '2026-07-18 18:11:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54037 -3.631599)'), GeomFromEWKT('SRID=4674;POINT (-38.540375 -3.631609)'))) / (select extract(epoch from '2026-07-18 18:11:36'::timestamp) - extract(epoch from '2026-07-18 18:11:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54037 -3.631599)'), GeomFromEWKT('SRID=4674;POINT (-38.540375 -3.631609)'))) / (select extract(epoch from '2026-07-18 18:11:36'::timestamp) - extract(epoch from '2026-07-18 18:11:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540389 -3.631633)', '2026-07-18 18:11:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540375 -3.631609)'), GeomFromEWKT('SRID=4674;POINT (-38.540389 -3.631633)'))) / (select extract(epoch from '2026-07-18 18:11:38'::timestamp) - extract(epoch from '2026-07-18 18:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540375 -3.631609)'), GeomFromEWKT('SRID=4674;POINT (-38.540389 -3.631633)'))) / (select extract(epoch from '2026-07-18 18:11:38'::timestamp) - extract(epoch from '2026-07-18 18:11:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540394 -3.631659)', '2026-07-18 18:11:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540389 -3.631633)'), GeomFromEWKT('SRID=4674;POINT (-38.540394 -3.631659)'))) / (select extract(epoch from '2026-07-18 18:11:40'::timestamp) - extract(epoch from '2026-07-18 18:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540389 -3.631633)'), GeomFromEWKT('SRID=4674;POINT (-38.540394 -3.631659)'))) / (select extract(epoch from '2026-07-18 18:11:40'::timestamp) - extract(epoch from '2026-07-18 18:11:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540411 -3.631689)', '2026-07-18 18:11:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540394 -3.631659)'), GeomFromEWKT('SRID=4674;POINT (-38.540411 -3.631689)'))) / (select extract(epoch from '2026-07-18 18:11:42'::timestamp) - extract(epoch from '2026-07-18 18:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540394 -3.631659)'), GeomFromEWKT('SRID=4674;POINT (-38.540411 -3.631689)'))) / (select extract(epoch from '2026-07-18 18:11:42'::timestamp) - extract(epoch from '2026-07-18 18:11:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540415 -3.631719)', '2026-07-18 18:11:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540411 -3.631689)'), GeomFromEWKT('SRID=4674;POINT (-38.540415 -3.631719)'))) / (select extract(epoch from '2026-07-18 18:11:44'::timestamp) - extract(epoch from '2026-07-18 18:11:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540411 -3.631689)'), GeomFromEWKT('SRID=4674;POINT (-38.540415 -3.631719)'))) / (select extract(epoch from '2026-07-18 18:11:44'::timestamp) - extract(epoch from '2026-07-18 18:11:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540453 -3.631807)', '2026-07-18 18:11:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540415 -3.631719)'), GeomFromEWKT('SRID=4674;POINT (-38.540453 -3.631807)'))) / (select extract(epoch from '2026-07-18 18:11:50'::timestamp) - extract(epoch from '2026-07-18 18:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540415 -3.631719)'), GeomFromEWKT('SRID=4674;POINT (-38.540453 -3.631807)'))) / (select extract(epoch from '2026-07-18 18:11:50'::timestamp) - extract(epoch from '2026-07-18 18:11:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540502 -3.631924)', '2026-07-18 18:11:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540453 -3.631807)'), GeomFromEWKT('SRID=4674;POINT (-38.540502 -3.631924)'))) / (select extract(epoch from '2026-07-18 18:11:58'::timestamp) - extract(epoch from '2026-07-18 18:11:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540453 -3.631807)'), GeomFromEWKT('SRID=4674;POINT (-38.540502 -3.631924)'))) / (select extract(epoch from '2026-07-18 18:11:58'::timestamp) - extract(epoch from '2026-07-18 18:11:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540513 -3.631958)', '2026-07-18 18:12:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540502 -3.631924)'), GeomFromEWKT('SRID=4674;POINT (-38.540513 -3.631958)'))) / (select extract(epoch from '2026-07-18 18:12:01'::timestamp) - extract(epoch from '2026-07-18 18:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540502 -3.631924)'), GeomFromEWKT('SRID=4674;POINT (-38.540513 -3.631958)'))) / (select extract(epoch from '2026-07-18 18:12:01'::timestamp) - extract(epoch from '2026-07-18 18:11:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540515 -3.631983)', '2026-07-18 18:12:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540513 -3.631958)'), GeomFromEWKT('SRID=4674;POINT (-38.540515 -3.631983)'))) / (select extract(epoch from '2026-07-18 18:12:03'::timestamp) - extract(epoch from '2026-07-18 18:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540513 -3.631958)'), GeomFromEWKT('SRID=4674;POINT (-38.540515 -3.631983)'))) / (select extract(epoch from '2026-07-18 18:12:03'::timestamp) - extract(epoch from '2026-07-18 18:12:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540524 -3.631995)', '2026-07-18 18:12:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540515 -3.631983)'), GeomFromEWKT('SRID=4674;POINT (-38.540524 -3.631995)'))) / (select extract(epoch from '2026-07-18 18:12:04'::timestamp) - extract(epoch from '2026-07-18 18:12:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540515 -3.631983)'), GeomFromEWKT('SRID=4674;POINT (-38.540524 -3.631995)'))) / (select extract(epoch from '2026-07-18 18:12:04'::timestamp) - extract(epoch from '2026-07-18 18:12:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540551 -3.63202)', '2026-07-18 18:12:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540524 -3.631995)'), GeomFromEWKT('SRID=4674;POINT (-38.540551 -3.63202)'))) / (select extract(epoch from '2026-07-18 18:12:06'::timestamp) - extract(epoch from '2026-07-18 18:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540524 -3.631995)'), GeomFromEWKT('SRID=4674;POINT (-38.540551 -3.63202)'))) / (select extract(epoch from '2026-07-18 18:12:06'::timestamp) - extract(epoch from '2026-07-18 18:12:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540555 -3.632035)', '2026-07-18 18:12:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540551 -3.63202)'), GeomFromEWKT('SRID=4674;POINT (-38.540555 -3.632035)'))) / (select extract(epoch from '2026-07-18 18:12:07'::timestamp) - extract(epoch from '2026-07-18 18:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540551 -3.63202)'), GeomFromEWKT('SRID=4674;POINT (-38.540555 -3.632035)'))) / (select extract(epoch from '2026-07-18 18:12:07'::timestamp) - extract(epoch from '2026-07-18 18:12:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540601 -3.632121)', '2026-07-18 18:12:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540555 -3.632035)'), GeomFromEWKT('SRID=4674;POINT (-38.540601 -3.632121)'))) / (select extract(epoch from '2026-07-18 18:12:13'::timestamp) - extract(epoch from '2026-07-18 18:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540555 -3.632035)'), GeomFromEWKT('SRID=4674;POINT (-38.540601 -3.632121)'))) / (select extract(epoch from '2026-07-18 18:12:13'::timestamp) - extract(epoch from '2026-07-18 18:12:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540604 -3.632136)', '2026-07-18 18:12:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540601 -3.632121)'), GeomFromEWKT('SRID=4674;POINT (-38.540604 -3.632136)'))) / (select extract(epoch from '2026-07-18 18:12:14'::timestamp) - extract(epoch from '2026-07-18 18:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540601 -3.632121)'), GeomFromEWKT('SRID=4674;POINT (-38.540604 -3.632136)'))) / (select extract(epoch from '2026-07-18 18:12:14'::timestamp) - extract(epoch from '2026-07-18 18:12:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540628 -3.632179)', '2026-07-18 18:12:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540604 -3.632136)'), GeomFromEWKT('SRID=4674;POINT (-38.540628 -3.632179)'))) / (select extract(epoch from '2026-07-18 18:12:17'::timestamp) - extract(epoch from '2026-07-18 18:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540604 -3.632136)'), GeomFromEWKT('SRID=4674;POINT (-38.540628 -3.632179)'))) / (select extract(epoch from '2026-07-18 18:12:17'::timestamp) - extract(epoch from '2026-07-18 18:12:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540661 -3.632259)', '2026-07-18 18:12:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540628 -3.632179)'), GeomFromEWKT('SRID=4674;POINT (-38.540661 -3.632259)'))) / (select extract(epoch from '2026-07-18 18:12:22'::timestamp) - extract(epoch from '2026-07-18 18:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540628 -3.632179)'), GeomFromEWKT('SRID=4674;POINT (-38.540661 -3.632259)'))) / (select extract(epoch from '2026-07-18 18:12:22'::timestamp) - extract(epoch from '2026-07-18 18:12:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.5407 -3.632353)', '2026-07-18 18:12:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540661 -3.632259)'), GeomFromEWKT('SRID=4674;POINT (-38.5407 -3.632353)'))) / (select extract(epoch from '2026-07-18 18:12:28'::timestamp) - extract(epoch from '2026-07-18 18:12:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540661 -3.632259)'), GeomFromEWKT('SRID=4674;POINT (-38.5407 -3.632353)'))) / (select extract(epoch from '2026-07-18 18:12:28'::timestamp) - extract(epoch from '2026-07-18 18:12:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540704 -3.632369)', '2026-07-18 18:12:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5407 -3.632353)'), GeomFromEWKT('SRID=4674;POINT (-38.540704 -3.632369)'))) / (select extract(epoch from '2026-07-18 18:12:29'::timestamp) - extract(epoch from '2026-07-18 18:12:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5407 -3.632353)'), GeomFromEWKT('SRID=4674;POINT (-38.540704 -3.632369)'))) / (select extract(epoch from '2026-07-18 18:12:29'::timestamp) - extract(epoch from '2026-07-18 18:12:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540742 -3.632444)', '2026-07-18 18:12:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540704 -3.632369)'), GeomFromEWKT('SRID=4674;POINT (-38.540742 -3.632444)'))) / (select extract(epoch from '2026-07-18 18:12:34'::timestamp) - extract(epoch from '2026-07-18 18:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540704 -3.632369)'), GeomFromEWKT('SRID=4674;POINT (-38.540742 -3.632444)'))) / (select extract(epoch from '2026-07-18 18:12:34'::timestamp) - extract(epoch from '2026-07-18 18:12:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540791 -3.632567)', '2026-07-18 18:12:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540742 -3.632444)'), GeomFromEWKT('SRID=4674;POINT (-38.540791 -3.632567)'))) / (select extract(epoch from '2026-07-18 18:12:41'::timestamp) - extract(epoch from '2026-07-18 18:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540742 -3.632444)'), GeomFromEWKT('SRID=4674;POINT (-38.540791 -3.632567)'))) / (select extract(epoch from '2026-07-18 18:12:41'::timestamp) - extract(epoch from '2026-07-18 18:12:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540791 -3.632585)', '2026-07-18 18:12:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540791 -3.632567)'), GeomFromEWKT('SRID=4674;POINT (-38.540791 -3.632585)'))) / (select extract(epoch from '2026-07-18 18:12:42'::timestamp) - extract(epoch from '2026-07-18 18:12:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540791 -3.632567)'), GeomFromEWKT('SRID=4674;POINT (-38.540791 -3.632585)'))) / (select extract(epoch from '2026-07-18 18:12:42'::timestamp) - extract(epoch from '2026-07-18 18:12:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540792 -3.632614)', '2026-07-18 18:12:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540791 -3.632585)'), GeomFromEWKT('SRID=4674;POINT (-38.540792 -3.632614)'))) / (select extract(epoch from '2026-07-18 18:12:44'::timestamp) - extract(epoch from '2026-07-18 18:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540791 -3.632585)'), GeomFromEWKT('SRID=4674;POINT (-38.540792 -3.632614)'))) / (select extract(epoch from '2026-07-18 18:12:44'::timestamp) - extract(epoch from '2026-07-18 18:12:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540799 -3.632632)', '2026-07-18 18:12:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540792 -3.632614)'), GeomFromEWKT('SRID=4674;POINT (-38.540799 -3.632632)'))) / (select extract(epoch from '2026-07-18 18:12:45'::timestamp) - extract(epoch from '2026-07-18 18:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540792 -3.632614)'), GeomFromEWKT('SRID=4674;POINT (-38.540799 -3.632632)'))) / (select extract(epoch from '2026-07-18 18:12:45'::timestamp) - extract(epoch from '2026-07-18 18:12:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540821 -3.632722)', '2026-07-18 18:12:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540799 -3.632632)'), GeomFromEWKT('SRID=4674;POINT (-38.540821 -3.632722)'))) / (select extract(epoch from '2026-07-18 18:12:49'::timestamp) - extract(epoch from '2026-07-18 18:12:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540799 -3.632632)'), GeomFromEWKT('SRID=4674;POINT (-38.540821 -3.632722)'))) / (select extract(epoch from '2026-07-18 18:12:49'::timestamp) - extract(epoch from '2026-07-18 18:12:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540848 -3.632851)', '2026-07-18 18:12:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540821 -3.632722)'), GeomFromEWKT('SRID=4674;POINT (-38.540848 -3.632851)'))) / (select extract(epoch from '2026-07-18 18:12:57'::timestamp) - extract(epoch from '2026-07-18 18:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540821 -3.632722)'), GeomFromEWKT('SRID=4674;POINT (-38.540848 -3.632851)'))) / (select extract(epoch from '2026-07-18 18:12:57'::timestamp) - extract(epoch from '2026-07-18 18:12:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540851 -3.632909)', '2026-07-18 18:13:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540848 -3.632851)'), GeomFromEWKT('SRID=4674;POINT (-38.540851 -3.632909)'))) / (select extract(epoch from '2026-07-18 18:13:01'::timestamp) - extract(epoch from '2026-07-18 18:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540848 -3.632851)'), GeomFromEWKT('SRID=4674;POINT (-38.540851 -3.632909)'))) / (select extract(epoch from '2026-07-18 18:13:01'::timestamp) - extract(epoch from '2026-07-18 18:12:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540862 -3.632924)', '2026-07-18 18:13:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540851 -3.632909)'), GeomFromEWKT('SRID=4674;POINT (-38.540862 -3.632924)'))) / (select extract(epoch from '2026-07-18 18:13:02'::timestamp) - extract(epoch from '2026-07-18 18:13:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540851 -3.632909)'), GeomFromEWKT('SRID=4674;POINT (-38.540862 -3.632924)'))) / (select extract(epoch from '2026-07-18 18:13:02'::timestamp) - extract(epoch from '2026-07-18 18:13:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540884 -3.632968)', '2026-07-18 18:13:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540862 -3.632924)'), GeomFromEWKT('SRID=4674;POINT (-38.540884 -3.632968)'))) / (select extract(epoch from '2026-07-18 18:13:05'::timestamp) - extract(epoch from '2026-07-18 18:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540862 -3.632924)'), GeomFromEWKT('SRID=4674;POINT (-38.540884 -3.632968)'))) / (select extract(epoch from '2026-07-18 18:13:05'::timestamp) - extract(epoch from '2026-07-18 18:13:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540881 -3.632981)', '2026-07-18 18:13:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540884 -3.632968)'), GeomFromEWKT('SRID=4674;POINT (-38.540881 -3.632981)'))) / (select extract(epoch from '2026-07-18 18:13:06'::timestamp) - extract(epoch from '2026-07-18 18:13:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540884 -3.632968)'), GeomFromEWKT('SRID=4674;POINT (-38.540881 -3.632981)'))) / (select extract(epoch from '2026-07-18 18:13:06'::timestamp) - extract(epoch from '2026-07-18 18:13:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540884 -3.632987)', '2026-07-18 18:13:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540881 -3.632981)'), GeomFromEWKT('SRID=4674;POINT (-38.540884 -3.632987)'))) / (select extract(epoch from '2026-07-18 18:13:07'::timestamp) - extract(epoch from '2026-07-18 18:13:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540881 -3.632981)'), GeomFromEWKT('SRID=4674;POINT (-38.540884 -3.632987)'))) / (select extract(epoch from '2026-07-18 18:13:07'::timestamp) - extract(epoch from '2026-07-18 18:13:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540922 -3.633018)', '2026-07-18 18:13:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540884 -3.632987)'), GeomFromEWKT('SRID=4674;POINT (-38.540922 -3.633018)'))) / (select extract(epoch from '2026-07-18 18:13:10'::timestamp) - extract(epoch from '2026-07-18 18:13:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540884 -3.632987)'), GeomFromEWKT('SRID=4674;POINT (-38.540922 -3.633018)'))) / (select extract(epoch from '2026-07-18 18:13:10'::timestamp) - extract(epoch from '2026-07-18 18:13:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540932 -3.633037)', '2026-07-18 18:13:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540922 -3.633018)'), GeomFromEWKT('SRID=4674;POINT (-38.540932 -3.633037)'))) / (select extract(epoch from '2026-07-18 18:13:11'::timestamp) - extract(epoch from '2026-07-18 18:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540922 -3.633018)'), GeomFromEWKT('SRID=4674;POINT (-38.540932 -3.633037)'))) / (select extract(epoch from '2026-07-18 18:13:11'::timestamp) - extract(epoch from '2026-07-18 18:13:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.54094 -3.633068)', '2026-07-18 18:13:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540932 -3.633037)'), GeomFromEWKT('SRID=4674;POINT (-38.54094 -3.633068)'))) / (select extract(epoch from '2026-07-18 18:13:13'::timestamp) - extract(epoch from '2026-07-18 18:13:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540932 -3.633037)'), GeomFromEWKT('SRID=4674;POINT (-38.54094 -3.633068)'))) / (select extract(epoch from '2026-07-18 18:13:13'::timestamp) - extract(epoch from '2026-07-18 18:13:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540951 -3.633076)', '2026-07-18 18:13:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54094 -3.633068)'), GeomFromEWKT('SRID=4674;POINT (-38.540951 -3.633076)'))) / (select extract(epoch from '2026-07-18 18:13:14'::timestamp) - extract(epoch from '2026-07-18 18:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54094 -3.633068)'), GeomFromEWKT('SRID=4674;POINT (-38.540951 -3.633076)'))) / (select extract(epoch from '2026-07-18 18:13:14'::timestamp) - extract(epoch from '2026-07-18 18:13:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540961 -3.633087)', '2026-07-18 18:13:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540951 -3.633076)'), GeomFromEWKT('SRID=4674;POINT (-38.540961 -3.633087)'))) / (select extract(epoch from '2026-07-18 18:13:15'::timestamp) - extract(epoch from '2026-07-18 18:13:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540951 -3.633076)'), GeomFromEWKT('SRID=4674;POINT (-38.540961 -3.633087)'))) / (select extract(epoch from '2026-07-18 18:13:15'::timestamp) - extract(epoch from '2026-07-18 18:13:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540987 -3.633138)', '2026-07-18 18:13:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540961 -3.633087)'), GeomFromEWKT('SRID=4674;POINT (-38.540987 -3.633138)'))) / (select extract(epoch from '2026-07-18 18:13:19'::timestamp) - extract(epoch from '2026-07-18 18:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540961 -3.633087)'), GeomFromEWKT('SRID=4674;POINT (-38.540987 -3.633138)'))) / (select extract(epoch from '2026-07-18 18:13:19'::timestamp) - extract(epoch from '2026-07-18 18:13:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541013 -3.633199)', '2026-07-18 18:13:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540987 -3.633138)'), GeomFromEWKT('SRID=4674;POINT (-38.541013 -3.633199)'))) / (select extract(epoch from '2026-07-18 18:13:23'::timestamp) - extract(epoch from '2026-07-18 18:13:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540987 -3.633138)'), GeomFromEWKT('SRID=4674;POINT (-38.541013 -3.633199)'))) / (select extract(epoch from '2026-07-18 18:13:23'::timestamp) - extract(epoch from '2026-07-18 18:13:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541021 -3.633236)', '2026-07-18 18:13:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541013 -3.633199)'), GeomFromEWKT('SRID=4674;POINT (-38.541021 -3.633236)'))) / (select extract(epoch from '2026-07-18 18:13:25'::timestamp) - extract(epoch from '2026-07-18 18:13:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541013 -3.633199)'), GeomFromEWKT('SRID=4674;POINT (-38.541021 -3.633236)'))) / (select extract(epoch from '2026-07-18 18:13:25'::timestamp) - extract(epoch from '2026-07-18 18:13:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541037 -3.63327)', '2026-07-18 18:13:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541021 -3.633236)'), GeomFromEWKT('SRID=4674;POINT (-38.541037 -3.63327)'))) / (select extract(epoch from '2026-07-18 18:13:27'::timestamp) - extract(epoch from '2026-07-18 18:13:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541021 -3.633236)'), GeomFromEWKT('SRID=4674;POINT (-38.541037 -3.63327)'))) / (select extract(epoch from '2026-07-18 18:13:27'::timestamp) - extract(epoch from '2026-07-18 18:13:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541044 -3.633321)', '2026-07-18 18:13:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541037 -3.63327)'), GeomFromEWKT('SRID=4674;POINT (-38.541044 -3.633321)'))) / (select extract(epoch from '2026-07-18 18:13:30'::timestamp) - extract(epoch from '2026-07-18 18:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541037 -3.63327)'), GeomFromEWKT('SRID=4674;POINT (-38.541044 -3.633321)'))) / (select extract(epoch from '2026-07-18 18:13:30'::timestamp) - extract(epoch from '2026-07-18 18:13:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541074 -3.633398)', '2026-07-18 18:13:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541044 -3.633321)'), GeomFromEWKT('SRID=4674;POINT (-38.541074 -3.633398)'))) / (select extract(epoch from '2026-07-18 18:13:35'::timestamp) - extract(epoch from '2026-07-18 18:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541044 -3.633321)'), GeomFromEWKT('SRID=4674;POINT (-38.541074 -3.633398)'))) / (select extract(epoch from '2026-07-18 18:13:35'::timestamp) - extract(epoch from '2026-07-18 18:13:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541086 -3.633435)', '2026-07-18 18:13:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541074 -3.633398)'), GeomFromEWKT('SRID=4674;POINT (-38.541086 -3.633435)'))) / (select extract(epoch from '2026-07-18 18:13:38'::timestamp) - extract(epoch from '2026-07-18 18:13:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541074 -3.633398)'), GeomFromEWKT('SRID=4674;POINT (-38.541086 -3.633435)'))) / (select extract(epoch from '2026-07-18 18:13:38'::timestamp) - extract(epoch from '2026-07-18 18:13:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541102 -3.633465)', '2026-07-18 18:13:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541086 -3.633435)'), GeomFromEWKT('SRID=4674;POINT (-38.541102 -3.633465)'))) / (select extract(epoch from '2026-07-18 18:13:40'::timestamp) - extract(epoch from '2026-07-18 18:13:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541086 -3.633435)'), GeomFromEWKT('SRID=4674;POINT (-38.541102 -3.633465)'))) / (select extract(epoch from '2026-07-18 18:13:40'::timestamp) - extract(epoch from '2026-07-18 18:13:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541118 -3.633544)', '2026-07-18 18:13:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541102 -3.633465)'), GeomFromEWKT('SRID=4674;POINT (-38.541118 -3.633544)'))) / (select extract(epoch from '2026-07-18 18:13:45'::timestamp) - extract(epoch from '2026-07-18 18:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541102 -3.633465)'), GeomFromEWKT('SRID=4674;POINT (-38.541118 -3.633544)'))) / (select extract(epoch from '2026-07-18 18:13:45'::timestamp) - extract(epoch from '2026-07-18 18:13:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541151 -3.633648)', '2026-07-18 18:13:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541118 -3.633544)'), GeomFromEWKT('SRID=4674;POINT (-38.541151 -3.633648)'))) / (select extract(epoch from '2026-07-18 18:13:51'::timestamp) - extract(epoch from '2026-07-18 18:13:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541118 -3.633544)'), GeomFromEWKT('SRID=4674;POINT (-38.541151 -3.633648)'))) / (select extract(epoch from '2026-07-18 18:13:51'::timestamp) - extract(epoch from '2026-07-18 18:13:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.54118 -3.633749)', '2026-07-18 18:13:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541151 -3.633648)'), GeomFromEWKT('SRID=4674;POINT (-38.54118 -3.633749)'))) / (select extract(epoch from '2026-07-18 18:13:57'::timestamp) - extract(epoch from '2026-07-18 18:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541151 -3.633648)'), GeomFromEWKT('SRID=4674;POINT (-38.54118 -3.633749)'))) / (select extract(epoch from '2026-07-18 18:13:57'::timestamp) - extract(epoch from '2026-07-18 18:13:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541203 -3.633873)', '2026-07-18 18:14:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54118 -3.633749)'), GeomFromEWKT('SRID=4674;POINT (-38.541203 -3.633873)'))) / (select extract(epoch from '2026-07-18 18:14:04'::timestamp) - extract(epoch from '2026-07-18 18:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54118 -3.633749)'), GeomFromEWKT('SRID=4674;POINT (-38.541203 -3.633873)'))) / (select extract(epoch from '2026-07-18 18:14:04'::timestamp) - extract(epoch from '2026-07-18 18:13:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541226 -3.633974)', '2026-07-18 18:14:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541203 -3.633873)'), GeomFromEWKT('SRID=4674;POINT (-38.541226 -3.633974)'))) / (select extract(epoch from '2026-07-18 18:14:10'::timestamp) - extract(epoch from '2026-07-18 18:14:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541203 -3.633873)'), GeomFromEWKT('SRID=4674;POINT (-38.541226 -3.633974)'))) / (select extract(epoch from '2026-07-18 18:14:10'::timestamp) - extract(epoch from '2026-07-18 18:14:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541263 -3.634064)', '2026-07-18 18:14:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541226 -3.633974)'), GeomFromEWKT('SRID=4674;POINT (-38.541263 -3.634064)'))) / (select extract(epoch from '2026-07-18 18:14:16'::timestamp) - extract(epoch from '2026-07-18 18:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541226 -3.633974)'), GeomFromEWKT('SRID=4674;POINT (-38.541263 -3.634064)'))) / (select extract(epoch from '2026-07-18 18:14:16'::timestamp) - extract(epoch from '2026-07-18 18:14:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541293 -3.63415)', '2026-07-18 18:14:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541263 -3.634064)'), GeomFromEWKT('SRID=4674;POINT (-38.541293 -3.63415)'))) / (select extract(epoch from '2026-07-18 18:14:22'::timestamp) - extract(epoch from '2026-07-18 18:14:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541263 -3.634064)'), GeomFromEWKT('SRID=4674;POINT (-38.541293 -3.63415)'))) / (select extract(epoch from '2026-07-18 18:14:22'::timestamp) - extract(epoch from '2026-07-18 18:14:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541293 -3.634165)', '2026-07-18 18:14:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541293 -3.63415)'), GeomFromEWKT('SRID=4674;POINT (-38.541293 -3.634165)'))) / (select extract(epoch from '2026-07-18 18:14:23'::timestamp) - extract(epoch from '2026-07-18 18:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541293 -3.63415)'), GeomFromEWKT('SRID=4674;POINT (-38.541293 -3.634165)'))) / (select extract(epoch from '2026-07-18 18:14:23'::timestamp) - extract(epoch from '2026-07-18 18:14:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541294 -3.634195)', '2026-07-18 18:14:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541293 -3.634165)'), GeomFromEWKT('SRID=4674;POINT (-38.541294 -3.634195)'))) / (select extract(epoch from '2026-07-18 18:14:25'::timestamp) - extract(epoch from '2026-07-18 18:14:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541293 -3.634165)'), GeomFromEWKT('SRID=4674;POINT (-38.541294 -3.634195)'))) / (select extract(epoch from '2026-07-18 18:14:25'::timestamp) - extract(epoch from '2026-07-18 18:14:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541312 -3.634217)', '2026-07-18 18:14:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541294 -3.634195)'), GeomFromEWKT('SRID=4674;POINT (-38.541312 -3.634217)'))) / (select extract(epoch from '2026-07-18 18:14:27'::timestamp) - extract(epoch from '2026-07-18 18:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541294 -3.634195)'), GeomFromEWKT('SRID=4674;POINT (-38.541312 -3.634217)'))) / (select extract(epoch from '2026-07-18 18:14:27'::timestamp) - extract(epoch from '2026-07-18 18:14:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541315 -3.634233)', '2026-07-18 18:14:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541312 -3.634217)'), GeomFromEWKT('SRID=4674;POINT (-38.541315 -3.634233)'))) / (select extract(epoch from '2026-07-18 18:14:28'::timestamp) - extract(epoch from '2026-07-18 18:14:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541312 -3.634217)'), GeomFromEWKT('SRID=4674;POINT (-38.541315 -3.634233)'))) / (select extract(epoch from '2026-07-18 18:14:28'::timestamp) - extract(epoch from '2026-07-18 18:14:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541314 -3.634269)', '2026-07-18 18:14:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541315 -3.634233)'), GeomFromEWKT('SRID=4674;POINT (-38.541314 -3.634269)'))) / (select extract(epoch from '2026-07-18 18:14:31'::timestamp) - extract(epoch from '2026-07-18 18:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541315 -3.634233)'), GeomFromEWKT('SRID=4674;POINT (-38.541314 -3.634269)'))) / (select extract(epoch from '2026-07-18 18:14:31'::timestamp) - extract(epoch from '2026-07-18 18:14:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541326 -3.634307)', '2026-07-18 18:14:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541314 -3.634269)'), GeomFromEWKT('SRID=4674;POINT (-38.541326 -3.634307)'))) / (select extract(epoch from '2026-07-18 18:14:35'::timestamp) - extract(epoch from '2026-07-18 18:14:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541314 -3.634269)'), GeomFromEWKT('SRID=4674;POINT (-38.541326 -3.634307)'))) / (select extract(epoch from '2026-07-18 18:14:35'::timestamp) - extract(epoch from '2026-07-18 18:14:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541334 -3.634316)', '2026-07-18 18:14:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541326 -3.634307)'), GeomFromEWKT('SRID=4674;POINT (-38.541334 -3.634316)'))) / (select extract(epoch from '2026-07-18 18:14:36'::timestamp) - extract(epoch from '2026-07-18 18:14:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541326 -3.634307)'), GeomFromEWKT('SRID=4674;POINT (-38.541334 -3.634316)'))) / (select extract(epoch from '2026-07-18 18:14:36'::timestamp) - extract(epoch from '2026-07-18 18:14:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541376 -3.634373)', '2026-07-18 18:14:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541334 -3.634316)'), GeomFromEWKT('SRID=4674;POINT (-38.541376 -3.634373)'))) / (select extract(epoch from '2026-07-18 18:14:42'::timestamp) - extract(epoch from '2026-07-18 18:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541334 -3.634316)'), GeomFromEWKT('SRID=4674;POINT (-38.541376 -3.634373)'))) / (select extract(epoch from '2026-07-18 18:14:42'::timestamp) - extract(epoch from '2026-07-18 18:14:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.54138 -3.634385)', '2026-07-18 18:14:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541376 -3.634373)'), GeomFromEWKT('SRID=4674;POINT (-38.54138 -3.634385)'))) / (select extract(epoch from '2026-07-18 18:14:43'::timestamp) - extract(epoch from '2026-07-18 18:14:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541376 -3.634373)'), GeomFromEWKT('SRID=4674;POINT (-38.54138 -3.634385)'))) / (select extract(epoch from '2026-07-18 18:14:43'::timestamp) - extract(epoch from '2026-07-18 18:14:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541421 -3.634447)', '2026-07-18 18:14:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54138 -3.634385)'), GeomFromEWKT('SRID=4674;POINT (-38.541421 -3.634447)'))) / (select extract(epoch from '2026-07-18 18:14:47'::timestamp) - extract(epoch from '2026-07-18 18:14:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54138 -3.634385)'), GeomFromEWKT('SRID=4674;POINT (-38.541421 -3.634447)'))) / (select extract(epoch from '2026-07-18 18:14:47'::timestamp) - extract(epoch from '2026-07-18 18:14:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541451 -3.634523)', '2026-07-18 18:14:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541421 -3.634447)'), GeomFromEWKT('SRID=4674;POINT (-38.541451 -3.634523)'))) / (select extract(epoch from '2026-07-18 18:14:52'::timestamp) - extract(epoch from '2026-07-18 18:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541421 -3.634447)'), GeomFromEWKT('SRID=4674;POINT (-38.541451 -3.634523)'))) / (select extract(epoch from '2026-07-18 18:14:52'::timestamp) - extract(epoch from '2026-07-18 18:14:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541483 -3.634617)', '2026-07-18 18:14:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541451 -3.634523)'), GeomFromEWKT('SRID=4674;POINT (-38.541483 -3.634617)'))) / (select extract(epoch from '2026-07-18 18:14:58'::timestamp) - extract(epoch from '2026-07-18 18:14:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541451 -3.634523)'), GeomFromEWKT('SRID=4674;POINT (-38.541483 -3.634617)'))) / (select extract(epoch from '2026-07-18 18:14:58'::timestamp) - extract(epoch from '2026-07-18 18:14:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541519 -3.634723)', '2026-07-18 18:15:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541483 -3.634617)'), GeomFromEWKT('SRID=4674;POINT (-38.541519 -3.634723)'))) / (select extract(epoch from '2026-07-18 18:15:04'::timestamp) - extract(epoch from '2026-07-18 18:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541483 -3.634617)'), GeomFromEWKT('SRID=4674;POINT (-38.541519 -3.634723)'))) / (select extract(epoch from '2026-07-18 18:15:04'::timestamp) - extract(epoch from '2026-07-18 18:14:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541525 -3.634732)', '2026-07-18 18:15:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541519 -3.634723)'), GeomFromEWKT('SRID=4674;POINT (-38.541525 -3.634732)'))) / (select extract(epoch from '2026-07-18 18:15:05'::timestamp) - extract(epoch from '2026-07-18 18:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541519 -3.634723)'), GeomFromEWKT('SRID=4674;POINT (-38.541525 -3.634732)'))) / (select extract(epoch from '2026-07-18 18:15:05'::timestamp) - extract(epoch from '2026-07-18 18:15:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541548 -3.634792)', '2026-07-18 18:15:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541525 -3.634732)'), GeomFromEWKT('SRID=4674;POINT (-38.541548 -3.634792)'))) / (select extract(epoch from '2026-07-18 18:15:09'::timestamp) - extract(epoch from '2026-07-18 18:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541525 -3.634732)'), GeomFromEWKT('SRID=4674;POINT (-38.541548 -3.634792)'))) / (select extract(epoch from '2026-07-18 18:15:09'::timestamp) - extract(epoch from '2026-07-18 18:15:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.54158 -3.634881)', '2026-07-18 18:15:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541548 -3.634792)'), GeomFromEWKT('SRID=4674;POINT (-38.54158 -3.634881)'))) / (select extract(epoch from '2026-07-18 18:15:14'::timestamp) - extract(epoch from '2026-07-18 18:15:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541548 -3.634792)'), GeomFromEWKT('SRID=4674;POINT (-38.54158 -3.634881)'))) / (select extract(epoch from '2026-07-18 18:15:14'::timestamp) - extract(epoch from '2026-07-18 18:15:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541608 -3.634971)', '2026-07-18 18:15:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54158 -3.634881)'), GeomFromEWKT('SRID=4674;POINT (-38.541608 -3.634971)'))) / (select extract(epoch from '2026-07-18 18:15:20'::timestamp) - extract(epoch from '2026-07-18 18:15:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54158 -3.634881)'), GeomFromEWKT('SRID=4674;POINT (-38.541608 -3.634971)'))) / (select extract(epoch from '2026-07-18 18:15:20'::timestamp) - extract(epoch from '2026-07-18 18:15:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541629 -3.635051)', '2026-07-18 18:15:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541608 -3.634971)'), GeomFromEWKT('SRID=4674;POINT (-38.541629 -3.635051)'))) / (select extract(epoch from '2026-07-18 18:15:26'::timestamp) - extract(epoch from '2026-07-18 18:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541608 -3.634971)'), GeomFromEWKT('SRID=4674;POINT (-38.541629 -3.635051)'))) / (select extract(epoch from '2026-07-18 18:15:26'::timestamp) - extract(epoch from '2026-07-18 18:15:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541635 -3.635071)', '2026-07-18 18:15:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541629 -3.635051)'), GeomFromEWKT('SRID=4674;POINT (-38.541635 -3.635071)'))) / (select extract(epoch from '2026-07-18 18:15:28'::timestamp) - extract(epoch from '2026-07-18 18:15:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541629 -3.635051)'), GeomFromEWKT('SRID=4674;POINT (-38.541635 -3.635071)'))) / (select extract(epoch from '2026-07-18 18:15:28'::timestamp) - extract(epoch from '2026-07-18 18:15:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541664 -3.6351)', '2026-07-18 18:15:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541635 -3.635071)'), GeomFromEWKT('SRID=4674;POINT (-38.541664 -3.6351)'))) / (select extract(epoch from '2026-07-18 18:15:31'::timestamp) - extract(epoch from '2026-07-18 18:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541635 -3.635071)'), GeomFromEWKT('SRID=4674;POINT (-38.541664 -3.6351)'))) / (select extract(epoch from '2026-07-18 18:15:31'::timestamp) - extract(epoch from '2026-07-18 18:15:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541717 -3.635172)', '2026-07-18 18:15:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541664 -3.6351)'), GeomFromEWKT('SRID=4674;POINT (-38.541717 -3.635172)'))) / (select extract(epoch from '2026-07-18 18:15:37'::timestamp) - extract(epoch from '2026-07-18 18:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541664 -3.6351)'), GeomFromEWKT('SRID=4674;POINT (-38.541717 -3.635172)'))) / (select extract(epoch from '2026-07-18 18:15:37'::timestamp) - extract(epoch from '2026-07-18 18:15:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541734 -3.635204)', '2026-07-18 18:15:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541717 -3.635172)'), GeomFromEWKT('SRID=4674;POINT (-38.541734 -3.635204)'))) / (select extract(epoch from '2026-07-18 18:15:39'::timestamp) - extract(epoch from '2026-07-18 18:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541717 -3.635172)'), GeomFromEWKT('SRID=4674;POINT (-38.541734 -3.635204)'))) / (select extract(epoch from '2026-07-18 18:15:39'::timestamp) - extract(epoch from '2026-07-18 18:15:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541763 -3.63523)', '2026-07-18 18:15:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541734 -3.635204)'), GeomFromEWKT('SRID=4674;POINT (-38.541763 -3.63523)'))) / (select extract(epoch from '2026-07-18 18:15:41'::timestamp) - extract(epoch from '2026-07-18 18:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541734 -3.635204)'), GeomFromEWKT('SRID=4674;POINT (-38.541763 -3.63523)'))) / (select extract(epoch from '2026-07-18 18:15:41'::timestamp) - extract(epoch from '2026-07-18 18:15:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541768 -3.635247)', '2026-07-18 18:15:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541763 -3.63523)'), GeomFromEWKT('SRID=4674;POINT (-38.541768 -3.635247)'))) / (select extract(epoch from '2026-07-18 18:15:42'::timestamp) - extract(epoch from '2026-07-18 18:15:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541763 -3.63523)'), GeomFromEWKT('SRID=4674;POINT (-38.541768 -3.635247)'))) / (select extract(epoch from '2026-07-18 18:15:42'::timestamp) - extract(epoch from '2026-07-18 18:15:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541796 -3.6353)', '2026-07-18 18:15:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541768 -3.635247)'), GeomFromEWKT('SRID=4674;POINT (-38.541796 -3.6353)'))) / (select extract(epoch from '2026-07-18 18:15:47'::timestamp) - extract(epoch from '2026-07-18 18:15:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541768 -3.635247)'), GeomFromEWKT('SRID=4674;POINT (-38.541796 -3.6353)'))) / (select extract(epoch from '2026-07-18 18:15:47'::timestamp) - extract(epoch from '2026-07-18 18:15:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.54183 -3.635379)', '2026-07-18 18:15:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541796 -3.6353)'), GeomFromEWKT('SRID=4674;POINT (-38.54183 -3.635379)'))) / (select extract(epoch from '2026-07-18 18:15:53'::timestamp) - extract(epoch from '2026-07-18 18:15:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541796 -3.6353)'), GeomFromEWKT('SRID=4674;POINT (-38.54183 -3.635379)'))) / (select extract(epoch from '2026-07-18 18:15:53'::timestamp) - extract(epoch from '2026-07-18 18:15:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541868 -3.635447)', '2026-07-18 18:15:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54183 -3.635379)'), GeomFromEWKT('SRID=4674;POINT (-38.541868 -3.635447)'))) / (select extract(epoch from '2026-07-18 18:15:58'::timestamp) - extract(epoch from '2026-07-18 18:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54183 -3.635379)'), GeomFromEWKT('SRID=4674;POINT (-38.541868 -3.635447)'))) / (select extract(epoch from '2026-07-18 18:15:58'::timestamp) - extract(epoch from '2026-07-18 18:15:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541879 -3.635458)', '2026-07-18 18:15:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541868 -3.635447)'), GeomFromEWKT('SRID=4674;POINT (-38.541879 -3.635458)'))) / (select extract(epoch from '2026-07-18 18:15:59'::timestamp) - extract(epoch from '2026-07-18 18:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541868 -3.635447)'), GeomFromEWKT('SRID=4674;POINT (-38.541879 -3.635458)'))) / (select extract(epoch from '2026-07-18 18:15:59'::timestamp) - extract(epoch from '2026-07-18 18:15:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541926 -3.635538)', '2026-07-18 18:16:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541879 -3.635458)'), GeomFromEWKT('SRID=4674;POINT (-38.541926 -3.635538)'))) / (select extract(epoch from '2026-07-18 18:16:04'::timestamp) - extract(epoch from '2026-07-18 18:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541879 -3.635458)'), GeomFromEWKT('SRID=4674;POINT (-38.541926 -3.635538)'))) / (select extract(epoch from '2026-07-18 18:16:04'::timestamp) - extract(epoch from '2026-07-18 18:15:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541976 -3.635661)', '2026-07-18 18:16:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541926 -3.635538)'), GeomFromEWKT('SRID=4674;POINT (-38.541976 -3.635661)'))) / (select extract(epoch from '2026-07-18 18:16:12'::timestamp) - extract(epoch from '2026-07-18 18:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541926 -3.635538)'), GeomFromEWKT('SRID=4674;POINT (-38.541976 -3.635661)'))) / (select extract(epoch from '2026-07-18 18:16:12'::timestamp) - extract(epoch from '2026-07-18 18:16:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541985 -3.635717)', '2026-07-18 18:16:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541976 -3.635661)'), GeomFromEWKT('SRID=4674;POINT (-38.541985 -3.635717)'))) / (select extract(epoch from '2026-07-18 18:16:16'::timestamp) - extract(epoch from '2026-07-18 18:16:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541976 -3.635661)'), GeomFromEWKT('SRID=4674;POINT (-38.541985 -3.635717)'))) / (select extract(epoch from '2026-07-18 18:16:16'::timestamp) - extract(epoch from '2026-07-18 18:16:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541992 -3.635733)', '2026-07-18 18:16:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541985 -3.635717)'), GeomFromEWKT('SRID=4674;POINT (-38.541992 -3.635733)'))) / (select extract(epoch from '2026-07-18 18:16:17'::timestamp) - extract(epoch from '2026-07-18 18:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541985 -3.635717)'), GeomFromEWKT('SRID=4674;POINT (-38.541992 -3.635733)'))) / (select extract(epoch from '2026-07-18 18:16:17'::timestamp) - extract(epoch from '2026-07-18 18:16:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542009 -3.635807)', '2026-07-18 18:16:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541992 -3.635733)'), GeomFromEWKT('SRID=4674;POINT (-38.542009 -3.635807)'))) / (select extract(epoch from '2026-07-18 18:16:22'::timestamp) - extract(epoch from '2026-07-18 18:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541992 -3.635733)'), GeomFromEWKT('SRID=4674;POINT (-38.542009 -3.635807)'))) / (select extract(epoch from '2026-07-18 18:16:22'::timestamp) - extract(epoch from '2026-07-18 18:16:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542035 -3.635854)', '2026-07-18 18:16:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542009 -3.635807)'), GeomFromEWKT('SRID=4674;POINT (-38.542035 -3.635854)'))) / (select extract(epoch from '2026-07-18 18:16:27'::timestamp) - extract(epoch from '2026-07-18 18:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542009 -3.635807)'), GeomFromEWKT('SRID=4674;POINT (-38.542035 -3.635854)'))) / (select extract(epoch from '2026-07-18 18:16:27'::timestamp) - extract(epoch from '2026-07-18 18:16:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542091 -3.635921)', '2026-07-18 18:16:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542035 -3.635854)'), GeomFromEWKT('SRID=4674;POINT (-38.542091 -3.635921)'))) / (select extract(epoch from '2026-07-18 18:16:33'::timestamp) - extract(epoch from '2026-07-18 18:16:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542035 -3.635854)'), GeomFromEWKT('SRID=4674;POINT (-38.542091 -3.635921)'))) / (select extract(epoch from '2026-07-18 18:16:33'::timestamp) - extract(epoch from '2026-07-18 18:16:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542157 -3.636006)', '2026-07-18 18:16:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542091 -3.635921)'), GeomFromEWKT('SRID=4674;POINT (-38.542157 -3.636006)'))) / (select extract(epoch from '2026-07-18 18:16:39'::timestamp) - extract(epoch from '2026-07-18 18:16:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542091 -3.635921)'), GeomFromEWKT('SRID=4674;POINT (-38.542157 -3.636006)'))) / (select extract(epoch from '2026-07-18 18:16:39'::timestamp) - extract(epoch from '2026-07-18 18:16:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542207 -3.63611)', '2026-07-18 18:16:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542157 -3.636006)'), GeomFromEWKT('SRID=4674;POINT (-38.542207 -3.63611)'))) / (select extract(epoch from '2026-07-18 18:16:46'::timestamp) - extract(epoch from '2026-07-18 18:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542157 -3.636006)'), GeomFromEWKT('SRID=4674;POINT (-38.542207 -3.63611)'))) / (select extract(epoch from '2026-07-18 18:16:46'::timestamp) - extract(epoch from '2026-07-18 18:16:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542215 -3.63615)', '2026-07-18 18:16:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542207 -3.63611)'), GeomFromEWKT('SRID=4674;POINT (-38.542215 -3.63615)'))) / (select extract(epoch from '2026-07-18 18:16:49'::timestamp) - extract(epoch from '2026-07-18 18:16:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542207 -3.63611)'), GeomFromEWKT('SRID=4674;POINT (-38.542215 -3.63615)'))) / (select extract(epoch from '2026-07-18 18:16:49'::timestamp) - extract(epoch from '2026-07-18 18:16:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542229 -3.636174)', '2026-07-18 18:16:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542215 -3.63615)'), GeomFromEWKT('SRID=4674;POINT (-38.542229 -3.636174)'))) / (select extract(epoch from '2026-07-18 18:16:51'::timestamp) - extract(epoch from '2026-07-18 18:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542215 -3.63615)'), GeomFromEWKT('SRID=4674;POINT (-38.542229 -3.636174)'))) / (select extract(epoch from '2026-07-18 18:16:51'::timestamp) - extract(epoch from '2026-07-18 18:16:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542233 -3.636203)', '2026-07-18 18:16:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542229 -3.636174)'), GeomFromEWKT('SRID=4674;POINT (-38.542233 -3.636203)'))) / (select extract(epoch from '2026-07-18 18:16:53'::timestamp) - extract(epoch from '2026-07-18 18:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542229 -3.636174)'), GeomFromEWKT('SRID=4674;POINT (-38.542233 -3.636203)'))) / (select extract(epoch from '2026-07-18 18:16:53'::timestamp) - extract(epoch from '2026-07-18 18:16:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542255 -3.636237)', '2026-07-18 18:16:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542233 -3.636203)'), GeomFromEWKT('SRID=4674;POINT (-38.542255 -3.636237)'))) / (select extract(epoch from '2026-07-18 18:16:56'::timestamp) - extract(epoch from '2026-07-18 18:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542233 -3.636203)'), GeomFromEWKT('SRID=4674;POINT (-38.542255 -3.636237)'))) / (select extract(epoch from '2026-07-18 18:16:56'::timestamp) - extract(epoch from '2026-07-18 18:16:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542262 -3.636261)', '2026-07-18 18:16:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542255 -3.636237)'), GeomFromEWKT('SRID=4674;POINT (-38.542262 -3.636261)'))) / (select extract(epoch from '2026-07-18 18:16:58'::timestamp) - extract(epoch from '2026-07-18 18:16:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542255 -3.636237)'), GeomFromEWKT('SRID=4674;POINT (-38.542262 -3.636261)'))) / (select extract(epoch from '2026-07-18 18:16:58'::timestamp) - extract(epoch from '2026-07-18 18:16:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542285 -3.636301)', '2026-07-18 18:17:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542262 -3.636261)'), GeomFromEWKT('SRID=4674;POINT (-38.542285 -3.636301)'))) / (select extract(epoch from '2026-07-18 18:17:01'::timestamp) - extract(epoch from '2026-07-18 18:16:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542262 -3.636261)'), GeomFromEWKT('SRID=4674;POINT (-38.542285 -3.636301)'))) / (select extract(epoch from '2026-07-18 18:17:01'::timestamp) - extract(epoch from '2026-07-18 18:16:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542331 -3.636371)', '2026-07-18 18:17:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542285 -3.636301)'), GeomFromEWKT('SRID=4674;POINT (-38.542331 -3.636371)'))) / (select extract(epoch from '2026-07-18 18:17:05'::timestamp) - extract(epoch from '2026-07-18 18:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542285 -3.636301)'), GeomFromEWKT('SRID=4674;POINT (-38.542331 -3.636371)'))) / (select extract(epoch from '2026-07-18 18:17:05'::timestamp) - extract(epoch from '2026-07-18 18:17:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542342 -3.636402)', '2026-07-18 18:17:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542331 -3.636371)'), GeomFromEWKT('SRID=4674;POINT (-38.542342 -3.636402)'))) / (select extract(epoch from '2026-07-18 18:17:07'::timestamp) - extract(epoch from '2026-07-18 18:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542331 -3.636371)'), GeomFromEWKT('SRID=4674;POINT (-38.542342 -3.636402)'))) / (select extract(epoch from '2026-07-18 18:17:07'::timestamp) - extract(epoch from '2026-07-18 18:17:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542364 -3.63643)', '2026-07-18 18:17:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542342 -3.636402)'), GeomFromEWKT('SRID=4674;POINT (-38.542364 -3.63643)'))) / (select extract(epoch from '2026-07-18 18:17:09'::timestamp) - extract(epoch from '2026-07-18 18:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542342 -3.636402)'), GeomFromEWKT('SRID=4674;POINT (-38.542364 -3.63643)'))) / (select extract(epoch from '2026-07-18 18:17:09'::timestamp) - extract(epoch from '2026-07-18 18:17:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.54237 -3.636492)', '2026-07-18 18:17:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542364 -3.63643)'), GeomFromEWKT('SRID=4674;POINT (-38.54237 -3.636492)'))) / (select extract(epoch from '2026-07-18 18:17:13'::timestamp) - extract(epoch from '2026-07-18 18:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542364 -3.63643)'), GeomFromEWKT('SRID=4674;POINT (-38.54237 -3.636492)'))) / (select extract(epoch from '2026-07-18 18:17:13'::timestamp) - extract(epoch from '2026-07-18 18:17:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542378 -3.636505)', '2026-07-18 18:17:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54237 -3.636492)'), GeomFromEWKT('SRID=4674;POINT (-38.542378 -3.636505)'))) / (select extract(epoch from '2026-07-18 18:17:14'::timestamp) - extract(epoch from '2026-07-18 18:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54237 -3.636492)'), GeomFromEWKT('SRID=4674;POINT (-38.542378 -3.636505)'))) / (select extract(epoch from '2026-07-18 18:17:14'::timestamp) - extract(epoch from '2026-07-18 18:17:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.5424 -3.636557)', '2026-07-18 18:17:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542378 -3.636505)'), GeomFromEWKT('SRID=4674;POINT (-38.5424 -3.636557)'))) / (select extract(epoch from '2026-07-18 18:17:18'::timestamp) - extract(epoch from '2026-07-18 18:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542378 -3.636505)'), GeomFromEWKT('SRID=4674;POINT (-38.5424 -3.636557)'))) / (select extract(epoch from '2026-07-18 18:17:18'::timestamp) - extract(epoch from '2026-07-18 18:17:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542399 -3.636572)', '2026-07-18 18:17:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5424 -3.636557)'), GeomFromEWKT('SRID=4674;POINT (-38.542399 -3.636572)'))) / (select extract(epoch from '2026-07-18 18:17:19'::timestamp) - extract(epoch from '2026-07-18 18:17:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5424 -3.636557)'), GeomFromEWKT('SRID=4674;POINT (-38.542399 -3.636572)'))) / (select extract(epoch from '2026-07-18 18:17:19'::timestamp) - extract(epoch from '2026-07-18 18:17:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542407 -3.636586)', '2026-07-18 18:17:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542399 -3.636572)'), GeomFromEWKT('SRID=4674;POINT (-38.542407 -3.636586)'))) / (select extract(epoch from '2026-07-18 18:17:20'::timestamp) - extract(epoch from '2026-07-18 18:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542399 -3.636572)'), GeomFromEWKT('SRID=4674;POINT (-38.542407 -3.636586)'))) / (select extract(epoch from '2026-07-18 18:17:20'::timestamp) - extract(epoch from '2026-07-18 18:17:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542434 -3.636625)', '2026-07-18 18:17:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542407 -3.636586)'), GeomFromEWKT('SRID=4674;POINT (-38.542434 -3.636625)'))) / (select extract(epoch from '2026-07-18 18:17:23'::timestamp) - extract(epoch from '2026-07-18 18:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542407 -3.636586)'), GeomFromEWKT('SRID=4674;POINT (-38.542434 -3.636625)'))) / (select extract(epoch from '2026-07-18 18:17:23'::timestamp) - extract(epoch from '2026-07-18 18:17:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542472 -3.63671)', '2026-07-18 18:17:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542434 -3.636625)'), GeomFromEWKT('SRID=4674;POINT (-38.542472 -3.63671)'))) / (select extract(epoch from '2026-07-18 18:17:29'::timestamp) - extract(epoch from '2026-07-18 18:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542434 -3.636625)'), GeomFromEWKT('SRID=4674;POINT (-38.542472 -3.63671)'))) / (select extract(epoch from '2026-07-18 18:17:29'::timestamp) - extract(epoch from '2026-07-18 18:17:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542523 -3.636798)', '2026-07-18 18:17:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542472 -3.63671)'), GeomFromEWKT('SRID=4674;POINT (-38.542523 -3.636798)'))) / (select extract(epoch from '2026-07-18 18:17:35'::timestamp) - extract(epoch from '2026-07-18 18:17:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542472 -3.63671)'), GeomFromEWKT('SRID=4674;POINT (-38.542523 -3.636798)'))) / (select extract(epoch from '2026-07-18 18:17:35'::timestamp) - extract(epoch from '2026-07-18 18:17:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542555 -3.636881)', '2026-07-18 18:17:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542523 -3.636798)'), GeomFromEWKT('SRID=4674;POINT (-38.542555 -3.636881)'))) / (select extract(epoch from '2026-07-18 18:17:41'::timestamp) - extract(epoch from '2026-07-18 18:17:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542523 -3.636798)'), GeomFromEWKT('SRID=4674;POINT (-38.542555 -3.636881)'))) / (select extract(epoch from '2026-07-18 18:17:41'::timestamp) - extract(epoch from '2026-07-18 18:17:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542572 -3.636947)', '2026-07-18 18:17:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542555 -3.636881)'), GeomFromEWKT('SRID=4674;POINT (-38.542572 -3.636947)'))) / (select extract(epoch from '2026-07-18 18:17:47'::timestamp) - extract(epoch from '2026-07-18 18:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542555 -3.636881)'), GeomFromEWKT('SRID=4674;POINT (-38.542572 -3.636947)'))) / (select extract(epoch from '2026-07-18 18:17:47'::timestamp) - extract(epoch from '2026-07-18 18:17:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542579 -3.636976)', '2026-07-18 18:17:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542572 -3.636947)'), GeomFromEWKT('SRID=4674;POINT (-38.542579 -3.636976)'))) / (select extract(epoch from '2026-07-18 18:17:52'::timestamp) - extract(epoch from '2026-07-18 18:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542572 -3.636947)'), GeomFromEWKT('SRID=4674;POINT (-38.542579 -3.636976)'))) / (select extract(epoch from '2026-07-18 18:17:52'::timestamp) - extract(epoch from '2026-07-18 18:17:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542598 -3.637)', '2026-07-18 18:17:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542579 -3.636976)'), GeomFromEWKT('SRID=4674;POINT (-38.542598 -3.637)'))) / (select extract(epoch from '2026-07-18 18:17:58'::timestamp) - extract(epoch from '2026-07-18 18:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542579 -3.636976)'), GeomFromEWKT('SRID=4674;POINT (-38.542598 -3.637)'))) / (select extract(epoch from '2026-07-18 18:17:58'::timestamp) - extract(epoch from '2026-07-18 18:17:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542635 -3.637017)', '2026-07-18 18:18:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542598 -3.637)'), GeomFromEWKT('SRID=4674;POINT (-38.542635 -3.637017)'))) / (select extract(epoch from '2026-07-18 18:18:04'::timestamp) - extract(epoch from '2026-07-18 18:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542598 -3.637)'), GeomFromEWKT('SRID=4674;POINT (-38.542635 -3.637017)'))) / (select extract(epoch from '2026-07-18 18:18:04'::timestamp) - extract(epoch from '2026-07-18 18:17:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542703 -3.63707)', '2026-07-18 18:18:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542635 -3.637017)'), GeomFromEWKT('SRID=4674;POINT (-38.542703 -3.63707)'))) / (select extract(epoch from '2026-07-18 18:18:11'::timestamp) - extract(epoch from '2026-07-18 18:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542635 -3.637017)'), GeomFromEWKT('SRID=4674;POINT (-38.542703 -3.63707)'))) / (select extract(epoch from '2026-07-18 18:18:11'::timestamp) - extract(epoch from '2026-07-18 18:18:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542741 -3.637126)', '2026-07-18 18:18:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542703 -3.63707)'), GeomFromEWKT('SRID=4674;POINT (-38.542741 -3.637126)'))) / (select extract(epoch from '2026-07-18 18:18:17'::timestamp) - extract(epoch from '2026-07-18 18:18:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542703 -3.63707)'), GeomFromEWKT('SRID=4674;POINT (-38.542741 -3.637126)'))) / (select extract(epoch from '2026-07-18 18:18:17'::timestamp) - extract(epoch from '2026-07-18 18:18:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542778 -3.637176)', '2026-07-18 18:18:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542741 -3.637126)'), GeomFromEWKT('SRID=4674;POINT (-38.542778 -3.637176)'))) / (select extract(epoch from '2026-07-18 18:18:23'::timestamp) - extract(epoch from '2026-07-18 18:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542741 -3.637126)'), GeomFromEWKT('SRID=4674;POINT (-38.542778 -3.637176)'))) / (select extract(epoch from '2026-07-18 18:18:23'::timestamp) - extract(epoch from '2026-07-18 18:18:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542811 -3.637223)', '2026-07-18 18:18:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542778 -3.637176)'), GeomFromEWKT('SRID=4674;POINT (-38.542811 -3.637223)'))) / (select extract(epoch from '2026-07-18 18:18:29'::timestamp) - extract(epoch from '2026-07-18 18:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542778 -3.637176)'), GeomFromEWKT('SRID=4674;POINT (-38.542811 -3.637223)'))) / (select extract(epoch from '2026-07-18 18:18:29'::timestamp) - extract(epoch from '2026-07-18 18:18:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542863 -3.637255)', '2026-07-18 18:18:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542811 -3.637223)'), GeomFromEWKT('SRID=4674;POINT (-38.542863 -3.637255)'))) / (select extract(epoch from '2026-07-18 18:18:37'::timestamp) - extract(epoch from '2026-07-18 18:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542811 -3.637223)'), GeomFromEWKT('SRID=4674;POINT (-38.542863 -3.637255)'))) / (select extract(epoch from '2026-07-18 18:18:37'::timestamp) - extract(epoch from '2026-07-18 18:18:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542921 -3.637261)', '2026-07-18 18:18:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542863 -3.637255)'), GeomFromEWKT('SRID=4674;POINT (-38.542921 -3.637261)'))) / (select extract(epoch from '2026-07-18 18:18:46'::timestamp) - extract(epoch from '2026-07-18 18:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542863 -3.637255)'), GeomFromEWKT('SRID=4674;POINT (-38.542921 -3.637261)'))) / (select extract(epoch from '2026-07-18 18:18:46'::timestamp) - extract(epoch from '2026-07-18 18:18:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542987 -3.637277)', '2026-07-18 18:18:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542921 -3.637261)'), GeomFromEWKT('SRID=4674;POINT (-38.542987 -3.637277)'))) / (select extract(epoch from '2026-07-18 18:18:54'::timestamp) - extract(epoch from '2026-07-18 18:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542921 -3.637261)'), GeomFromEWKT('SRID=4674;POINT (-38.542987 -3.637277)'))) / (select extract(epoch from '2026-07-18 18:18:54'::timestamp) - extract(epoch from '2026-07-18 18:18:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.543051 -3.637322)', '2026-07-18 18:19:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542987 -3.637277)'), GeomFromEWKT('SRID=4674;POINT (-38.543051 -3.637322)'))) / (select extract(epoch from '2026-07-18 18:19:02'::timestamp) - extract(epoch from '2026-07-18 18:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542987 -3.637277)'), GeomFromEWKT('SRID=4674;POINT (-38.543051 -3.637322)'))) / (select extract(epoch from '2026-07-18 18:19:02'::timestamp) - extract(epoch from '2026-07-18 18:18:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.543086 -3.637343)', '2026-07-18 18:19:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543051 -3.637322)'), GeomFromEWKT('SRID=4674;POINT (-38.543086 -3.637343)'))) / (select extract(epoch from '2026-07-18 18:19:07'::timestamp) - extract(epoch from '2026-07-18 18:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543051 -3.637322)'), GeomFromEWKT('SRID=4674;POINT (-38.543086 -3.637343)'))) / (select extract(epoch from '2026-07-18 18:19:07'::timestamp) - extract(epoch from '2026-07-18 18:19:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.543122 -3.637386)', '2026-07-18 18:19:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543086 -3.637343)'), GeomFromEWKT('SRID=4674;POINT (-38.543122 -3.637386)'))) / (select extract(epoch from '2026-07-18 18:19:13'::timestamp) - extract(epoch from '2026-07-18 18:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543086 -3.637343)'), GeomFromEWKT('SRID=4674;POINT (-38.543122 -3.637386)'))) / (select extract(epoch from '2026-07-18 18:19:13'::timestamp) - extract(epoch from '2026-07-18 18:19:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.543163 -3.637426)', '2026-07-18 18:19:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543122 -3.637386)'), GeomFromEWKT('SRID=4674;POINT (-38.543163 -3.637426)'))) / (select extract(epoch from '2026-07-18 18:19:19'::timestamp) - extract(epoch from '2026-07-18 18:19:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543122 -3.637386)'), GeomFromEWKT('SRID=4674;POINT (-38.543163 -3.637426)'))) / (select extract(epoch from '2026-07-18 18:19:19'::timestamp) - extract(epoch from '2026-07-18 18:19:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.543191 -3.637462)', '2026-07-18 18:19:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543163 -3.637426)'), GeomFromEWKT('SRID=4674;POINT (-38.543191 -3.637462)'))) / (select extract(epoch from '2026-07-18 18:19:23'::timestamp) - extract(epoch from '2026-07-18 18:19:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543163 -3.637426)'), GeomFromEWKT('SRID=4674;POINT (-38.543191 -3.637462)'))) / (select extract(epoch from '2026-07-18 18:19:23'::timestamp) - extract(epoch from '2026-07-18 18:19:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.543195 -3.637476)', '2026-07-18 18:19:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543191 -3.637462)'), GeomFromEWKT('SRID=4674;POINT (-38.543195 -3.637476)'))) / (select extract(epoch from '2026-07-18 18:19:25'::timestamp) - extract(epoch from '2026-07-18 18:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543191 -3.637462)'), GeomFromEWKT('SRID=4674;POINT (-38.543195 -3.637476)'))) / (select extract(epoch from '2026-07-18 18:19:25'::timestamp) - extract(epoch from '2026-07-18 18:19:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.543233 -3.637541)', '2026-07-18 18:19:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543195 -3.637476)'), GeomFromEWKT('SRID=4674;POINT (-38.543233 -3.637541)'))) / (select extract(epoch from '2026-07-18 18:19:33'::timestamp) - extract(epoch from '2026-07-18 18:19:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543195 -3.637476)'), GeomFromEWKT('SRID=4674;POINT (-38.543233 -3.637541)'))) / (select extract(epoch from '2026-07-18 18:19:33'::timestamp) - extract(epoch from '2026-07-18 18:19:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.543288 -3.637602)', '2026-07-18 18:19:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543233 -3.637541)'), GeomFromEWKT('SRID=4674;POINT (-38.543288 -3.637602)'))) / (select extract(epoch from '2026-07-18 18:19:42'::timestamp) - extract(epoch from '2026-07-18 18:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543233 -3.637541)'), GeomFromEWKT('SRID=4674;POINT (-38.543288 -3.637602)'))) / (select extract(epoch from '2026-07-18 18:19:42'::timestamp) - extract(epoch from '2026-07-18 18:19:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.543302 -3.637626)', '2026-07-18 18:19:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543288 -3.637602)'), GeomFromEWKT('SRID=4674;POINT (-38.543302 -3.637626)'))) / (select extract(epoch from '2026-07-18 18:19:45'::timestamp) - extract(epoch from '2026-07-18 18:19:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543288 -3.637602)'), GeomFromEWKT('SRID=4674;POINT (-38.543302 -3.637626)'))) / (select extract(epoch from '2026-07-18 18:19:45'::timestamp) - extract(epoch from '2026-07-18 18:19:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.543324 -3.637651)', '2026-07-18 18:19:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543302 -3.637626)'), GeomFromEWKT('SRID=4674;POINT (-38.543324 -3.637651)'))) / (select extract(epoch from '2026-07-18 18:19:49'::timestamp) - extract(epoch from '2026-07-18 18:19:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543302 -3.637626)'), GeomFromEWKT('SRID=4674;POINT (-38.543324 -3.637651)'))) / (select extract(epoch from '2026-07-18 18:19:49'::timestamp) - extract(epoch from '2026-07-18 18:19:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.54337 -3.637706)', '2026-07-18 18:19:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543324 -3.637651)'), GeomFromEWKT('SRID=4674;POINT (-38.54337 -3.637706)'))) / (select extract(epoch from '2026-07-18 18:19:58'::timestamp) - extract(epoch from '2026-07-18 18:19:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543324 -3.637651)'), GeomFromEWKT('SRID=4674;POINT (-38.54337 -3.637706)'))) / (select extract(epoch from '2026-07-18 18:19:58'::timestamp) - extract(epoch from '2026-07-18 18:19:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.543425 -3.637769)', '2026-07-18 18:20:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54337 -3.637706)'), GeomFromEWKT('SRID=4674;POINT (-38.543425 -3.637769)'))) / (select extract(epoch from '2026-07-18 18:20:08'::timestamp) - extract(epoch from '2026-07-18 18:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54337 -3.637706)'), GeomFromEWKT('SRID=4674;POINT (-38.543425 -3.637769)'))) / (select extract(epoch from '2026-07-18 18:20:08'::timestamp) - extract(epoch from '2026-07-18 18:19:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.543456 -3.637798)', '2026-07-18 18:20:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543425 -3.637769)'), GeomFromEWKT('SRID=4674;POINT (-38.543456 -3.637798)'))) / (select extract(epoch from '2026-07-18 18:20:15'::timestamp) - extract(epoch from '2026-07-18 18:20:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543425 -3.637769)'), GeomFromEWKT('SRID=4674;POINT (-38.543456 -3.637798)'))) / (select extract(epoch from '2026-07-18 18:20:15'::timestamp) - extract(epoch from '2026-07-18 18:20:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.543478 -3.637803)', '2026-07-18 18:20:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543456 -3.637798)'), GeomFromEWKT('SRID=4674;POINT (-38.543478 -3.637803)'))) / (select extract(epoch from '2026-07-18 18:20:21'::timestamp) - extract(epoch from '2026-07-18 18:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543456 -3.637798)'), GeomFromEWKT('SRID=4674;POINT (-38.543478 -3.637803)'))) / (select extract(epoch from '2026-07-18 18:20:21'::timestamp) - extract(epoch from '2026-07-18 18:20:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.543499 -3.637807)', '2026-07-18 18:20:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543478 -3.637803)'), GeomFromEWKT('SRID=4674;POINT (-38.543499 -3.637807)'))) / (select extract(epoch from '2026-07-18 18:20:24'::timestamp) - extract(epoch from '2026-07-18 18:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543478 -3.637803)'), GeomFromEWKT('SRID=4674;POINT (-38.543499 -3.637807)'))) / (select extract(epoch from '2026-07-18 18:20:24'::timestamp) - extract(epoch from '2026-07-18 18:20:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.543553 -3.637798)', '2026-07-18 18:20:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543499 -3.637807)'), GeomFromEWKT('SRID=4674;POINT (-38.543553 -3.637798)'))) / (select extract(epoch from '2026-07-18 18:20:31'::timestamp) - extract(epoch from '2026-07-18 18:20:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543499 -3.637807)'), GeomFromEWKT('SRID=4674;POINT (-38.543553 -3.637798)'))) / (select extract(epoch from '2026-07-18 18:20:31'::timestamp) - extract(epoch from '2026-07-18 18:20:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.543591 -3.637774)', '2026-07-18 18:20:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543553 -3.637798)'), GeomFromEWKT('SRID=4674;POINT (-38.543591 -3.637774)'))) / (select extract(epoch from '2026-07-18 18:20:39'::timestamp) - extract(epoch from '2026-07-18 18:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543553 -3.637798)'), GeomFromEWKT('SRID=4674;POINT (-38.543591 -3.637774)'))) / (select extract(epoch from '2026-07-18 18:20:39'::timestamp) - extract(epoch from '2026-07-18 18:20:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.543629 -3.637755)', '2026-07-18 18:20:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543591 -3.637774)'), GeomFromEWKT('SRID=4674;POINT (-38.543629 -3.637755)'))) / (select extract(epoch from '2026-07-18 18:20:46'::timestamp) - extract(epoch from '2026-07-18 18:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543591 -3.637774)'), GeomFromEWKT('SRID=4674;POINT (-38.543629 -3.637755)'))) / (select extract(epoch from '2026-07-18 18:20:46'::timestamp) - extract(epoch from '2026-07-18 18:20:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.543697 -3.637738)', '2026-07-18 18:20:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543629 -3.637755)'), GeomFromEWKT('SRID=4674;POINT (-38.543697 -3.637738)'))) / (select extract(epoch from '2026-07-18 18:20:55'::timestamp) - extract(epoch from '2026-07-18 18:20:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543629 -3.637755)'), GeomFromEWKT('SRID=4674;POINT (-38.543697 -3.637738)'))) / (select extract(epoch from '2026-07-18 18:20:55'::timestamp) - extract(epoch from '2026-07-18 18:20:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.543765 -3.637721)', '2026-07-18 18:21:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543697 -3.637738)'), GeomFromEWKT('SRID=4674;POINT (-38.543765 -3.637721)'))) / (select extract(epoch from '2026-07-18 18:21:05'::timestamp) - extract(epoch from '2026-07-18 18:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543697 -3.637738)'), GeomFromEWKT('SRID=4674;POINT (-38.543765 -3.637721)'))) / (select extract(epoch from '2026-07-18 18:21:05'::timestamp) - extract(epoch from '2026-07-18 18:20:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.543847 -3.637712)', '2026-07-18 18:21:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543765 -3.637721)'), GeomFromEWKT('SRID=4674;POINT (-38.543847 -3.637712)'))) / (select extract(epoch from '2026-07-18 18:21:16'::timestamp) - extract(epoch from '2026-07-18 18:21:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543765 -3.637721)'), GeomFromEWKT('SRID=4674;POINT (-38.543847 -3.637712)'))) / (select extract(epoch from '2026-07-18 18:21:16'::timestamp) - extract(epoch from '2026-07-18 18:21:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.543889 -3.637701)', '2026-07-18 18:21:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543847 -3.637712)'), GeomFromEWKT('SRID=4674;POINT (-38.543889 -3.637701)'))) / (select extract(epoch from '2026-07-18 18:21:20'::timestamp) - extract(epoch from '2026-07-18 18:21:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543847 -3.637712)'), GeomFromEWKT('SRID=4674;POINT (-38.543889 -3.637701)'))) / (select extract(epoch from '2026-07-18 18:21:20'::timestamp) - extract(epoch from '2026-07-18 18:21:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.543912 -3.637697)', '2026-07-18 18:21:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543889 -3.637701)'), GeomFromEWKT('SRID=4674;POINT (-38.543912 -3.637697)'))) / (select extract(epoch from '2026-07-18 18:21:23'::timestamp) - extract(epoch from '2026-07-18 18:21:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543889 -3.637701)'), GeomFromEWKT('SRID=4674;POINT (-38.543912 -3.637697)'))) / (select extract(epoch from '2026-07-18 18:21:23'::timestamp) - extract(epoch from '2026-07-18 18:21:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.543931 -3.637691)', '2026-07-18 18:21:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543912 -3.637697)'), GeomFromEWKT('SRID=4674;POINT (-38.543931 -3.637691)'))) / (select extract(epoch from '2026-07-18 18:21:25'::timestamp) - extract(epoch from '2026-07-18 18:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543912 -3.637697)'), GeomFromEWKT('SRID=4674;POINT (-38.543931 -3.637691)'))) / (select extract(epoch from '2026-07-18 18:21:25'::timestamp) - extract(epoch from '2026-07-18 18:21:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.543959 -3.637694)', '2026-07-18 18:21:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543931 -3.637691)'), GeomFromEWKT('SRID=4674;POINT (-38.543959 -3.637694)'))) / (select extract(epoch from '2026-07-18 18:21:28'::timestamp) - extract(epoch from '2026-07-18 18:21:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543931 -3.637691)'), GeomFromEWKT('SRID=4674;POINT (-38.543959 -3.637694)'))) / (select extract(epoch from '2026-07-18 18:21:28'::timestamp) - extract(epoch from '2026-07-18 18:21:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.544003 -3.637695)', '2026-07-18 18:21:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543959 -3.637694)'), GeomFromEWKT('SRID=4674;POINT (-38.544003 -3.637695)'))) / (select extract(epoch from '2026-07-18 18:21:34'::timestamp) - extract(epoch from '2026-07-18 18:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543959 -3.637694)'), GeomFromEWKT('SRID=4674;POINT (-38.544003 -3.637695)'))) / (select extract(epoch from '2026-07-18 18:21:34'::timestamp) - extract(epoch from '2026-07-18 18:21:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.544049 -3.637693)', '2026-07-18 18:21:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544003 -3.637695)'), GeomFromEWKT('SRID=4674;POINT (-38.544049 -3.637693)'))) / (select extract(epoch from '2026-07-18 18:21:41'::timestamp) - extract(epoch from '2026-07-18 18:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544003 -3.637695)'), GeomFromEWKT('SRID=4674;POINT (-38.544049 -3.637693)'))) / (select extract(epoch from '2026-07-18 18:21:41'::timestamp) - extract(epoch from '2026-07-18 18:21:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.544118 -3.637687)', '2026-07-18 18:21:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544049 -3.637693)'), GeomFromEWKT('SRID=4674;POINT (-38.544118 -3.637687)'))) / (select extract(epoch from '2026-07-18 18:21:51'::timestamp) - extract(epoch from '2026-07-18 18:21:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544049 -3.637693)'), GeomFromEWKT('SRID=4674;POINT (-38.544118 -3.637687)'))) / (select extract(epoch from '2026-07-18 18:21:51'::timestamp) - extract(epoch from '2026-07-18 18:21:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.544161 -3.637678)', '2026-07-18 18:21:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544118 -3.637687)'), GeomFromEWKT('SRID=4674;POINT (-38.544161 -3.637678)'))) / (select extract(epoch from '2026-07-18 18:21:58'::timestamp) - extract(epoch from '2026-07-18 18:21:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544118 -3.637687)'), GeomFromEWKT('SRID=4674;POINT (-38.544161 -3.637678)'))) / (select extract(epoch from '2026-07-18 18:21:58'::timestamp) - extract(epoch from '2026-07-18 18:21:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.544215 -3.637668)', '2026-07-18 18:22:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544161 -3.637678)'), GeomFromEWKT('SRID=4674;POINT (-38.544215 -3.637668)'))) / (select extract(epoch from '2026-07-18 18:22:05'::timestamp) - extract(epoch from '2026-07-18 18:21:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544161 -3.637678)'), GeomFromEWKT('SRID=4674;POINT (-38.544215 -3.637668)'))) / (select extract(epoch from '2026-07-18 18:22:05'::timestamp) - extract(epoch from '2026-07-18 18:21:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.544252 -3.637664)', '2026-07-18 18:22:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544215 -3.637668)'), GeomFromEWKT('SRID=4674;POINT (-38.544252 -3.637664)'))) / (select extract(epoch from '2026-07-18 18:22:10'::timestamp) - extract(epoch from '2026-07-18 18:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544215 -3.637668)'), GeomFromEWKT('SRID=4674;POINT (-38.544252 -3.637664)'))) / (select extract(epoch from '2026-07-18 18:22:10'::timestamp) - extract(epoch from '2026-07-18 18:22:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.544286 -3.637649)', '2026-07-18 18:22:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544252 -3.637664)'), GeomFromEWKT('SRID=4674;POINT (-38.544286 -3.637649)'))) / (select extract(epoch from '2026-07-18 18:22:15'::timestamp) - extract(epoch from '2026-07-18 18:22:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544252 -3.637664)'), GeomFromEWKT('SRID=4674;POINT (-38.544286 -3.637649)'))) / (select extract(epoch from '2026-07-18 18:22:15'::timestamp) - extract(epoch from '2026-07-18 18:22:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.544328 -3.63764)', '2026-07-18 18:22:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544286 -3.637649)'), GeomFromEWKT('SRID=4674;POINT (-38.544328 -3.63764)'))) / (select extract(epoch from '2026-07-18 18:22:20'::timestamp) - extract(epoch from '2026-07-18 18:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544286 -3.637649)'), GeomFromEWKT('SRID=4674;POINT (-38.544328 -3.63764)'))) / (select extract(epoch from '2026-07-18 18:22:20'::timestamp) - extract(epoch from '2026-07-18 18:22:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.544372 -3.637635)', '2026-07-18 18:22:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544328 -3.63764)'), GeomFromEWKT('SRID=4674;POINT (-38.544372 -3.637635)'))) / (select extract(epoch from '2026-07-18 18:22:26'::timestamp) - extract(epoch from '2026-07-18 18:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544328 -3.63764)'), GeomFromEWKT('SRID=4674;POINT (-38.544372 -3.637635)'))) / (select extract(epoch from '2026-07-18 18:22:26'::timestamp) - extract(epoch from '2026-07-18 18:22:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.544388 -3.637622)', '2026-07-18 18:22:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544372 -3.637635)'), GeomFromEWKT('SRID=4674;POINT (-38.544388 -3.637622)'))) / (select extract(epoch from '2026-07-18 18:22:29'::timestamp) - extract(epoch from '2026-07-18 18:22:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544372 -3.637635)'), GeomFromEWKT('SRID=4674;POINT (-38.544388 -3.637622)'))) / (select extract(epoch from '2026-07-18 18:22:29'::timestamp) - extract(epoch from '2026-07-18 18:22:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.544417 -3.637624)', '2026-07-18 18:22:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544388 -3.637622)'), GeomFromEWKT('SRID=4674;POINT (-38.544417 -3.637624)'))) / (select extract(epoch from '2026-07-18 18:22:32'::timestamp) - extract(epoch from '2026-07-18 18:22:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544388 -3.637622)'), GeomFromEWKT('SRID=4674;POINT (-38.544417 -3.637624)'))) / (select extract(epoch from '2026-07-18 18:22:32'::timestamp) - extract(epoch from '2026-07-18 18:22:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.544482 -3.637603)', '2026-07-18 18:22:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544417 -3.637624)'), GeomFromEWKT('SRID=4674;POINT (-38.544482 -3.637603)'))) / (select extract(epoch from '2026-07-18 18:22:43'::timestamp) - extract(epoch from '2026-07-18 18:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544417 -3.637624)'), GeomFromEWKT('SRID=4674;POINT (-38.544482 -3.637603)'))) / (select extract(epoch from '2026-07-18 18:22:43'::timestamp) - extract(epoch from '2026-07-18 18:22:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.544534 -3.637596)', '2026-07-18 18:22:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544482 -3.637603)'), GeomFromEWKT('SRID=4674;POINT (-38.544534 -3.637596)'))) / (select extract(epoch from '2026-07-18 18:22:50'::timestamp) - extract(epoch from '2026-07-18 18:22:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544482 -3.637603)'), GeomFromEWKT('SRID=4674;POINT (-38.544534 -3.637596)'))) / (select extract(epoch from '2026-07-18 18:22:50'::timestamp) - extract(epoch from '2026-07-18 18:22:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.544542 -3.637596)', '2026-07-18 18:22:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544534 -3.637596)'), GeomFromEWKT('SRID=4674;POINT (-38.544542 -3.637596)'))) / (select extract(epoch from '2026-07-18 18:22:51'::timestamp) - extract(epoch from '2026-07-18 18:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544534 -3.637596)'), GeomFromEWKT('SRID=4674;POINT (-38.544542 -3.637596)'))) / (select extract(epoch from '2026-07-18 18:22:51'::timestamp) - extract(epoch from '2026-07-18 18:22:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.544585 -3.637589)', '2026-07-18 18:22:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544542 -3.637596)'), GeomFromEWKT('SRID=4674;POINT (-38.544585 -3.637589)'))) / (select extract(epoch from '2026-07-18 18:22:57'::timestamp) - extract(epoch from '2026-07-18 18:22:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544542 -3.637596)'), GeomFromEWKT('SRID=4674;POINT (-38.544585 -3.637589)'))) / (select extract(epoch from '2026-07-18 18:22:57'::timestamp) - extract(epoch from '2026-07-18 18:22:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.54466 -3.637572)', '2026-07-18 18:23:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544585 -3.637589)'), GeomFromEWKT('SRID=4674;POINT (-38.54466 -3.637572)'))) / (select extract(epoch from '2026-07-18 18:23:09'::timestamp) - extract(epoch from '2026-07-18 18:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544585 -3.637589)'), GeomFromEWKT('SRID=4674;POINT (-38.54466 -3.637572)'))) / (select extract(epoch from '2026-07-18 18:23:09'::timestamp) - extract(epoch from '2026-07-18 18:22:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.544719 -3.637566)', '2026-07-18 18:23:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54466 -3.637572)'), GeomFromEWKT('SRID=4674;POINT (-38.544719 -3.637566)'))) / (select extract(epoch from '2026-07-18 18:23:16'::timestamp) - extract(epoch from '2026-07-18 18:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54466 -3.637572)'), GeomFromEWKT('SRID=4674;POINT (-38.544719 -3.637566)'))) / (select extract(epoch from '2026-07-18 18:23:16'::timestamp) - extract(epoch from '2026-07-18 18:23:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.544778 -3.637554)', '2026-07-18 18:23:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544719 -3.637566)'), GeomFromEWKT('SRID=4674;POINT (-38.544778 -3.637554)'))) / (select extract(epoch from '2026-07-18 18:23:22'::timestamp) - extract(epoch from '2026-07-18 18:23:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544719 -3.637566)'), GeomFromEWKT('SRID=4674;POINT (-38.544778 -3.637554)'))) / (select extract(epoch from '2026-07-18 18:23:22'::timestamp) - extract(epoch from '2026-07-18 18:23:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.544795 -3.637543)', '2026-07-18 18:23:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544778 -3.637554)'), GeomFromEWKT('SRID=4674;POINT (-38.544795 -3.637543)'))) / (select extract(epoch from '2026-07-18 18:23:27'::timestamp) - extract(epoch from '2026-07-18 18:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544778 -3.637554)'), GeomFromEWKT('SRID=4674;POINT (-38.544795 -3.637543)'))) / (select extract(epoch from '2026-07-18 18:23:27'::timestamp) - extract(epoch from '2026-07-18 18:23:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.544825 -3.637549)', '2026-07-18 18:23:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544795 -3.637543)'), GeomFromEWKT('SRID=4674;POINT (-38.544825 -3.637549)'))) / (select extract(epoch from '2026-07-18 18:23:30'::timestamp) - extract(epoch from '2026-07-18 18:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544795 -3.637543)'), GeomFromEWKT('SRID=4674;POINT (-38.544825 -3.637549)'))) / (select extract(epoch from '2026-07-18 18:23:30'::timestamp) - extract(epoch from '2026-07-18 18:23:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
