 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.384546 -3.322726)', '2026-07-18 12:34:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384485 -3.322641)'), GeomFromEWKT('SRID=4674;POINT (-38.384546 -3.322726)'))) / (select extract(epoch from '2026-07-18 12:34:15'::timestamp) - extract(epoch from '2026-07-18 12:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384485 -3.322641)'), GeomFromEWKT('SRID=4674;POINT (-38.384546 -3.322726)'))) / (select extract(epoch from '2026-07-18 12:34:15'::timestamp) - extract(epoch from '2026-07-18 12:34:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.384613 -3.32279)', '2026-07-18 12:34:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384546 -3.322726)'), GeomFromEWKT('SRID=4674;POINT (-38.384613 -3.32279)'))) / (select extract(epoch from '2026-07-18 12:34:20'::timestamp) - extract(epoch from '2026-07-18 12:34:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384546 -3.322726)'), GeomFromEWKT('SRID=4674;POINT (-38.384613 -3.32279)'))) / (select extract(epoch from '2026-07-18 12:34:20'::timestamp) - extract(epoch from '2026-07-18 12:34:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.384666 -3.322872)', '2026-07-18 12:34:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384613 -3.32279)'), GeomFromEWKT('SRID=4674;POINT (-38.384666 -3.322872)'))) / (select extract(epoch from '2026-07-18 12:34:25'::timestamp) - extract(epoch from '2026-07-18 12:34:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384613 -3.32279)'), GeomFromEWKT('SRID=4674;POINT (-38.384666 -3.322872)'))) / (select extract(epoch from '2026-07-18 12:34:25'::timestamp) - extract(epoch from '2026-07-18 12:34:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.384724 -3.32295)', '2026-07-18 12:34:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384666 -3.322872)'), GeomFromEWKT('SRID=4674;POINT (-38.384724 -3.32295)'))) / (select extract(epoch from '2026-07-18 12:34:29'::timestamp) - extract(epoch from '2026-07-18 12:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384666 -3.322872)'), GeomFromEWKT('SRID=4674;POINT (-38.384724 -3.32295)'))) / (select extract(epoch from '2026-07-18 12:34:29'::timestamp) - extract(epoch from '2026-07-18 12:34: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.384731 -3.322963)', '2026-07-18 12:34:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384724 -3.32295)'), GeomFromEWKT('SRID=4674;POINT (-38.384731 -3.322963)'))) / (select extract(epoch from '2026-07-18 12:34:30'::timestamp) - extract(epoch from '2026-07-18 12:34:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384724 -3.32295)'), GeomFromEWKT('SRID=4674;POINT (-38.384731 -3.322963)'))) / (select extract(epoch from '2026-07-18 12:34:30'::timestamp) - extract(epoch from '2026-07-18 12:34: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.384781 -3.323022)', '2026-07-18 12:34:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384731 -3.322963)'), GeomFromEWKT('SRID=4674;POINT (-38.384781 -3.323022)'))) / (select extract(epoch from '2026-07-18 12:34:35'::timestamp) - extract(epoch from '2026-07-18 12:34:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384731 -3.322963)'), GeomFromEWKT('SRID=4674;POINT (-38.384781 -3.323022)'))) / (select extract(epoch from '2026-07-18 12:34:35'::timestamp) - extract(epoch from '2026-07-18 12:34: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.384847 -3.323093)', '2026-07-18 12:34:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384781 -3.323022)'), GeomFromEWKT('SRID=4674;POINT (-38.384847 -3.323093)'))) / (select extract(epoch from '2026-07-18 12:34:41'::timestamp) - extract(epoch from '2026-07-18 12:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384781 -3.323022)'), GeomFromEWKT('SRID=4674;POINT (-38.384847 -3.323093)'))) / (select extract(epoch from '2026-07-18 12:34:41'::timestamp) - extract(epoch from '2026-07-18 12:34: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.384853 -3.323103)', '2026-07-18 12:34:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384847 -3.323093)'), GeomFromEWKT('SRID=4674;POINT (-38.384853 -3.323103)'))) / (select extract(epoch from '2026-07-18 12:34:42'::timestamp) - extract(epoch from '2026-07-18 12:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384847 -3.323093)'), GeomFromEWKT('SRID=4674;POINT (-38.384853 -3.323103)'))) / (select extract(epoch from '2026-07-18 12:34:42'::timestamp) - extract(epoch from '2026-07-18 12:34: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.384904 -3.323143)', '2026-07-18 12:34:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384853 -3.323103)'), GeomFromEWKT('SRID=4674;POINT (-38.384904 -3.323143)'))) / (select extract(epoch from '2026-07-18 12:34:45'::timestamp) - extract(epoch from '2026-07-18 12:34:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384853 -3.323103)'), GeomFromEWKT('SRID=4674;POINT (-38.384904 -3.323143)'))) / (select extract(epoch from '2026-07-18 12:34:45'::timestamp) - extract(epoch from '2026-07-18 12:34: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.384927 -3.323176)', '2026-07-18 12:34:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384904 -3.323143)'), GeomFromEWKT('SRID=4674;POINT (-38.384927 -3.323176)'))) / (select extract(epoch from '2026-07-18 12:34:48'::timestamp) - extract(epoch from '2026-07-18 12:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384904 -3.323143)'), GeomFromEWKT('SRID=4674;POINT (-38.384927 -3.323176)'))) / (select extract(epoch from '2026-07-18 12:34:48'::timestamp) - extract(epoch from '2026-07-18 12:34: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.384939 -3.323182)', '2026-07-18 12:34:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384927 -3.323176)'), GeomFromEWKT('SRID=4674;POINT (-38.384939 -3.323182)'))) / (select extract(epoch from '2026-07-18 12:34:49'::timestamp) - extract(epoch from '2026-07-18 12:34:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384927 -3.323176)'), GeomFromEWKT('SRID=4674;POINT (-38.384939 -3.323182)'))) / (select extract(epoch from '2026-07-18 12:34:49'::timestamp) - extract(epoch from '2026-07-18 12:34: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.385017 -3.323251)', '2026-07-18 12:34:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384939 -3.323182)'), GeomFromEWKT('SRID=4674;POINT (-38.385017 -3.323251)'))) / (select extract(epoch from '2026-07-18 12:34:55'::timestamp) - extract(epoch from '2026-07-18 12:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384939 -3.323182)'), GeomFromEWKT('SRID=4674;POINT (-38.385017 -3.323251)'))) / (select extract(epoch from '2026-07-18 12:34:55'::timestamp) - extract(epoch from '2026-07-18 12:34: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.385093 -3.323326)', '2026-07-18 12:35:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385017 -3.323251)'), GeomFromEWKT('SRID=4674;POINT (-38.385093 -3.323326)'))) / (select extract(epoch from '2026-07-18 12:35:01'::timestamp) - extract(epoch from '2026-07-18 12:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385017 -3.323251)'), GeomFromEWKT('SRID=4674;POINT (-38.385093 -3.323326)'))) / (select extract(epoch from '2026-07-18 12:35:01'::timestamp) - extract(epoch from '2026-07-18 12:34: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.385142 -3.323378)', '2026-07-18 12:35:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385093 -3.323326)'), GeomFromEWKT('SRID=4674;POINT (-38.385142 -3.323378)'))) / (select extract(epoch from '2026-07-18 12:35:06'::timestamp) - extract(epoch from '2026-07-18 12:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385093 -3.323326)'), GeomFromEWKT('SRID=4674;POINT (-38.385142 -3.323378)'))) / (select extract(epoch from '2026-07-18 12:35:06'::timestamp) - extract(epoch from '2026-07-18 12:35: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.3852 -3.323436)', '2026-07-18 12:35:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385142 -3.323378)'), GeomFromEWKT('SRID=4674;POINT (-38.3852 -3.323436)'))) / (select extract(epoch from '2026-07-18 12:35:10'::timestamp) - extract(epoch from '2026-07-18 12:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385142 -3.323378)'), GeomFromEWKT('SRID=4674;POINT (-38.3852 -3.323436)'))) / (select extract(epoch from '2026-07-18 12:35:10'::timestamp) - extract(epoch from '2026-07-18 12:35: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.38526 -3.323511)', '2026-07-18 12:35:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3852 -3.323436)'), GeomFromEWKT('SRID=4674;POINT (-38.38526 -3.323511)'))) / (select extract(epoch from '2026-07-18 12:35:16'::timestamp) - extract(epoch from '2026-07-18 12:35:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3852 -3.323436)'), GeomFromEWKT('SRID=4674;POINT (-38.38526 -3.323511)'))) / (select extract(epoch from '2026-07-18 12:35:16'::timestamp) - extract(epoch from '2026-07-18 12:35: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.385346 -3.323608)', '2026-07-18 12:35:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38526 -3.323511)'), GeomFromEWKT('SRID=4674;POINT (-38.385346 -3.323608)'))) / (select extract(epoch from '2026-07-18 12:35:23'::timestamp) - extract(epoch from '2026-07-18 12:35:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38526 -3.323511)'), GeomFromEWKT('SRID=4674;POINT (-38.385346 -3.323608)'))) / (select extract(epoch from '2026-07-18 12:35:23'::timestamp) - extract(epoch from '2026-07-18 12:35: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.385395 -3.323666)', '2026-07-18 12:35:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385346 -3.323608)'), GeomFromEWKT('SRID=4674;POINT (-38.385395 -3.323666)'))) / (select extract(epoch from '2026-07-18 12:35:27'::timestamp) - extract(epoch from '2026-07-18 12:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385346 -3.323608)'), GeomFromEWKT('SRID=4674;POINT (-38.385395 -3.323666)'))) / (select extract(epoch from '2026-07-18 12:35:27'::timestamp) - extract(epoch from '2026-07-18 12:35: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.385404 -3.323685)', '2026-07-18 12:35:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385395 -3.323666)'), GeomFromEWKT('SRID=4674;POINT (-38.385404 -3.323685)'))) / (select extract(epoch from '2026-07-18 12:35:28'::timestamp) - extract(epoch from '2026-07-18 12:35:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385395 -3.323666)'), GeomFromEWKT('SRID=4674;POINT (-38.385404 -3.323685)'))) / (select extract(epoch from '2026-07-18 12:35:28'::timestamp) - extract(epoch from '2026-07-18 12:35: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.385488 -3.323801)', '2026-07-18 12:35:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385404 -3.323685)'), GeomFromEWKT('SRID=4674;POINT (-38.385488 -3.323801)'))) / (select extract(epoch from '2026-07-18 12:35:36'::timestamp) - extract(epoch from '2026-07-18 12:35:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385404 -3.323685)'), GeomFromEWKT('SRID=4674;POINT (-38.385488 -3.323801)'))) / (select extract(epoch from '2026-07-18 12:35:36'::timestamp) - extract(epoch from '2026-07-18 12:35: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.385571 -3.323877)', '2026-07-18 12:35:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385488 -3.323801)'), GeomFromEWKT('SRID=4674;POINT (-38.385571 -3.323877)'))) / (select extract(epoch from '2026-07-18 12:35:42'::timestamp) - extract(epoch from '2026-07-18 12:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385488 -3.323801)'), GeomFromEWKT('SRID=4674;POINT (-38.385571 -3.323877)'))) / (select extract(epoch from '2026-07-18 12:35:42'::timestamp) - extract(epoch from '2026-07-18 12:35: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.385613 -3.32391)', '2026-07-18 12:35:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385571 -3.323877)'), GeomFromEWKT('SRID=4674;POINT (-38.385613 -3.32391)'))) / (select extract(epoch from '2026-07-18 12:35:45'::timestamp) - extract(epoch from '2026-07-18 12:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385571 -3.323877)'), GeomFromEWKT('SRID=4674;POINT (-38.385613 -3.32391)'))) / (select extract(epoch from '2026-07-18 12:35:45'::timestamp) - extract(epoch from '2026-07-18 12:35: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.385637 -3.323936)', '2026-07-18 12:35:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385613 -3.32391)'), GeomFromEWKT('SRID=4674;POINT (-38.385637 -3.323936)'))) / (select extract(epoch from '2026-07-18 12:35:47'::timestamp) - extract(epoch from '2026-07-18 12:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385613 -3.32391)'), GeomFromEWKT('SRID=4674;POINT (-38.385637 -3.323936)'))) / (select extract(epoch from '2026-07-18 12:35:47'::timestamp) - extract(epoch from '2026-07-18 12:35: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.38571 -3.324017)', '2026-07-18 12:35:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385637 -3.323936)'), GeomFromEWKT('SRID=4674;POINT (-38.38571 -3.324017)'))) / (select extract(epoch from '2026-07-18 12:35:53'::timestamp) - extract(epoch from '2026-07-18 12:35:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385637 -3.323936)'), GeomFromEWKT('SRID=4674;POINT (-38.38571 -3.324017)'))) / (select extract(epoch from '2026-07-18 12:35:53'::timestamp) - extract(epoch from '2026-07-18 12:35: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.385755 -3.324053)', '2026-07-18 12:35:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38571 -3.324017)'), GeomFromEWKT('SRID=4674;POINT (-38.385755 -3.324053)'))) / (select extract(epoch from '2026-07-18 12:35:56'::timestamp) - extract(epoch from '2026-07-18 12:35:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38571 -3.324017)'), GeomFromEWKT('SRID=4674;POINT (-38.385755 -3.324053)'))) / (select extract(epoch from '2026-07-18 12:35:56'::timestamp) - extract(epoch from '2026-07-18 12:35: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.385766 -3.324065)', '2026-07-18 12:35:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385755 -3.324053)'), GeomFromEWKT('SRID=4674;POINT (-38.385766 -3.324065)'))) / (select extract(epoch from '2026-07-18 12:35:57'::timestamp) - extract(epoch from '2026-07-18 12:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385755 -3.324053)'), GeomFromEWKT('SRID=4674;POINT (-38.385766 -3.324065)'))) / (select extract(epoch from '2026-07-18 12:35:57'::timestamp) - extract(epoch from '2026-07-18 12:35: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.385835 -3.324118)', '2026-07-18 12:36:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385766 -3.324065)'), GeomFromEWKT('SRID=4674;POINT (-38.385835 -3.324118)'))) / (select extract(epoch from '2026-07-18 12:36:01'::timestamp) - extract(epoch from '2026-07-18 12:35:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385766 -3.324065)'), GeomFromEWKT('SRID=4674;POINT (-38.385835 -3.324118)'))) / (select extract(epoch from '2026-07-18 12:36:01'::timestamp) - extract(epoch from '2026-07-18 12:35: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.385867 -3.32415)', '2026-07-18 12:36:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385835 -3.324118)'), GeomFromEWKT('SRID=4674;POINT (-38.385867 -3.32415)'))) / (select extract(epoch from '2026-07-18 12:36:04'::timestamp) - extract(epoch from '2026-07-18 12:36:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385835 -3.324118)'), GeomFromEWKT('SRID=4674;POINT (-38.385867 -3.32415)'))) / (select extract(epoch from '2026-07-18 12:36:04'::timestamp) - extract(epoch from '2026-07-18 12:36: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.3859 -3.324173)', '2026-07-18 12:36:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385867 -3.32415)'), GeomFromEWKT('SRID=4674;POINT (-38.3859 -3.324173)'))) / (select extract(epoch from '2026-07-18 12:36:06'::timestamp) - extract(epoch from '2026-07-18 12:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385867 -3.32415)'), GeomFromEWKT('SRID=4674;POINT (-38.3859 -3.324173)'))) / (select extract(epoch from '2026-07-18 12:36:06'::timestamp) - extract(epoch from '2026-07-18 12:36: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.385976 -3.32425)', '2026-07-18 12:36:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3859 -3.324173)'), GeomFromEWKT('SRID=4674;POINT (-38.385976 -3.32425)'))) / (select extract(epoch from '2026-07-18 12:36:12'::timestamp) - extract(epoch from '2026-07-18 12:36:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3859 -3.324173)'), GeomFromEWKT('SRID=4674;POINT (-38.385976 -3.32425)'))) / (select extract(epoch from '2026-07-18 12:36:12'::timestamp) - extract(epoch from '2026-07-18 12:36: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.386052 -3.32432)', '2026-07-18 12:36:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385976 -3.32425)'), GeomFromEWKT('SRID=4674;POINT (-38.386052 -3.32432)'))) / (select extract(epoch from '2026-07-18 12:36:18'::timestamp) - extract(epoch from '2026-07-18 12:36:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385976 -3.32425)'), GeomFromEWKT('SRID=4674;POINT (-38.386052 -3.32432)'))) / (select extract(epoch from '2026-07-18 12:36:18'::timestamp) - extract(epoch from '2026-07-18 12:36: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.386065 -3.32433)', '2026-07-18 12:36:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386052 -3.32432)'), GeomFromEWKT('SRID=4674;POINT (-38.386065 -3.32433)'))) / (select extract(epoch from '2026-07-18 12:36:19'::timestamp) - extract(epoch from '2026-07-18 12:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386052 -3.32432)'), GeomFromEWKT('SRID=4674;POINT (-38.386065 -3.32433)'))) / (select extract(epoch from '2026-07-18 12:36:19'::timestamp) - extract(epoch from '2026-07-18 12:36:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.386096 -3.324364)', '2026-07-18 12:36:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386065 -3.32433)'), GeomFromEWKT('SRID=4674;POINT (-38.386096 -3.324364)'))) / (select extract(epoch from '2026-07-18 12:36:22'::timestamp) - extract(epoch from '2026-07-18 12:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386065 -3.32433)'), GeomFromEWKT('SRID=4674;POINT (-38.386096 -3.324364)'))) / (select extract(epoch from '2026-07-18 12:36:22'::timestamp) - extract(epoch from '2026-07-18 12:36: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.386113 -3.324371)', '2026-07-18 12:36:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386096 -3.324364)'), GeomFromEWKT('SRID=4674;POINT (-38.386113 -3.324371)'))) / (select extract(epoch from '2026-07-18 12:36:23'::timestamp) - extract(epoch from '2026-07-18 12:36:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386096 -3.324364)'), GeomFromEWKT('SRID=4674;POINT (-38.386113 -3.324371)'))) / (select extract(epoch from '2026-07-18 12:36:23'::timestamp) - extract(epoch from '2026-07-18 12:36: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.38614 -3.324396)', '2026-07-18 12:36:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386113 -3.324371)'), GeomFromEWKT('SRID=4674;POINT (-38.38614 -3.324396)'))) / (select extract(epoch from '2026-07-18 12:36:25'::timestamp) - extract(epoch from '2026-07-18 12:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386113 -3.324371)'), GeomFromEWKT('SRID=4674;POINT (-38.38614 -3.324396)'))) / (select extract(epoch from '2026-07-18 12:36:25'::timestamp) - extract(epoch from '2026-07-18 12:36: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.386203 -3.32447)', '2026-07-18 12:36:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38614 -3.324396)'), GeomFromEWKT('SRID=4674;POINT (-38.386203 -3.32447)'))) / (select extract(epoch from '2026-07-18 12:36:31'::timestamp) - extract(epoch from '2026-07-18 12:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38614 -3.324396)'), GeomFromEWKT('SRID=4674;POINT (-38.386203 -3.32447)'))) / (select extract(epoch from '2026-07-18 12:36:31'::timestamp) - extract(epoch from '2026-07-18 12:36: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.38625 -3.324516)', '2026-07-18 12:36:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386203 -3.32447)'), GeomFromEWKT('SRID=4674;POINT (-38.38625 -3.324516)'))) / (select extract(epoch from '2026-07-18 12:36:35'::timestamp) - extract(epoch from '2026-07-18 12:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386203 -3.32447)'), GeomFromEWKT('SRID=4674;POINT (-38.38625 -3.324516)'))) / (select extract(epoch from '2026-07-18 12:36:35'::timestamp) - extract(epoch from '2026-07-18 12:36: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.386307 -3.324578)', '2026-07-18 12:36:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38625 -3.324516)'), GeomFromEWKT('SRID=4674;POINT (-38.386307 -3.324578)'))) / (select extract(epoch from '2026-07-18 12:36:40'::timestamp) - extract(epoch from '2026-07-18 12:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38625 -3.324516)'), GeomFromEWKT('SRID=4674;POINT (-38.386307 -3.324578)'))) / (select extract(epoch from '2026-07-18 12:36:40'::timestamp) - extract(epoch from '2026-07-18 12:36: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.386346 -3.32464)', '2026-07-18 12:36:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386307 -3.324578)'), GeomFromEWKT('SRID=4674;POINT (-38.386346 -3.32464)'))) / (select extract(epoch from '2026-07-18 12:36:45'::timestamp) - extract(epoch from '2026-07-18 12:36:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386307 -3.324578)'), GeomFromEWKT('SRID=4674;POINT (-38.386346 -3.32464)'))) / (select extract(epoch from '2026-07-18 12:36:45'::timestamp) - extract(epoch from '2026-07-18 12:36: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.386409 -3.324707)', '2026-07-18 12:36:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386346 -3.32464)'), GeomFromEWKT('SRID=4674;POINT (-38.386409 -3.324707)'))) / (select extract(epoch from '2026-07-18 12:36:51'::timestamp) - extract(epoch from '2026-07-18 12:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386346 -3.32464)'), GeomFromEWKT('SRID=4674;POINT (-38.386409 -3.324707)'))) / (select extract(epoch from '2026-07-18 12:36:51'::timestamp) - extract(epoch from '2026-07-18 12:36: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.386467 -3.324786)', '2026-07-18 12:36:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386409 -3.324707)'), GeomFromEWKT('SRID=4674;POINT (-38.386467 -3.324786)'))) / (select extract(epoch from '2026-07-18 12:36:57'::timestamp) - extract(epoch from '2026-07-18 12:36:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386409 -3.324707)'), GeomFromEWKT('SRID=4674;POINT (-38.386467 -3.324786)'))) / (select extract(epoch from '2026-07-18 12:36:57'::timestamp) - extract(epoch from '2026-07-18 12:36: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.386556 -3.32486)', '2026-07-18 12:37:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386467 -3.324786)'), GeomFromEWKT('SRID=4674;POINT (-38.386556 -3.32486)'))) / (select extract(epoch from '2026-07-18 12:37:04'::timestamp) - extract(epoch from '2026-07-18 12:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386467 -3.324786)'), GeomFromEWKT('SRID=4674;POINT (-38.386556 -3.32486)'))) / (select extract(epoch from '2026-07-18 12:37:04'::timestamp) - extract(epoch from '2026-07-18 12:36: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.386602 -3.324909)', '2026-07-18 12:37:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386556 -3.32486)'), GeomFromEWKT('SRID=4674;POINT (-38.386602 -3.324909)'))) / (select extract(epoch from '2026-07-18 12:37:08'::timestamp) - extract(epoch from '2026-07-18 12:37:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386556 -3.32486)'), GeomFromEWKT('SRID=4674;POINT (-38.386602 -3.324909)'))) / (select extract(epoch from '2026-07-18 12:37:08'::timestamp) - extract(epoch from '2026-07-18 12:37: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.386674 -3.324981)', '2026-07-18 12:37:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386602 -3.324909)'), GeomFromEWKT('SRID=4674;POINT (-38.386674 -3.324981)'))) / (select extract(epoch from '2026-07-18 12:37:13'::timestamp) - extract(epoch from '2026-07-18 12:37:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386602 -3.324909)'), GeomFromEWKT('SRID=4674;POINT (-38.386674 -3.324981)'))) / (select extract(epoch from '2026-07-18 12:37:13'::timestamp) - extract(epoch from '2026-07-18 12:37: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.386731 -3.325035)', '2026-07-18 12:37:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386674 -3.324981)'), GeomFromEWKT('SRID=4674;POINT (-38.386731 -3.325035)'))) / (select extract(epoch from '2026-07-18 12:37:18'::timestamp) - extract(epoch from '2026-07-18 12:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386674 -3.324981)'), GeomFromEWKT('SRID=4674;POINT (-38.386731 -3.325035)'))) / (select extract(epoch from '2026-07-18 12:37:18'::timestamp) - extract(epoch from '2026-07-18 12:37: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.386796 -3.325106)', '2026-07-18 12:37:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386731 -3.325035)'), GeomFromEWKT('SRID=4674;POINT (-38.386796 -3.325106)'))) / (select extract(epoch from '2026-07-18 12:37:24'::timestamp) - extract(epoch from '2026-07-18 12:37:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386731 -3.325035)'), GeomFromEWKT('SRID=4674;POINT (-38.386796 -3.325106)'))) / (select extract(epoch from '2026-07-18 12:37:24'::timestamp) - extract(epoch from '2026-07-18 12:37: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.38686 -3.325158)', '2026-07-18 12:37:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386796 -3.325106)'), GeomFromEWKT('SRID=4674;POINT (-38.38686 -3.325158)'))) / (select extract(epoch from '2026-07-18 12:37:29'::timestamp) - extract(epoch from '2026-07-18 12:37:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386796 -3.325106)'), GeomFromEWKT('SRID=4674;POINT (-38.38686 -3.325158)'))) / (select extract(epoch from '2026-07-18 12:37:29'::timestamp) - extract(epoch from '2026-07-18 12:37: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.38692 -3.325209)', '2026-07-18 12:37:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38686 -3.325158)'), GeomFromEWKT('SRID=4674;POINT (-38.38692 -3.325209)'))) / (select extract(epoch from '2026-07-18 12:37:34'::timestamp) - extract(epoch from '2026-07-18 12:37:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38686 -3.325158)'), GeomFromEWKT('SRID=4674;POINT (-38.38692 -3.325209)'))) / (select extract(epoch from '2026-07-18 12:37:34'::timestamp) - extract(epoch from '2026-07-18 12:37: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.386934 -3.325216)', '2026-07-18 12:37:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38692 -3.325209)'), GeomFromEWKT('SRID=4674;POINT (-38.386934 -3.325216)'))) / (select extract(epoch from '2026-07-18 12:37:35'::timestamp) - extract(epoch from '2026-07-18 12:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38692 -3.325209)'), GeomFromEWKT('SRID=4674;POINT (-38.386934 -3.325216)'))) / (select extract(epoch from '2026-07-18 12:37:35'::timestamp) - extract(epoch from '2026-07-18 12:37: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.386988 -3.325271)', '2026-07-18 12:37:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386934 -3.325216)'), GeomFromEWKT('SRID=4674;POINT (-38.386988 -3.325271)'))) / (select extract(epoch from '2026-07-18 12:37:40'::timestamp) - extract(epoch from '2026-07-18 12:37:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386934 -3.325216)'), GeomFromEWKT('SRID=4674;POINT (-38.386988 -3.325271)'))) / (select extract(epoch from '2026-07-18 12:37:40'::timestamp) - extract(epoch from '2026-07-18 12:37: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.38704 -3.325335)', '2026-07-18 12:37:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386988 -3.325271)'), GeomFromEWKT('SRID=4674;POINT (-38.38704 -3.325335)'))) / (select extract(epoch from '2026-07-18 12:37:45'::timestamp) - extract(epoch from '2026-07-18 12:37:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386988 -3.325271)'), GeomFromEWKT('SRID=4674;POINT (-38.38704 -3.325335)'))) / (select extract(epoch from '2026-07-18 12:37:45'::timestamp) - extract(epoch from '2026-07-18 12:37: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.387102 -3.325401)', '2026-07-18 12:37:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38704 -3.325335)'), GeomFromEWKT('SRID=4674;POINT (-38.387102 -3.325401)'))) / (select extract(epoch from '2026-07-18 12:37:50'::timestamp) - extract(epoch from '2026-07-18 12:37:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38704 -3.325335)'), GeomFromEWKT('SRID=4674;POINT (-38.387102 -3.325401)'))) / (select extract(epoch from '2026-07-18 12:37:50'::timestamp) - extract(epoch from '2026-07-18 12:37: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.387179 -3.325481)', '2026-07-18 12:37:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387102 -3.325401)'), GeomFromEWKT('SRID=4674;POINT (-38.387179 -3.325481)'))) / (select extract(epoch from '2026-07-18 12:37:57'::timestamp) - extract(epoch from '2026-07-18 12:37:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387102 -3.325401)'), GeomFromEWKT('SRID=4674;POINT (-38.387179 -3.325481)'))) / (select extract(epoch from '2026-07-18 12:37:57'::timestamp) - extract(epoch from '2026-07-18 12:37: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.387257 -3.325537)', '2026-07-18 12:38:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387179 -3.325481)'), GeomFromEWKT('SRID=4674;POINT (-38.387257 -3.325537)'))) / (select extract(epoch from '2026-07-18 12:38:03'::timestamp) - extract(epoch from '2026-07-18 12:37:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387179 -3.325481)'), GeomFromEWKT('SRID=4674;POINT (-38.387257 -3.325537)'))) / (select extract(epoch from '2026-07-18 12:38:03'::timestamp) - extract(epoch from '2026-07-18 12:37: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.387337 -3.3256)', '2026-07-18 12:38:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387257 -3.325537)'), GeomFromEWKT('SRID=4674;POINT (-38.387337 -3.3256)'))) / (select extract(epoch from '2026-07-18 12:38:09'::timestamp) - extract(epoch from '2026-07-18 12:38:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387257 -3.325537)'), GeomFromEWKT('SRID=4674;POINT (-38.387337 -3.3256)'))) / (select extract(epoch from '2026-07-18 12:38:09'::timestamp) - extract(epoch from '2026-07-18 12:38: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.387411 -3.325664)', '2026-07-18 12:38:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387337 -3.3256)'), GeomFromEWKT('SRID=4674;POINT (-38.387411 -3.325664)'))) / (select extract(epoch from '2026-07-18 12:38:15'::timestamp) - extract(epoch from '2026-07-18 12:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387337 -3.3256)'), GeomFromEWKT('SRID=4674;POINT (-38.387411 -3.325664)'))) / (select extract(epoch from '2026-07-18 12:38:15'::timestamp) - extract(epoch from '2026-07-18 12:38: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.387487 -3.325727)', '2026-07-18 12:38:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387411 -3.325664)'), GeomFromEWKT('SRID=4674;POINT (-38.387487 -3.325727)'))) / (select extract(epoch from '2026-07-18 12:38:20'::timestamp) - extract(epoch from '2026-07-18 12:38:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387411 -3.325664)'), GeomFromEWKT('SRID=4674;POINT (-38.387487 -3.325727)'))) / (select extract(epoch from '2026-07-18 12:38:20'::timestamp) - extract(epoch from '2026-07-18 12:38: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.387518 -3.325759)', '2026-07-18 12:38:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387487 -3.325727)'), GeomFromEWKT('SRID=4674;POINT (-38.387518 -3.325759)'))) / (select extract(epoch from '2026-07-18 12:38:23'::timestamp) - extract(epoch from '2026-07-18 12:38:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387487 -3.325727)'), GeomFromEWKT('SRID=4674;POINT (-38.387518 -3.325759)'))) / (select extract(epoch from '2026-07-18 12:38:23'::timestamp) - extract(epoch from '2026-07-18 12:38: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.387564 -3.325789)', '2026-07-18 12:38:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387518 -3.325759)'), GeomFromEWKT('SRID=4674;POINT (-38.387564 -3.325789)'))) / (select extract(epoch from '2026-07-18 12:38:25'::timestamp) - extract(epoch from '2026-07-18 12:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387518 -3.325759)'), GeomFromEWKT('SRID=4674;POINT (-38.387564 -3.325789)'))) / (select extract(epoch from '2026-07-18 12:38:25'::timestamp) - extract(epoch from '2026-07-18 12:38: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.387578 -3.325802)', '2026-07-18 12:38:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387564 -3.325789)'), GeomFromEWKT('SRID=4674;POINT (-38.387578 -3.325802)'))) / (select extract(epoch from '2026-07-18 12:38:26'::timestamp) - extract(epoch from '2026-07-18 12:38:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387564 -3.325789)'), GeomFromEWKT('SRID=4674;POINT (-38.387578 -3.325802)'))) / (select extract(epoch from '2026-07-18 12:38:26'::timestamp) - extract(epoch from '2026-07-18 12:38: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.3876 -3.325834)', '2026-07-18 12:38:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387578 -3.325802)'), GeomFromEWKT('SRID=4674;POINT (-38.3876 -3.325834)'))) / (select extract(epoch from '2026-07-18 12:38:29'::timestamp) - extract(epoch from '2026-07-18 12:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387578 -3.325802)'), GeomFromEWKT('SRID=4674;POINT (-38.3876 -3.325834)'))) / (select extract(epoch from '2026-07-18 12:38:29'::timestamp) - extract(epoch from '2026-07-18 12:38: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.387662 -3.325889)', '2026-07-18 12:38:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3876 -3.325834)'), GeomFromEWKT('SRID=4674;POINT (-38.387662 -3.325889)'))) / (select extract(epoch from '2026-07-18 12:38:33'::timestamp) - extract(epoch from '2026-07-18 12:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3876 -3.325834)'), GeomFromEWKT('SRID=4674;POINT (-38.387662 -3.325889)'))) / (select extract(epoch from '2026-07-18 12:38:33'::timestamp) - extract(epoch from '2026-07-18 12:38: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.38769 -3.325911)', '2026-07-18 12:38:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387662 -3.325889)'), GeomFromEWKT('SRID=4674;POINT (-38.38769 -3.325911)'))) / (select extract(epoch from '2026-07-18 12:38:35'::timestamp) - extract(epoch from '2026-07-18 12:38:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387662 -3.325889)'), GeomFromEWKT('SRID=4674;POINT (-38.38769 -3.325911)'))) / (select extract(epoch from '2026-07-18 12:38:35'::timestamp) - extract(epoch from '2026-07-18 12:38: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.387714 -3.325936)', '2026-07-18 12:38:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38769 -3.325911)'), GeomFromEWKT('SRID=4674;POINT (-38.387714 -3.325936)'))) / (select extract(epoch from '2026-07-18 12:38:37'::timestamp) - extract(epoch from '2026-07-18 12:38:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38769 -3.325911)'), GeomFromEWKT('SRID=4674;POINT (-38.387714 -3.325936)'))) / (select extract(epoch from '2026-07-18 12:38:37'::timestamp) - extract(epoch from '2026-07-18 12:38: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.387769 -3.325979)', '2026-07-18 12:38:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387714 -3.325936)'), GeomFromEWKT('SRID=4674;POINT (-38.387769 -3.325979)'))) / (select extract(epoch from '2026-07-18 12:38:41'::timestamp) - extract(epoch from '2026-07-18 12:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387714 -3.325936)'), GeomFromEWKT('SRID=4674;POINT (-38.387769 -3.325979)'))) / (select extract(epoch from '2026-07-18 12:38:41'::timestamp) - extract(epoch from '2026-07-18 12:38: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.387836 -3.326013)', '2026-07-18 12:38:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387769 -3.325979)'), GeomFromEWKT('SRID=4674;POINT (-38.387836 -3.326013)'))) / (select extract(epoch from '2026-07-18 12:38:46'::timestamp) - extract(epoch from '2026-07-18 12:38:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387769 -3.325979)'), GeomFromEWKT('SRID=4674;POINT (-38.387836 -3.326013)'))) / (select extract(epoch from '2026-07-18 12:38:46'::timestamp) - extract(epoch from '2026-07-18 12:38: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.387913 -3.326065)', '2026-07-18 12:38:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387836 -3.326013)'), GeomFromEWKT('SRID=4674;POINT (-38.387913 -3.326065)'))) / (select extract(epoch from '2026-07-18 12:38:51'::timestamp) - extract(epoch from '2026-07-18 12:38:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387836 -3.326013)'), GeomFromEWKT('SRID=4674;POINT (-38.387913 -3.326065)'))) / (select extract(epoch from '2026-07-18 12:38:51'::timestamp) - extract(epoch from '2026-07-18 12:38: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.387985 -3.326119)', '2026-07-18 12:38:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387913 -3.326065)'), GeomFromEWKT('SRID=4674;POINT (-38.387985 -3.326119)'))) / (select extract(epoch from '2026-07-18 12:38:57'::timestamp) - extract(epoch from '2026-07-18 12:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387913 -3.326065)'), GeomFromEWKT('SRID=4674;POINT (-38.387985 -3.326119)'))) / (select extract(epoch from '2026-07-18 12:38:57'::timestamp) - extract(epoch from '2026-07-18 12:38: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.388057 -3.326181)', '2026-07-18 12:39:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387985 -3.326119)'), GeomFromEWKT('SRID=4674;POINT (-38.388057 -3.326181)'))) / (select extract(epoch from '2026-07-18 12:39:03'::timestamp) - extract(epoch from '2026-07-18 12:38:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387985 -3.326119)'), GeomFromEWKT('SRID=4674;POINT (-38.388057 -3.326181)'))) / (select extract(epoch from '2026-07-18 12:39:03'::timestamp) - extract(epoch from '2026-07-18 12:38: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.388091 -3.32621)', '2026-07-18 12:39:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388057 -3.326181)'), GeomFromEWKT('SRID=4674;POINT (-38.388091 -3.32621)'))) / (select extract(epoch from '2026-07-18 12:39:05'::timestamp) - extract(epoch from '2026-07-18 12:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388057 -3.326181)'), GeomFromEWKT('SRID=4674;POINT (-38.388091 -3.32621)'))) / (select extract(epoch from '2026-07-18 12:39:05'::timestamp) - extract(epoch from '2026-07-18 12:39: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.388118 -3.326229)', '2026-07-18 12:39:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388091 -3.32621)'), GeomFromEWKT('SRID=4674;POINT (-38.388118 -3.326229)'))) / (select extract(epoch from '2026-07-18 12:39:07'::timestamp) - extract(epoch from '2026-07-18 12:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388091 -3.32621)'), GeomFromEWKT('SRID=4674;POINT (-38.388118 -3.326229)'))) / (select extract(epoch from '2026-07-18 12:39:07'::timestamp) - extract(epoch from '2026-07-18 12:39: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.388147 -3.326259)', '2026-07-18 12:39:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388118 -3.326229)'), GeomFromEWKT('SRID=4674;POINT (-38.388147 -3.326259)'))) / (select extract(epoch from '2026-07-18 12:39:10'::timestamp) - extract(epoch from '2026-07-18 12:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388118 -3.326229)'), GeomFromEWKT('SRID=4674;POINT (-38.388147 -3.326259)'))) / (select extract(epoch from '2026-07-18 12:39:10'::timestamp) - extract(epoch from '2026-07-18 12:39: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.38821 -3.326301)', '2026-07-18 12:39:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388147 -3.326259)'), GeomFromEWKT('SRID=4674;POINT (-38.38821 -3.326301)'))) / (select extract(epoch from '2026-07-18 12:39:14'::timestamp) - extract(epoch from '2026-07-18 12:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388147 -3.326259)'), GeomFromEWKT('SRID=4674;POINT (-38.38821 -3.326301)'))) / (select extract(epoch from '2026-07-18 12:39:14'::timestamp) - extract(epoch from '2026-07-18 12:39: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.388288 -3.326366)', '2026-07-18 12:39:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38821 -3.326301)'), GeomFromEWKT('SRID=4674;POINT (-38.388288 -3.326366)'))) / (select extract(epoch from '2026-07-18 12:39:20'::timestamp) - extract(epoch from '2026-07-18 12:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38821 -3.326301)'), GeomFromEWKT('SRID=4674;POINT (-38.388288 -3.326366)'))) / (select extract(epoch from '2026-07-18 12:39:20'::timestamp) - extract(epoch from '2026-07-18 12:39:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.388355 -3.326425)', '2026-07-18 12:39:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388288 -3.326366)'), GeomFromEWKT('SRID=4674;POINT (-38.388355 -3.326425)'))) / (select extract(epoch from '2026-07-18 12:39:25'::timestamp) - extract(epoch from '2026-07-18 12:39:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388288 -3.326366)'), GeomFromEWKT('SRID=4674;POINT (-38.388355 -3.326425)'))) / (select extract(epoch from '2026-07-18 12:39:25'::timestamp) - extract(epoch from '2026-07-18 12:39: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.388417 -3.326485)', '2026-07-18 12:39:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388355 -3.326425)'), GeomFromEWKT('SRID=4674;POINT (-38.388417 -3.326485)'))) / (select extract(epoch from '2026-07-18 12:39:30'::timestamp) - extract(epoch from '2026-07-18 12:39:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388355 -3.326425)'), GeomFromEWKT('SRID=4674;POINT (-38.388417 -3.326485)'))) / (select extract(epoch from '2026-07-18 12:39:30'::timestamp) - extract(epoch from '2026-07-18 12:39: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.388486 -3.326552)', '2026-07-18 12:39:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388417 -3.326485)'), GeomFromEWKT('SRID=4674;POINT (-38.388486 -3.326552)'))) / (select extract(epoch from '2026-07-18 12:39:36'::timestamp) - extract(epoch from '2026-07-18 12:39:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388417 -3.326485)'), GeomFromEWKT('SRID=4674;POINT (-38.388486 -3.326552)'))) / (select extract(epoch from '2026-07-18 12:39:36'::timestamp) - extract(epoch from '2026-07-18 12:39: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.388577 -3.326611)', '2026-07-18 12:39:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388486 -3.326552)'), GeomFromEWKT('SRID=4674;POINT (-38.388577 -3.326611)'))) / (select extract(epoch from '2026-07-18 12:39:42'::timestamp) - extract(epoch from '2026-07-18 12:39:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388486 -3.326552)'), GeomFromEWKT('SRID=4674;POINT (-38.388577 -3.326611)'))) / (select extract(epoch from '2026-07-18 12:39:42'::timestamp) - extract(epoch from '2026-07-18 12:39: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.388638 -3.32668)', '2026-07-18 12:39:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388577 -3.326611)'), GeomFromEWKT('SRID=4674;POINT (-38.388638 -3.32668)'))) / (select extract(epoch from '2026-07-18 12:39:47'::timestamp) - extract(epoch from '2026-07-18 12:39:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388577 -3.326611)'), GeomFromEWKT('SRID=4674;POINT (-38.388638 -3.32668)'))) / (select extract(epoch from '2026-07-18 12:39:47'::timestamp) - extract(epoch from '2026-07-18 12:39: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.388698 -3.326774)', '2026-07-18 12:39:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388638 -3.32668)'), GeomFromEWKT('SRID=4674;POINT (-38.388698 -3.326774)'))) / (select extract(epoch from '2026-07-18 12:39:53'::timestamp) - extract(epoch from '2026-07-18 12:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388638 -3.32668)'), GeomFromEWKT('SRID=4674;POINT (-38.388698 -3.326774)'))) / (select extract(epoch from '2026-07-18 12:39:53'::timestamp) - extract(epoch from '2026-07-18 12:39: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.388749 -3.326837)', '2026-07-18 12:39:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388698 -3.326774)'), GeomFromEWKT('SRID=4674;POINT (-38.388749 -3.326837)'))) / (select extract(epoch from '2026-07-18 12:39:58'::timestamp) - extract(epoch from '2026-07-18 12:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388698 -3.326774)'), GeomFromEWKT('SRID=4674;POINT (-38.388749 -3.326837)'))) / (select extract(epoch from '2026-07-18 12:39:58'::timestamp) - extract(epoch from '2026-07-18 12:39:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.388809 -3.326898)', '2026-07-18 12:40:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388749 -3.326837)'), GeomFromEWKT('SRID=4674;POINT (-38.388809 -3.326898)'))) / (select extract(epoch from '2026-07-18 12:40:03'::timestamp) - extract(epoch from '2026-07-18 12:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388749 -3.326837)'), GeomFromEWKT('SRID=4674;POINT (-38.388809 -3.326898)'))) / (select extract(epoch from '2026-07-18 12:40:03'::timestamp) - extract(epoch from '2026-07-18 12:39: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.388822 -3.326931)', '2026-07-18 12:40:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388809 -3.326898)'), GeomFromEWKT('SRID=4674;POINT (-38.388822 -3.326931)'))) / (select extract(epoch from '2026-07-18 12:40:05'::timestamp) - extract(epoch from '2026-07-18 12:40:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388809 -3.326898)'), GeomFromEWKT('SRID=4674;POINT (-38.388822 -3.326931)'))) / (select extract(epoch from '2026-07-18 12:40:05'::timestamp) - extract(epoch from '2026-07-18 12:40: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.388858 -3.326968)', '2026-07-18 12:40:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388822 -3.326931)'), GeomFromEWKT('SRID=4674;POINT (-38.388858 -3.326968)'))) / (select extract(epoch from '2026-07-18 12:40:08'::timestamp) - extract(epoch from '2026-07-18 12:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388822 -3.326931)'), GeomFromEWKT('SRID=4674;POINT (-38.388858 -3.326968)'))) / (select extract(epoch from '2026-07-18 12:40:08'::timestamp) - extract(epoch from '2026-07-18 12:40: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.388935 -3.327056)', '2026-07-18 12:40:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388858 -3.326968)'), GeomFromEWKT('SRID=4674;POINT (-38.388935 -3.327056)'))) / (select extract(epoch from '2026-07-18 12:40:14'::timestamp) - extract(epoch from '2026-07-18 12:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388858 -3.326968)'), GeomFromEWKT('SRID=4674;POINT (-38.388935 -3.327056)'))) / (select extract(epoch from '2026-07-18 12:40:14'::timestamp) - extract(epoch from '2026-07-18 12:40:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.388988 -3.327125)', '2026-07-18 12:40:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388935 -3.327056)'), GeomFromEWKT('SRID=4674;POINT (-38.388988 -3.327125)'))) / (select extract(epoch from '2026-07-18 12:40:19'::timestamp) - extract(epoch from '2026-07-18 12:40:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388935 -3.327056)'), GeomFromEWKT('SRID=4674;POINT (-38.388988 -3.327125)'))) / (select extract(epoch from '2026-07-18 12:40:19'::timestamp) - extract(epoch from '2026-07-18 12:40: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.38905 -3.327204)', '2026-07-18 12:40:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388988 -3.327125)'), GeomFromEWKT('SRID=4674;POINT (-38.38905 -3.327204)'))) / (select extract(epoch from '2026-07-18 12:40:24'::timestamp) - extract(epoch from '2026-07-18 12:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388988 -3.327125)'), GeomFromEWKT('SRID=4674;POINT (-38.38905 -3.327204)'))) / (select extract(epoch from '2026-07-18 12:40:24'::timestamp) - extract(epoch from '2026-07-18 12:40: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.389118 -3.327246)', '2026-07-18 12:40:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38905 -3.327204)'), GeomFromEWKT('SRID=4674;POINT (-38.389118 -3.327246)'))) / (select extract(epoch from '2026-07-18 12:40:28'::timestamp) - extract(epoch from '2026-07-18 12:40:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38905 -3.327204)'), GeomFromEWKT('SRID=4674;POINT (-38.389118 -3.327246)'))) / (select extract(epoch from '2026-07-18 12:40:28'::timestamp) - extract(epoch from '2026-07-18 12:40: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.389127 -3.327265)', '2026-07-18 12:40:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389118 -3.327246)'), GeomFromEWKT('SRID=4674;POINT (-38.389127 -3.327265)'))) / (select extract(epoch from '2026-07-18 12:40:29'::timestamp) - extract(epoch from '2026-07-18 12:40:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389118 -3.327246)'), GeomFromEWKT('SRID=4674;POINT (-38.389127 -3.327265)'))) / (select extract(epoch from '2026-07-18 12:40:29'::timestamp) - extract(epoch from '2026-07-18 12:40: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.38917 -3.327324)', '2026-07-18 12:40:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389127 -3.327265)'), GeomFromEWKT('SRID=4674;POINT (-38.38917 -3.327324)'))) / (select extract(epoch from '2026-07-18 12:40:32'::timestamp) - extract(epoch from '2026-07-18 12:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389127 -3.327265)'), GeomFromEWKT('SRID=4674;POINT (-38.38917 -3.327324)'))) / (select extract(epoch from '2026-07-18 12:40:32'::timestamp) - extract(epoch from '2026-07-18 12:40: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.389205 -3.327375)', '2026-07-18 12:40:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38917 -3.327324)'), GeomFromEWKT('SRID=4674;POINT (-38.389205 -3.327375)'))) / (select extract(epoch from '2026-07-18 12:40:36'::timestamp) - extract(epoch from '2026-07-18 12:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38917 -3.327324)'), GeomFromEWKT('SRID=4674;POINT (-38.389205 -3.327375)'))) / (select extract(epoch from '2026-07-18 12:40:36'::timestamp) - extract(epoch from '2026-07-18 12:40: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.389234 -3.327414)', '2026-07-18 12:40:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389205 -3.327375)'), GeomFromEWKT('SRID=4674;POINT (-38.389234 -3.327414)'))) / (select extract(epoch from '2026-07-18 12:40:39'::timestamp) - extract(epoch from '2026-07-18 12:40:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389205 -3.327375)'), GeomFromEWKT('SRID=4674;POINT (-38.389234 -3.327414)'))) / (select extract(epoch from '2026-07-18 12:40:39'::timestamp) - extract(epoch from '2026-07-18 12:40: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.389251 -3.327422)', '2026-07-18 12:40:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389234 -3.327414)'), GeomFromEWKT('SRID=4674;POINT (-38.389251 -3.327422)'))) / (select extract(epoch from '2026-07-18 12:40:40'::timestamp) - extract(epoch from '2026-07-18 12:40:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389234 -3.327414)'), GeomFromEWKT('SRID=4674;POINT (-38.389251 -3.327422)'))) / (select extract(epoch from '2026-07-18 12:40:40'::timestamp) - extract(epoch from '2026-07-18 12:40: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.389308 -3.327498)', '2026-07-18 12:40:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389251 -3.327422)'), GeomFromEWKT('SRID=4674;POINT (-38.389308 -3.327498)'))) / (select extract(epoch from '2026-07-18 12:40:45'::timestamp) - extract(epoch from '2026-07-18 12:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389251 -3.327422)'), GeomFromEWKT('SRID=4674;POINT (-38.389308 -3.327498)'))) / (select extract(epoch from '2026-07-18 12:40:45'::timestamp) - extract(epoch from '2026-07-18 12:40: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.389324 -3.327508)', '2026-07-18 12:40:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389308 -3.327498)'), GeomFromEWKT('SRID=4674;POINT (-38.389324 -3.327508)'))) / (select extract(epoch from '2026-07-18 12:40:46'::timestamp) - extract(epoch from '2026-07-18 12:40:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389308 -3.327498)'), GeomFromEWKT('SRID=4674;POINT (-38.389324 -3.327508)'))) / (select extract(epoch from '2026-07-18 12:40:46'::timestamp) - extract(epoch from '2026-07-18 12:40: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.389341 -3.327521)', '2026-07-18 12:40:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389324 -3.327508)'), GeomFromEWKT('SRID=4674;POINT (-38.389341 -3.327521)'))) / (select extract(epoch from '2026-07-18 12:40:47'::timestamp) - extract(epoch from '2026-07-18 12:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389324 -3.327508)'), GeomFromEWKT('SRID=4674;POINT (-38.389341 -3.327521)'))) / (select extract(epoch from '2026-07-18 12:40:47'::timestamp) - extract(epoch from '2026-07-18 12:40: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.38938 -3.32758)', '2026-07-18 12:40:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389341 -3.327521)'), GeomFromEWKT('SRID=4674;POINT (-38.38938 -3.32758)'))) / (select extract(epoch from '2026-07-18 12:40:51'::timestamp) - extract(epoch from '2026-07-18 12:40:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389341 -3.327521)'), GeomFromEWKT('SRID=4674;POINT (-38.38938 -3.32758)'))) / (select extract(epoch from '2026-07-18 12:40:51'::timestamp) - extract(epoch from '2026-07-18 12:40: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.389432 -3.327632)', '2026-07-18 12:40:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38938 -3.32758)'), GeomFromEWKT('SRID=4674;POINT (-38.389432 -3.327632)'))) / (select extract(epoch from '2026-07-18 12:40:55'::timestamp) - extract(epoch from '2026-07-18 12:40:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38938 -3.32758)'), GeomFromEWKT('SRID=4674;POINT (-38.389432 -3.327632)'))) / (select extract(epoch from '2026-07-18 12:40:55'::timestamp) - extract(epoch from '2026-07-18 12:40: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.389522 -3.327711)', '2026-07-18 12:41:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389432 -3.327632)'), GeomFromEWKT('SRID=4674;POINT (-38.389522 -3.327711)'))) / (select extract(epoch from '2026-07-18 12:41:02'::timestamp) - extract(epoch from '2026-07-18 12:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389432 -3.327632)'), GeomFromEWKT('SRID=4674;POINT (-38.389522 -3.327711)'))) / (select extract(epoch from '2026-07-18 12:41:02'::timestamp) - extract(epoch from '2026-07-18 12:40:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.389572 -3.327789)', '2026-07-18 12:41:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389522 -3.327711)'), GeomFromEWKT('SRID=4674;POINT (-38.389572 -3.327789)'))) / (select extract(epoch from '2026-07-18 12:41:07'::timestamp) - extract(epoch from '2026-07-18 12:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389522 -3.327711)'), GeomFromEWKT('SRID=4674;POINT (-38.389572 -3.327789)'))) / (select extract(epoch from '2026-07-18 12:41:07'::timestamp) - extract(epoch from '2026-07-18 12:41:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.389622 -3.327869)', '2026-07-18 12:41:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389572 -3.327789)'), GeomFromEWKT('SRID=4674;POINT (-38.389622 -3.327869)'))) / (select extract(epoch from '2026-07-18 12:41:12'::timestamp) - extract(epoch from '2026-07-18 12:41:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389572 -3.327789)'), GeomFromEWKT('SRID=4674;POINT (-38.389622 -3.327869)'))) / (select extract(epoch from '2026-07-18 12:41:12'::timestamp) - extract(epoch from '2026-07-18 12:41: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.389691 -3.327952)', '2026-07-18 12:41:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389622 -3.327869)'), GeomFromEWKT('SRID=4674;POINT (-38.389691 -3.327952)'))) / (select extract(epoch from '2026-07-18 12:41:17'::timestamp) - extract(epoch from '2026-07-18 12:41:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389622 -3.327869)'), GeomFromEWKT('SRID=4674;POINT (-38.389691 -3.327952)'))) / (select extract(epoch from '2026-07-18 12:41:17'::timestamp) - extract(epoch from '2026-07-18 12:41:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.389727 -3.327994)', '2026-07-18 12:41:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389691 -3.327952)'), GeomFromEWKT('SRID=4674;POINT (-38.389727 -3.327994)'))) / (select extract(epoch from '2026-07-18 12:41:20'::timestamp) - extract(epoch from '2026-07-18 12:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389691 -3.327952)'), GeomFromEWKT('SRID=4674;POINT (-38.389727 -3.327994)'))) / (select extract(epoch from '2026-07-18 12:41:20'::timestamp) - extract(epoch from '2026-07-18 12:41:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.389751 -3.328014)', '2026-07-18 12:41:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389727 -3.327994)'), GeomFromEWKT('SRID=4674;POINT (-38.389751 -3.328014)'))) / (select extract(epoch from '2026-07-18 12:41:22'::timestamp) - extract(epoch from '2026-07-18 12:41:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389727 -3.327994)'), GeomFromEWKT('SRID=4674;POINT (-38.389751 -3.328014)'))) / (select extract(epoch from '2026-07-18 12:41:22'::timestamp) - extract(epoch from '2026-07-18 12:41: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.3898 -3.328074)', '2026-07-18 12:41:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389751 -3.328014)'), GeomFromEWKT('SRID=4674;POINT (-38.3898 -3.328074)'))) / (select extract(epoch from '2026-07-18 12:41:26'::timestamp) - extract(epoch from '2026-07-18 12:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389751 -3.328014)'), GeomFromEWKT('SRID=4674;POINT (-38.3898 -3.328074)'))) / (select extract(epoch from '2026-07-18 12:41:26'::timestamp) - extract(epoch from '2026-07-18 12:41: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.389844 -3.328133)', '2026-07-18 12:41:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3898 -3.328074)'), GeomFromEWKT('SRID=4674;POINT (-38.389844 -3.328133)'))) / (select extract(epoch from '2026-07-18 12:41:30'::timestamp) - extract(epoch from '2026-07-18 12:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3898 -3.328074)'), GeomFromEWKT('SRID=4674;POINT (-38.389844 -3.328133)'))) / (select extract(epoch from '2026-07-18 12:41:30'::timestamp) - extract(epoch from '2026-07-18 12:41:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.389858 -3.328139)', '2026-07-18 12:41:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389844 -3.328133)'), GeomFromEWKT('SRID=4674;POINT (-38.389858 -3.328139)'))) / (select extract(epoch from '2026-07-18 12:41:31'::timestamp) - extract(epoch from '2026-07-18 12:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389844 -3.328133)'), GeomFromEWKT('SRID=4674;POINT (-38.389858 -3.328139)'))) / (select extract(epoch from '2026-07-18 12:41:31'::timestamp) - extract(epoch from '2026-07-18 12:41: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.389877 -3.328159)', '2026-07-18 12:41:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389858 -3.328139)'), GeomFromEWKT('SRID=4674;POINT (-38.389877 -3.328159)'))) / (select extract(epoch from '2026-07-18 12:41:33'::timestamp) - extract(epoch from '2026-07-18 12:41:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389858 -3.328139)'), GeomFromEWKT('SRID=4674;POINT (-38.389877 -3.328159)'))) / (select extract(epoch from '2026-07-18 12:41:33'::timestamp) - extract(epoch from '2026-07-18 12:41: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.389908 -3.328187)', '2026-07-18 12:41:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389877 -3.328159)'), GeomFromEWKT('SRID=4674;POINT (-38.389908 -3.328187)'))) / (select extract(epoch from '2026-07-18 12:41:35'::timestamp) - extract(epoch from '2026-07-18 12:41:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389877 -3.328159)'), GeomFromEWKT('SRID=4674;POINT (-38.389908 -3.328187)'))) / (select extract(epoch from '2026-07-18 12:41:35'::timestamp) - extract(epoch from '2026-07-18 12:41: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.389925 -3.328195)', '2026-07-18 12:41:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389908 -3.328187)'), GeomFromEWKT('SRID=4674;POINT (-38.389925 -3.328195)'))) / (select extract(epoch from '2026-07-18 12:41:36'::timestamp) - extract(epoch from '2026-07-18 12:41:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389908 -3.328187)'), GeomFromEWKT('SRID=4674;POINT (-38.389925 -3.328195)'))) / (select extract(epoch from '2026-07-18 12:41:36'::timestamp) - extract(epoch from '2026-07-18 12:41: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.389951 -3.328219)', '2026-07-18 12:41:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389925 -3.328195)'), GeomFromEWKT('SRID=4674;POINT (-38.389951 -3.328219)'))) / (select extract(epoch from '2026-07-18 12:41:39'::timestamp) - extract(epoch from '2026-07-18 12:41:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389925 -3.328195)'), GeomFromEWKT('SRID=4674;POINT (-38.389951 -3.328219)'))) / (select extract(epoch from '2026-07-18 12:41:39'::timestamp) - extract(epoch from '2026-07-18 12:41: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.389964 -3.328232)', '2026-07-18 12:41:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389951 -3.328219)'), GeomFromEWKT('SRID=4674;POINT (-38.389964 -3.328232)'))) / (select extract(epoch from '2026-07-18 12:41:40'::timestamp) - extract(epoch from '2026-07-18 12:41:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389951 -3.328219)'), GeomFromEWKT('SRID=4674;POINT (-38.389964 -3.328232)'))) / (select extract(epoch from '2026-07-18 12:41:40'::timestamp) - extract(epoch from '2026-07-18 12:41: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.389997 -3.328264)', '2026-07-18 12:41:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389964 -3.328232)'), GeomFromEWKT('SRID=4674;POINT (-38.389997 -3.328264)'))) / (select extract(epoch from '2026-07-18 12:41:42'::timestamp) - extract(epoch from '2026-07-18 12:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389964 -3.328232)'), GeomFromEWKT('SRID=4674;POINT (-38.389997 -3.328264)'))) / (select extract(epoch from '2026-07-18 12:41:42'::timestamp) - extract(epoch from '2026-07-18 12:41: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.390065 -3.328333)', '2026-07-18 12:41:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389997 -3.328264)'), GeomFromEWKT('SRID=4674;POINT (-38.390065 -3.328333)'))) / (select extract(epoch from '2026-07-18 12:41:47'::timestamp) - extract(epoch from '2026-07-18 12:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389997 -3.328264)'), GeomFromEWKT('SRID=4674;POINT (-38.390065 -3.328333)'))) / (select extract(epoch from '2026-07-18 12:41:47'::timestamp) - extract(epoch from '2026-07-18 12:41: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.390131 -3.328404)', '2026-07-18 12:41:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390065 -3.328333)'), GeomFromEWKT('SRID=4674;POINT (-38.390131 -3.328404)'))) / (select extract(epoch from '2026-07-18 12:41:52'::timestamp) - extract(epoch from '2026-07-18 12:41:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390065 -3.328333)'), GeomFromEWKT('SRID=4674;POINT (-38.390131 -3.328404)'))) / (select extract(epoch from '2026-07-18 12:41:52'::timestamp) - extract(epoch from '2026-07-18 12:41: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.390203 -3.328481)', '2026-07-18 12:41:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390131 -3.328404)'), GeomFromEWKT('SRID=4674;POINT (-38.390203 -3.328481)'))) / (select extract(epoch from '2026-07-18 12:41:58'::timestamp) - extract(epoch from '2026-07-18 12:41:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390131 -3.328404)'), GeomFromEWKT('SRID=4674;POINT (-38.390203 -3.328481)'))) / (select extract(epoch from '2026-07-18 12:41:58'::timestamp) - extract(epoch from '2026-07-18 12:41: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.390229 -3.328505)', '2026-07-18 12:42:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390203 -3.328481)'), GeomFromEWKT('SRID=4674;POINT (-38.390229 -3.328505)'))) / (select extract(epoch from '2026-07-18 12:42:00'::timestamp) - extract(epoch from '2026-07-18 12:41:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390203 -3.328481)'), GeomFromEWKT('SRID=4674;POINT (-38.390229 -3.328505)'))) / (select extract(epoch from '2026-07-18 12:42:00'::timestamp) - extract(epoch from '2026-07-18 12:41:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.39027 -3.328551)', '2026-07-18 12:42:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390229 -3.328505)'), GeomFromEWKT('SRID=4674;POINT (-38.39027 -3.328551)'))) / (select extract(epoch from '2026-07-18 12:42:03'::timestamp) - extract(epoch from '2026-07-18 12:42:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390229 -3.328505)'), GeomFromEWKT('SRID=4674;POINT (-38.39027 -3.328551)'))) / (select extract(epoch from '2026-07-18 12:42:03'::timestamp) - extract(epoch from '2026-07-18 12:42: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.390321 -3.328629)', '2026-07-18 12:42:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39027 -3.328551)'), GeomFromEWKT('SRID=4674;POINT (-38.390321 -3.328629)'))) / (select extract(epoch from '2026-07-18 12:42:08'::timestamp) - extract(epoch from '2026-07-18 12:42:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39027 -3.328551)'), GeomFromEWKT('SRID=4674;POINT (-38.390321 -3.328629)'))) / (select extract(epoch from '2026-07-18 12:42:08'::timestamp) - extract(epoch from '2026-07-18 12:42: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.390393 -3.328721)', '2026-07-18 12:42:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390321 -3.328629)'), GeomFromEWKT('SRID=4674;POINT (-38.390393 -3.328721)'))) / (select extract(epoch from '2026-07-18 12:42:15'::timestamp) - extract(epoch from '2026-07-18 12:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390321 -3.328629)'), GeomFromEWKT('SRID=4674;POINT (-38.390393 -3.328721)'))) / (select extract(epoch from '2026-07-18 12:42:15'::timestamp) - extract(epoch from '2026-07-18 12:42: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.390448 -3.328796)', '2026-07-18 12:42:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390393 -3.328721)'), GeomFromEWKT('SRID=4674;POINT (-38.390448 -3.328796)'))) / (select extract(epoch from '2026-07-18 12:42:21'::timestamp) - extract(epoch from '2026-07-18 12:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390393 -3.328721)'), GeomFromEWKT('SRID=4674;POINT (-38.390448 -3.328796)'))) / (select extract(epoch from '2026-07-18 12:42:21'::timestamp) - extract(epoch from '2026-07-18 12:42: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.390499 -3.328853)', '2026-07-18 12:42:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390448 -3.328796)'), GeomFromEWKT('SRID=4674;POINT (-38.390499 -3.328853)'))) / (select extract(epoch from '2026-07-18 12:42:26'::timestamp) - extract(epoch from '2026-07-18 12:42:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390448 -3.328796)'), GeomFromEWKT('SRID=4674;POINT (-38.390499 -3.328853)'))) / (select extract(epoch from '2026-07-18 12:42:26'::timestamp) - extract(epoch from '2026-07-18 12:42: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.390514 -3.328861)', '2026-07-18 12:42:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390499 -3.328853)'), GeomFromEWKT('SRID=4674;POINT (-38.390514 -3.328861)'))) / (select extract(epoch from '2026-07-18 12:42:27'::timestamp) - extract(epoch from '2026-07-18 12:42:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390499 -3.328853)'), GeomFromEWKT('SRID=4674;POINT (-38.390514 -3.328861)'))) / (select extract(epoch from '2026-07-18 12:42:27'::timestamp) - extract(epoch from '2026-07-18 12:42: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.390538 -3.328879)', '2026-07-18 12:42:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390514 -3.328861)'), GeomFromEWKT('SRID=4674;POINT (-38.390538 -3.328879)'))) / (select extract(epoch from '2026-07-18 12:42:29'::timestamp) - extract(epoch from '2026-07-18 12:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390514 -3.328861)'), GeomFromEWKT('SRID=4674;POINT (-38.390538 -3.328879)'))) / (select extract(epoch from '2026-07-18 12:42:29'::timestamp) - extract(epoch from '2026-07-18 12:42: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.390556 -3.328902)', '2026-07-18 12:42:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390538 -3.328879)'), GeomFromEWKT('SRID=4674;POINT (-38.390556 -3.328902)'))) / (select extract(epoch from '2026-07-18 12:42:31'::timestamp) - extract(epoch from '2026-07-18 12:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390538 -3.328879)'), GeomFromEWKT('SRID=4674;POINT (-38.390556 -3.328902)'))) / (select extract(epoch from '2026-07-18 12:42:31'::timestamp) - extract(epoch from '2026-07-18 12:42: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.390643 -3.328965)', '2026-07-18 12:42:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390556 -3.328902)'), GeomFromEWKT('SRID=4674;POINT (-38.390643 -3.328965)'))) / (select extract(epoch from '2026-07-18 12:42:37'::timestamp) - extract(epoch from '2026-07-18 12:42:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390556 -3.328902)'), GeomFromEWKT('SRID=4674;POINT (-38.390643 -3.328965)'))) / (select extract(epoch from '2026-07-18 12:42:37'::timestamp) - extract(epoch from '2026-07-18 12:42: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.390736 -3.329071)', '2026-07-18 12:42:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390643 -3.328965)'), GeomFromEWKT('SRID=4674;POINT (-38.390736 -3.329071)'))) / (select extract(epoch from '2026-07-18 12:42:44'::timestamp) - extract(epoch from '2026-07-18 12:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390643 -3.328965)'), GeomFromEWKT('SRID=4674;POINT (-38.390736 -3.329071)'))) / (select extract(epoch from '2026-07-18 12:42:44'::timestamp) - extract(epoch from '2026-07-18 12:42: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.390797 -3.329168)', '2026-07-18 12:42:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390736 -3.329071)'), GeomFromEWKT('SRID=4674;POINT (-38.390797 -3.329168)'))) / (select extract(epoch from '2026-07-18 12:42:50'::timestamp) - extract(epoch from '2026-07-18 12:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390736 -3.329071)'), GeomFromEWKT('SRID=4674;POINT (-38.390797 -3.329168)'))) / (select extract(epoch from '2026-07-18 12:42:50'::timestamp) - extract(epoch from '2026-07-18 12:42: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.390853 -3.329262)', '2026-07-18 12:42:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390797 -3.329168)'), GeomFromEWKT('SRID=4674;POINT (-38.390853 -3.329262)'))) / (select extract(epoch from '2026-07-18 12:42:56'::timestamp) - extract(epoch from '2026-07-18 12:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390797 -3.329168)'), GeomFromEWKT('SRID=4674;POINT (-38.390853 -3.329262)'))) / (select extract(epoch from '2026-07-18 12:42:56'::timestamp) - extract(epoch from '2026-07-18 12:42: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.390909 -3.329343)', '2026-07-18 12:43:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390853 -3.329262)'), GeomFromEWKT('SRID=4674;POINT (-38.390909 -3.329343)'))) / (select extract(epoch from '2026-07-18 12:43:01'::timestamp) - extract(epoch from '2026-07-18 12:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390853 -3.329262)'), GeomFromEWKT('SRID=4674;POINT (-38.390909 -3.329343)'))) / (select extract(epoch from '2026-07-18 12:43:01'::timestamp) - extract(epoch from '2026-07-18 12:42: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.390992 -3.329443)', '2026-07-18 12:43:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390909 -3.329343)'), GeomFromEWKT('SRID=4674;POINT (-38.390992 -3.329443)'))) / (select extract(epoch from '2026-07-18 12:43:08'::timestamp) - extract(epoch from '2026-07-18 12:43:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390909 -3.329343)'), GeomFromEWKT('SRID=4674;POINT (-38.390992 -3.329443)'))) / (select extract(epoch from '2026-07-18 12:43:08'::timestamp) - extract(epoch from '2026-07-18 12:43: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.391044 -3.329502)', '2026-07-18 12:43:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390992 -3.329443)'), GeomFromEWKT('SRID=4674;POINT (-38.391044 -3.329502)'))) / (select extract(epoch from '2026-07-18 12:43:12'::timestamp) - extract(epoch from '2026-07-18 12:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390992 -3.329443)'), GeomFromEWKT('SRID=4674;POINT (-38.391044 -3.329502)'))) / (select extract(epoch from '2026-07-18 12:43:12'::timestamp) - extract(epoch from '2026-07-18 12:43: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.391057 -3.329513)', '2026-07-18 12:43:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391044 -3.329502)'), GeomFromEWKT('SRID=4674;POINT (-38.391057 -3.329513)'))) / (select extract(epoch from '2026-07-18 12:43:13'::timestamp) - extract(epoch from '2026-07-18 12:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391044 -3.329502)'), GeomFromEWKT('SRID=4674;POINT (-38.391057 -3.329513)'))) / (select extract(epoch from '2026-07-18 12:43:13'::timestamp) - extract(epoch from '2026-07-18 12:43: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.391089 -3.329566)', '2026-07-18 12:43:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391057 -3.329513)'), GeomFromEWKT('SRID=4674;POINT (-38.391089 -3.329566)'))) / (select extract(epoch from '2026-07-18 12:43:16'::timestamp) - extract(epoch from '2026-07-18 12:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391057 -3.329513)'), GeomFromEWKT('SRID=4674;POINT (-38.391089 -3.329566)'))) / (select extract(epoch from '2026-07-18 12:43:16'::timestamp) - extract(epoch from '2026-07-18 12:43: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.391104 -3.329577)', '2026-07-18 12:43:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391089 -3.329566)'), GeomFromEWKT('SRID=4674;POINT (-38.391104 -3.329577)'))) / (select extract(epoch from '2026-07-18 12:43:17'::timestamp) - extract(epoch from '2026-07-18 12:43:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391089 -3.329566)'), GeomFromEWKT('SRID=4674;POINT (-38.391104 -3.329577)'))) / (select extract(epoch from '2026-07-18 12:43:17'::timestamp) - extract(epoch from '2026-07-18 12:43: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.391183 -3.329653)', '2026-07-18 12:43:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391104 -3.329577)'), GeomFromEWKT('SRID=4674;POINT (-38.391183 -3.329653)'))) / (select extract(epoch from '2026-07-18 12:43:23'::timestamp) - extract(epoch from '2026-07-18 12:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391104 -3.329577)'), GeomFromEWKT('SRID=4674;POINT (-38.391183 -3.329653)'))) / (select extract(epoch from '2026-07-18 12:43:23'::timestamp) - extract(epoch from '2026-07-18 12:43: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.391217 -3.32968)', '2026-07-18 12:43:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391183 -3.329653)'), GeomFromEWKT('SRID=4674;POINT (-38.391217 -3.32968)'))) / (select extract(epoch from '2026-07-18 12:43:25'::timestamp) - extract(epoch from '2026-07-18 12:43:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391183 -3.329653)'), GeomFromEWKT('SRID=4674;POINT (-38.391217 -3.32968)'))) / (select extract(epoch from '2026-07-18 12:43:25'::timestamp) - extract(epoch from '2026-07-18 12:43: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.391247 -3.32973)', '2026-07-18 12:43:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391217 -3.32968)'), GeomFromEWKT('SRID=4674;POINT (-38.391247 -3.32973)'))) / (select extract(epoch from '2026-07-18 12:43:28'::timestamp) - extract(epoch from '2026-07-18 12:43:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391217 -3.32968)'), GeomFromEWKT('SRID=4674;POINT (-38.391247 -3.32973)'))) / (select extract(epoch from '2026-07-18 12:43:28'::timestamp) - extract(epoch from '2026-07-18 12:43: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.391297 -3.329782)', '2026-07-18 12:43:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391247 -3.32973)'), GeomFromEWKT('SRID=4674;POINT (-38.391297 -3.329782)'))) / (select extract(epoch from '2026-07-18 12:43:32'::timestamp) - extract(epoch from '2026-07-18 12:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391247 -3.32973)'), GeomFromEWKT('SRID=4674;POINT (-38.391297 -3.329782)'))) / (select extract(epoch from '2026-07-18 12:43:32'::timestamp) - extract(epoch from '2026-07-18 12:43: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.391316 -3.329811)', '2026-07-18 12:43:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391297 -3.329782)'), GeomFromEWKT('SRID=4674;POINT (-38.391316 -3.329811)'))) / (select extract(epoch from '2026-07-18 12:43:34'::timestamp) - extract(epoch from '2026-07-18 12:43:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391297 -3.329782)'), GeomFromEWKT('SRID=4674;POINT (-38.391316 -3.329811)'))) / (select extract(epoch from '2026-07-18 12:43:34'::timestamp) - extract(epoch from '2026-07-18 12:43: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.391372 -3.329883)', '2026-07-18 12:43:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391316 -3.329811)'), GeomFromEWKT('SRID=4674;POINT (-38.391372 -3.329883)'))) / (select extract(epoch from '2026-07-18 12:43:39'::timestamp) - extract(epoch from '2026-07-18 12:43:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391316 -3.329811)'), GeomFromEWKT('SRID=4674;POINT (-38.391372 -3.329883)'))) / (select extract(epoch from '2026-07-18 12:43:39'::timestamp) - extract(epoch from '2026-07-18 12:43: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.391432 -3.329939)', '2026-07-18 12:43:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391372 -3.329883)'), GeomFromEWKT('SRID=4674;POINT (-38.391432 -3.329939)'))) / (select extract(epoch from '2026-07-18 12:43:43'::timestamp) - extract(epoch from '2026-07-18 12:43:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391372 -3.329883)'), GeomFromEWKT('SRID=4674;POINT (-38.391432 -3.329939)'))) / (select extract(epoch from '2026-07-18 12:43:43'::timestamp) - extract(epoch from '2026-07-18 12:43: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.391464 -3.329987)', '2026-07-18 12:43:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391432 -3.329939)'), GeomFromEWKT('SRID=4674;POINT (-38.391464 -3.329987)'))) / (select extract(epoch from '2026-07-18 12:43:46'::timestamp) - extract(epoch from '2026-07-18 12:43:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391432 -3.329939)'), GeomFromEWKT('SRID=4674;POINT (-38.391464 -3.329987)'))) / (select extract(epoch from '2026-07-18 12:43:46'::timestamp) - extract(epoch from '2026-07-18 12:43: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.391498 -3.330012)', '2026-07-18 12:43:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391464 -3.329987)'), GeomFromEWKT('SRID=4674;POINT (-38.391498 -3.330012)'))) / (select extract(epoch from '2026-07-18 12:43:48'::timestamp) - extract(epoch from '2026-07-18 12:43:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391464 -3.329987)'), GeomFromEWKT('SRID=4674;POINT (-38.391498 -3.330012)'))) / (select extract(epoch from '2026-07-18 12:43:48'::timestamp) - extract(epoch from '2026-07-18 12:43: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.391509 -3.330024)', '2026-07-18 12:43:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391498 -3.330012)'), GeomFromEWKT('SRID=4674;POINT (-38.391509 -3.330024)'))) / (select extract(epoch from '2026-07-18 12:43:49'::timestamp) - extract(epoch from '2026-07-18 12:43:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391498 -3.330012)'), GeomFromEWKT('SRID=4674;POINT (-38.391509 -3.330024)'))) / (select extract(epoch from '2026-07-18 12:43:49'::timestamp) - extract(epoch from '2026-07-18 12:43: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.39155 -3.330085)', '2026-07-18 12:43:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391509 -3.330024)'), GeomFromEWKT('SRID=4674;POINT (-38.39155 -3.330085)'))) / (select extract(epoch from '2026-07-18 12:43:53'::timestamp) - extract(epoch from '2026-07-18 12:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391509 -3.330024)'), GeomFromEWKT('SRID=4674;POINT (-38.39155 -3.330085)'))) / (select extract(epoch from '2026-07-18 12:43:53'::timestamp) - extract(epoch from '2026-07-18 12:43: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.391609 -3.330153)', '2026-07-18 12:43:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39155 -3.330085)'), GeomFromEWKT('SRID=4674;POINT (-38.391609 -3.330153)'))) / (select extract(epoch from '2026-07-18 12:43:59'::timestamp) - extract(epoch from '2026-07-18 12:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39155 -3.330085)'), GeomFromEWKT('SRID=4674;POINT (-38.391609 -3.330153)'))) / (select extract(epoch from '2026-07-18 12:43:59'::timestamp) - extract(epoch from '2026-07-18 12:43: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.391661 -3.330206)', '2026-07-18 12:44:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391609 -3.330153)'), GeomFromEWKT('SRID=4674;POINT (-38.391661 -3.330206)'))) / (select extract(epoch from '2026-07-18 12:44:04'::timestamp) - extract(epoch from '2026-07-18 12:43:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391609 -3.330153)'), GeomFromEWKT('SRID=4674;POINT (-38.391661 -3.330206)'))) / (select extract(epoch from '2026-07-18 12:44:04'::timestamp) - extract(epoch from '2026-07-18 12:43: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.391676 -3.330214)', '2026-07-18 12:44:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391661 -3.330206)'), GeomFromEWKT('SRID=4674;POINT (-38.391676 -3.330214)'))) / (select extract(epoch from '2026-07-18 12:44:05'::timestamp) - extract(epoch from '2026-07-18 12:44:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391661 -3.330206)'), GeomFromEWKT('SRID=4674;POINT (-38.391676 -3.330214)'))) / (select extract(epoch from '2026-07-18 12:44:05'::timestamp) - extract(epoch from '2026-07-18 12:44: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.391753 -3.33027)', '2026-07-18 12:44:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391676 -3.330214)'), GeomFromEWKT('SRID=4674;POINT (-38.391753 -3.33027)'))) / (select extract(epoch from '2026-07-18 12:44:11'::timestamp) - extract(epoch from '2026-07-18 12:44:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391676 -3.330214)'), GeomFromEWKT('SRID=4674;POINT (-38.391753 -3.33027)'))) / (select extract(epoch from '2026-07-18 12:44:11'::timestamp) - extract(epoch from '2026-07-18 12:44: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.391785 -3.3303)', '2026-07-18 12:44:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391753 -3.33027)'), GeomFromEWKT('SRID=4674;POINT (-38.391785 -3.3303)'))) / (select extract(epoch from '2026-07-18 12:44:14'::timestamp) - extract(epoch from '2026-07-18 12:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391753 -3.33027)'), GeomFromEWKT('SRID=4674;POINT (-38.391785 -3.3303)'))) / (select extract(epoch from '2026-07-18 12:44:14'::timestamp) - extract(epoch from '2026-07-18 12:44: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.391817 -3.330323)', '2026-07-18 12:44:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391785 -3.3303)'), GeomFromEWKT('SRID=4674;POINT (-38.391817 -3.330323)'))) / (select extract(epoch from '2026-07-18 12:44:16'::timestamp) - extract(epoch from '2026-07-18 12:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391785 -3.3303)'), GeomFromEWKT('SRID=4674;POINT (-38.391817 -3.330323)'))) / (select extract(epoch from '2026-07-18 12:44:16'::timestamp) - extract(epoch from '2026-07-18 12:44: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.39187 -3.330359)', '2026-07-18 12:44:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391817 -3.330323)'), GeomFromEWKT('SRID=4674;POINT (-38.39187 -3.330359)'))) / (select extract(epoch from '2026-07-18 12:44:20'::timestamp) - extract(epoch from '2026-07-18 12:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391817 -3.330323)'), GeomFromEWKT('SRID=4674;POINT (-38.39187 -3.330359)'))) / (select extract(epoch from '2026-07-18 12:44:20'::timestamp) - extract(epoch from '2026-07-18 12:44: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.391909 -3.330405)', '2026-07-18 12:44:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39187 -3.330359)'), GeomFromEWKT('SRID=4674;POINT (-38.391909 -3.330405)'))) / (select extract(epoch from '2026-07-18 12:44:23'::timestamp) - extract(epoch from '2026-07-18 12:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39187 -3.330359)'), GeomFromEWKT('SRID=4674;POINT (-38.391909 -3.330405)'))) / (select extract(epoch from '2026-07-18 12:44:23'::timestamp) - extract(epoch from '2026-07-18 12:44: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.391924 -3.330411)', '2026-07-18 12:44:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391909 -3.330405)'), GeomFromEWKT('SRID=4674;POINT (-38.391924 -3.330411)'))) / (select extract(epoch from '2026-07-18 12:44:24'::timestamp) - extract(epoch from '2026-07-18 12:44:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391909 -3.330405)'), GeomFromEWKT('SRID=4674;POINT (-38.391924 -3.330411)'))) / (select extract(epoch from '2026-07-18 12:44:24'::timestamp) - extract(epoch from '2026-07-18 12:44: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.391969 -3.330444)', '2026-07-18 12:44:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391924 -3.330411)'), GeomFromEWKT('SRID=4674;POINT (-38.391969 -3.330444)'))) / (select extract(epoch from '2026-07-18 12:44:28'::timestamp) - extract(epoch from '2026-07-18 12:44:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391924 -3.330411)'), GeomFromEWKT('SRID=4674;POINT (-38.391969 -3.330444)'))) / (select extract(epoch from '2026-07-18 12:44:28'::timestamp) - extract(epoch from '2026-07-18 12:44: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.391997 -3.330464)', '2026-07-18 12:44:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391969 -3.330444)'), GeomFromEWKT('SRID=4674;POINT (-38.391997 -3.330464)'))) / (select extract(epoch from '2026-07-18 12:44:30'::timestamp) - extract(epoch from '2026-07-18 12:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391969 -3.330444)'), GeomFromEWKT('SRID=4674;POINT (-38.391997 -3.330464)'))) / (select extract(epoch from '2026-07-18 12:44:30'::timestamp) - extract(epoch from '2026-07-18 12:44: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.392077 -3.330515)', '2026-07-18 12:44:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391997 -3.330464)'), GeomFromEWKT('SRID=4674;POINT (-38.392077 -3.330515)'))) / (select extract(epoch from '2026-07-18 12:44:36'::timestamp) - extract(epoch from '2026-07-18 12:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391997 -3.330464)'), GeomFromEWKT('SRID=4674;POINT (-38.392077 -3.330515)'))) / (select extract(epoch from '2026-07-18 12:44:36'::timestamp) - extract(epoch from '2026-07-18 12:44: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.392157 -3.330586)', '2026-07-18 12:44:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392077 -3.330515)'), GeomFromEWKT('SRID=4674;POINT (-38.392157 -3.330586)'))) / (select extract(epoch from '2026-07-18 12:44:42'::timestamp) - extract(epoch from '2026-07-18 12:44:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392077 -3.330515)'), GeomFromEWKT('SRID=4674;POINT (-38.392157 -3.330586)'))) / (select extract(epoch from '2026-07-18 12:44:42'::timestamp) - extract(epoch from '2026-07-18 12:44: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.392222 -3.330666)', '2026-07-18 12:44:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392157 -3.330586)'), GeomFromEWKT('SRID=4674;POINT (-38.392222 -3.330666)'))) / (select extract(epoch from '2026-07-18 12:44:48'::timestamp) - extract(epoch from '2026-07-18 12:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392157 -3.330586)'), GeomFromEWKT('SRID=4674;POINT (-38.392222 -3.330666)'))) / (select extract(epoch from '2026-07-18 12:44:48'::timestamp) - extract(epoch from '2026-07-18 12:44: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.392284 -3.330712)', '2026-07-18 12:44:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392222 -3.330666)'), GeomFromEWKT('SRID=4674;POINT (-38.392284 -3.330712)'))) / (select extract(epoch from '2026-07-18 12:44:54'::timestamp) - extract(epoch from '2026-07-18 12:44:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392222 -3.330666)'), GeomFromEWKT('SRID=4674;POINT (-38.392284 -3.330712)'))) / (select extract(epoch from '2026-07-18 12:44:54'::timestamp) - extract(epoch from '2026-07-18 12:44: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.392296 -3.330721)', '2026-07-18 12:44:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392284 -3.330712)'), GeomFromEWKT('SRID=4674;POINT (-38.392296 -3.330721)'))) / (select extract(epoch from '2026-07-18 12:44:55'::timestamp) - extract(epoch from '2026-07-18 12:44:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392284 -3.330712)'), GeomFromEWKT('SRID=4674;POINT (-38.392296 -3.330721)'))) / (select extract(epoch from '2026-07-18 12:44:55'::timestamp) - extract(epoch from '2026-07-18 12:44: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.392383 -3.33079)', '2026-07-18 12:45:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392296 -3.330721)'), GeomFromEWKT('SRID=4674;POINT (-38.392383 -3.33079)'))) / (select extract(epoch from '2026-07-18 12:45:01'::timestamp) - extract(epoch from '2026-07-18 12:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392296 -3.330721)'), GeomFromEWKT('SRID=4674;POINT (-38.392383 -3.33079)'))) / (select extract(epoch from '2026-07-18 12:45:01'::timestamp) - extract(epoch from '2026-07-18 12:44: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.392448 -3.330853)', '2026-07-18 12:45:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392383 -3.33079)'), GeomFromEWKT('SRID=4674;POINT (-38.392448 -3.330853)'))) / (select extract(epoch from '2026-07-18 12:45:06'::timestamp) - extract(epoch from '2026-07-18 12:45:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392383 -3.33079)'), GeomFromEWKT('SRID=4674;POINT (-38.392448 -3.330853)'))) / (select extract(epoch from '2026-07-18 12:45:06'::timestamp) - extract(epoch from '2026-07-18 12:45: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.392527 -3.330951)', '2026-07-18 12:45:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392448 -3.330853)'), GeomFromEWKT('SRID=4674;POINT (-38.392527 -3.330951)'))) / (select extract(epoch from '2026-07-18 12:45:13'::timestamp) - extract(epoch from '2026-07-18 12:45:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392448 -3.330853)'), GeomFromEWKT('SRID=4674;POINT (-38.392527 -3.330951)'))) / (select extract(epoch from '2026-07-18 12:45:13'::timestamp) - extract(epoch from '2026-07-18 12:45: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.39258 -3.331026)', '2026-07-18 12:45:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392527 -3.330951)'), GeomFromEWKT('SRID=4674;POINT (-38.39258 -3.331026)'))) / (select extract(epoch from '2026-07-18 12:45:18'::timestamp) - extract(epoch from '2026-07-18 12:45:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392527 -3.330951)'), GeomFromEWKT('SRID=4674;POINT (-38.39258 -3.331026)'))) / (select extract(epoch from '2026-07-18 12:45:18'::timestamp) - extract(epoch from '2026-07-18 12:45: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.392653 -3.331112)', '2026-07-18 12:45:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39258 -3.331026)'), GeomFromEWKT('SRID=4674;POINT (-38.392653 -3.331112)'))) / (select extract(epoch from '2026-07-18 12:45:24'::timestamp) - extract(epoch from '2026-07-18 12:45:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39258 -3.331026)'), GeomFromEWKT('SRID=4674;POINT (-38.392653 -3.331112)'))) / (select extract(epoch from '2026-07-18 12:45:24'::timestamp) - extract(epoch from '2026-07-18 12:45: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.392727 -3.33117)', '2026-07-18 12:45:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392653 -3.331112)'), GeomFromEWKT('SRID=4674;POINT (-38.392727 -3.33117)'))) / (select extract(epoch from '2026-07-18 12:45:29'::timestamp) - extract(epoch from '2026-07-18 12:45:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392653 -3.331112)'), GeomFromEWKT('SRID=4674;POINT (-38.392727 -3.33117)'))) / (select extract(epoch from '2026-07-18 12:45:29'::timestamp) - extract(epoch from '2026-07-18 12:45: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.39274 -3.331185)', '2026-07-18 12:45:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392727 -3.33117)'), GeomFromEWKT('SRID=4674;POINT (-38.39274 -3.331185)'))) / (select extract(epoch from '2026-07-18 12:45:30'::timestamp) - extract(epoch from '2026-07-18 12:45:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392727 -3.33117)'), GeomFromEWKT('SRID=4674;POINT (-38.39274 -3.331185)'))) / (select extract(epoch from '2026-07-18 12:45:30'::timestamp) - extract(epoch from '2026-07-18 12:45: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.392767 -3.331225)', '2026-07-18 12:45:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39274 -3.331185)'), GeomFromEWKT('SRID=4674;POINT (-38.392767 -3.331225)'))) / (select extract(epoch from '2026-07-18 12:45:33'::timestamp) - extract(epoch from '2026-07-18 12:45:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39274 -3.331185)'), GeomFromEWKT('SRID=4674;POINT (-38.392767 -3.331225)'))) / (select extract(epoch from '2026-07-18 12:45:33'::timestamp) - extract(epoch from '2026-07-18 12:45: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.392785 -3.331237)', '2026-07-18 12:45:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392767 -3.331225)'), GeomFromEWKT('SRID=4674;POINT (-38.392785 -3.331237)'))) / (select extract(epoch from '2026-07-18 12:45:34'::timestamp) - extract(epoch from '2026-07-18 12:45:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392767 -3.331225)'), GeomFromEWKT('SRID=4674;POINT (-38.392785 -3.331237)'))) / (select extract(epoch from '2026-07-18 12:45:34'::timestamp) - extract(epoch from '2026-07-18 12:45: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.3928 -3.331252)', '2026-07-18 12:45:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392785 -3.331237)'), GeomFromEWKT('SRID=4674;POINT (-38.3928 -3.331252)'))) / (select extract(epoch from '2026-07-18 12:45:35'::timestamp) - extract(epoch from '2026-07-18 12:45:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392785 -3.331237)'), GeomFromEWKT('SRID=4674;POINT (-38.3928 -3.331252)'))) / (select extract(epoch from '2026-07-18 12:45:35'::timestamp) - extract(epoch from '2026-07-18 12:45: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.392818 -3.331293)', '2026-07-18 12:45:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3928 -3.331252)'), GeomFromEWKT('SRID=4674;POINT (-38.392818 -3.331293)'))) / (select extract(epoch from '2026-07-18 12:45:38'::timestamp) - extract(epoch from '2026-07-18 12:45:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3928 -3.331252)'), GeomFromEWKT('SRID=4674;POINT (-38.392818 -3.331293)'))) / (select extract(epoch from '2026-07-18 12:45:38'::timestamp) - extract(epoch from '2026-07-18 12:45: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.392877 -3.331371)', '2026-07-18 12:45:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392818 -3.331293)'), GeomFromEWKT('SRID=4674;POINT (-38.392877 -3.331371)'))) / (select extract(epoch from '2026-07-18 12:45:44'::timestamp) - extract(epoch from '2026-07-18 12:45:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392818 -3.331293)'), GeomFromEWKT('SRID=4674;POINT (-38.392877 -3.331371)'))) / (select extract(epoch from '2026-07-18 12:45:44'::timestamp) - extract(epoch from '2026-07-18 12:45: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.392935 -3.331433)', '2026-07-18 12:45:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392877 -3.331371)'), GeomFromEWKT('SRID=4674;POINT (-38.392935 -3.331433)'))) / (select extract(epoch from '2026-07-18 12:45:49'::timestamp) - extract(epoch from '2026-07-18 12:45:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392877 -3.331371)'), GeomFromEWKT('SRID=4674;POINT (-38.392935 -3.331433)'))) / (select extract(epoch from '2026-07-18 12:45:49'::timestamp) - extract(epoch from '2026-07-18 12:45: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.39296 -3.331449)', '2026-07-18 12:45:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392935 -3.331433)'), GeomFromEWKT('SRID=4674;POINT (-38.39296 -3.331449)'))) / (select extract(epoch from '2026-07-18 12:45:51'::timestamp) - extract(epoch from '2026-07-18 12:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392935 -3.331433)'), GeomFromEWKT('SRID=4674;POINT (-38.39296 -3.331449)'))) / (select extract(epoch from '2026-07-18 12:45:51'::timestamp) - extract(epoch from '2026-07-18 12:45: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.392995 -3.331483)', '2026-07-18 12:45:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39296 -3.331449)'), GeomFromEWKT('SRID=4674;POINT (-38.392995 -3.331483)'))) / (select extract(epoch from '2026-07-18 12:45:55'::timestamp) - extract(epoch from '2026-07-18 12:45:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39296 -3.331449)'), GeomFromEWKT('SRID=4674;POINT (-38.392995 -3.331483)'))) / (select extract(epoch from '2026-07-18 12:45:55'::timestamp) - extract(epoch from '2026-07-18 12:45: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.39306 -3.331543)', '2026-07-18 12:46:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392995 -3.331483)'), GeomFromEWKT('SRID=4674;POINT (-38.39306 -3.331543)'))) / (select extract(epoch from '2026-07-18 12:46:01'::timestamp) - extract(epoch from '2026-07-18 12:45:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392995 -3.331483)'), GeomFromEWKT('SRID=4674;POINT (-38.39306 -3.331543)'))) / (select extract(epoch from '2026-07-18 12:46:01'::timestamp) - extract(epoch from '2026-07-18 12:45: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.393123 -3.331605)', '2026-07-18 12:46:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39306 -3.331543)'), GeomFromEWKT('SRID=4674;POINT (-38.393123 -3.331605)'))) / (select extract(epoch from '2026-07-18 12:46:07'::timestamp) - extract(epoch from '2026-07-18 12:46:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39306 -3.331543)'), GeomFromEWKT('SRID=4674;POINT (-38.393123 -3.331605)'))) / (select extract(epoch from '2026-07-18 12:46:07'::timestamp) - extract(epoch from '2026-07-18 12:46: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.393186 -3.331671)', '2026-07-18 12:46:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393123 -3.331605)'), GeomFromEWKT('SRID=4674;POINT (-38.393186 -3.331671)'))) / (select extract(epoch from '2026-07-18 12:46:13'::timestamp) - extract(epoch from '2026-07-18 12:46:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393123 -3.331605)'), GeomFromEWKT('SRID=4674;POINT (-38.393186 -3.331671)'))) / (select extract(epoch from '2026-07-18 12:46:13'::timestamp) - extract(epoch from '2026-07-18 12:46: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.393259 -3.331758)', '2026-07-18 12:46:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393186 -3.331671)'), GeomFromEWKT('SRID=4674;POINT (-38.393259 -3.331758)'))) / (select extract(epoch from '2026-07-18 12:46:20'::timestamp) - extract(epoch from '2026-07-18 12:46:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393186 -3.331671)'), GeomFromEWKT('SRID=4674;POINT (-38.393259 -3.331758)'))) / (select extract(epoch from '2026-07-18 12:46:20'::timestamp) - extract(epoch from '2026-07-18 12:46: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.39333 -3.331831)', '2026-07-18 12:46:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393259 -3.331758)'), GeomFromEWKT('SRID=4674;POINT (-38.39333 -3.331831)'))) / (select extract(epoch from '2026-07-18 12:46:26'::timestamp) - extract(epoch from '2026-07-18 12:46:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393259 -3.331758)'), GeomFromEWKT('SRID=4674;POINT (-38.39333 -3.331831)'))) / (select extract(epoch from '2026-07-18 12:46:26'::timestamp) - extract(epoch from '2026-07-18 12:46: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.393399 -3.331893)', '2026-07-18 12:46:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39333 -3.331831)'), GeomFromEWKT('SRID=4674;POINT (-38.393399 -3.331893)'))) / (select extract(epoch from '2026-07-18 12:46:31'::timestamp) - extract(epoch from '2026-07-18 12:46:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39333 -3.331831)'), GeomFromEWKT('SRID=4674;POINT (-38.393399 -3.331893)'))) / (select extract(epoch from '2026-07-18 12:46:31'::timestamp) - extract(epoch from '2026-07-18 12:46: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.393458 -3.331955)', '2026-07-18 12:46:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393399 -3.331893)'), GeomFromEWKT('SRID=4674;POINT (-38.393458 -3.331955)'))) / (select extract(epoch from '2026-07-18 12:46:36'::timestamp) - extract(epoch from '2026-07-18 12:46:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393399 -3.331893)'), GeomFromEWKT('SRID=4674;POINT (-38.393458 -3.331955)'))) / (select extract(epoch from '2026-07-18 12:46:36'::timestamp) - extract(epoch from '2026-07-18 12:46: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.393535 -3.332035)', '2026-07-18 12:46:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393458 -3.331955)'), GeomFromEWKT('SRID=4674;POINT (-38.393535 -3.332035)'))) / (select extract(epoch from '2026-07-18 12:46:42'::timestamp) - extract(epoch from '2026-07-18 12:46:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393458 -3.331955)'), GeomFromEWKT('SRID=4674;POINT (-38.393535 -3.332035)'))) / (select extract(epoch from '2026-07-18 12:46:42'::timestamp) - extract(epoch from '2026-07-18 12:46: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.3936 -3.33208)', '2026-07-18 12:46:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393535 -3.332035)'), GeomFromEWKT('SRID=4674;POINT (-38.3936 -3.33208)'))) / (select extract(epoch from '2026-07-18 12:46:47'::timestamp) - extract(epoch from '2026-07-18 12:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393535 -3.332035)'), GeomFromEWKT('SRID=4674;POINT (-38.3936 -3.33208)'))) / (select extract(epoch from '2026-07-18 12:46:47'::timestamp) - extract(epoch from '2026-07-18 12:46: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.393662 -3.332137)', '2026-07-18 12:46:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3936 -3.33208)'), GeomFromEWKT('SRID=4674;POINT (-38.393662 -3.332137)'))) / (select extract(epoch from '2026-07-18 12:46:52'::timestamp) - extract(epoch from '2026-07-18 12:46:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3936 -3.33208)'), GeomFromEWKT('SRID=4674;POINT (-38.393662 -3.332137)'))) / (select extract(epoch from '2026-07-18 12:46:52'::timestamp) - extract(epoch from '2026-07-18 12:46:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.39368 -3.332155)', '2026-07-18 12:46:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393662 -3.332137)'), GeomFromEWKT('SRID=4674;POINT (-38.39368 -3.332155)'))) / (select extract(epoch from '2026-07-18 12:46:54'::timestamp) - extract(epoch from '2026-07-18 12:46:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393662 -3.332137)'), GeomFromEWKT('SRID=4674;POINT (-38.39368 -3.332155)'))) / (select extract(epoch from '2026-07-18 12:46:54'::timestamp) - extract(epoch from '2026-07-18 12:46: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.393714 -3.332181)', '2026-07-18 12:46:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39368 -3.332155)'), GeomFromEWKT('SRID=4674;POINT (-38.393714 -3.332181)'))) / (select extract(epoch from '2026-07-18 12:46:57'::timestamp) - extract(epoch from '2026-07-18 12:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39368 -3.332155)'), GeomFromEWKT('SRID=4674;POINT (-38.393714 -3.332181)'))) / (select extract(epoch from '2026-07-18 12:46:57'::timestamp) - extract(epoch from '2026-07-18 12:46: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.393732 -3.332197)', '2026-07-18 12:46:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393714 -3.332181)'), GeomFromEWKT('SRID=4674;POINT (-38.393732 -3.332197)'))) / (select extract(epoch from '2026-07-18 12:46:59'::timestamp) - extract(epoch from '2026-07-18 12:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393714 -3.332181)'), GeomFromEWKT('SRID=4674;POINT (-38.393732 -3.332197)'))) / (select extract(epoch from '2026-07-18 12:46:59'::timestamp) - extract(epoch from '2026-07-18 12:46: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.393773 -3.332221)', '2026-07-18 12:47:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393732 -3.332197)'), GeomFromEWKT('SRID=4674;POINT (-38.393773 -3.332221)'))) / (select extract(epoch from '2026-07-18 12:47:02'::timestamp) - extract(epoch from '2026-07-18 12:46:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393732 -3.332197)'), GeomFromEWKT('SRID=4674;POINT (-38.393773 -3.332221)'))) / (select extract(epoch from '2026-07-18 12:47:02'::timestamp) - extract(epoch from '2026-07-18 12:46: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.393852 -3.332276)', '2026-07-18 12:47:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393773 -3.332221)'), GeomFromEWKT('SRID=4674;POINT (-38.393852 -3.332276)'))) / (select extract(epoch from '2026-07-18 12:47:08'::timestamp) - extract(epoch from '2026-07-18 12:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393773 -3.332221)'), GeomFromEWKT('SRID=4674;POINT (-38.393852 -3.332276)'))) / (select extract(epoch from '2026-07-18 12:47:08'::timestamp) - extract(epoch from '2026-07-18 12:47: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.393937 -3.332351)', '2026-07-18 12:47:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393852 -3.332276)'), GeomFromEWKT('SRID=4674;POINT (-38.393937 -3.332351)'))) / (select extract(epoch from '2026-07-18 12:47:15'::timestamp) - extract(epoch from '2026-07-18 12:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393852 -3.332276)'), GeomFromEWKT('SRID=4674;POINT (-38.393937 -3.332351)'))) / (select extract(epoch from '2026-07-18 12:47:15'::timestamp) - extract(epoch from '2026-07-18 12:47: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.394008 -3.332438)', '2026-07-18 12:47:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393937 -3.332351)'), GeomFromEWKT('SRID=4674;POINT (-38.394008 -3.332438)'))) / (select extract(epoch from '2026-07-18 12:47:22'::timestamp) - extract(epoch from '2026-07-18 12:47:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393937 -3.332351)'), GeomFromEWKT('SRID=4674;POINT (-38.394008 -3.332438)'))) / (select extract(epoch from '2026-07-18 12:47:22'::timestamp) - extract(epoch from '2026-07-18 12:47: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.394053 -3.332494)', '2026-07-18 12:47:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394008 -3.332438)'), GeomFromEWKT('SRID=4674;POINT (-38.394053 -3.332494)'))) / (select extract(epoch from '2026-07-18 12:47:27'::timestamp) - extract(epoch from '2026-07-18 12:47:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394008 -3.332438)'), GeomFromEWKT('SRID=4674;POINT (-38.394053 -3.332494)'))) / (select extract(epoch from '2026-07-18 12:47:27'::timestamp) - extract(epoch from '2026-07-18 12:47: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.394059 -3.332501)', '2026-07-18 12:47:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394053 -3.332494)'), GeomFromEWKT('SRID=4674;POINT (-38.394059 -3.332501)'))) / (select extract(epoch from '2026-07-18 12:47:28'::timestamp) - extract(epoch from '2026-07-18 12:47:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394053 -3.332494)'), GeomFromEWKT('SRID=4674;POINT (-38.394059 -3.332501)'))) / (select extract(epoch from '2026-07-18 12:47:28'::timestamp) - extract(epoch from '2026-07-18 12:47: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.394106 -3.332533)', '2026-07-18 12:47:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394059 -3.332501)'), GeomFromEWKT('SRID=4674;POINT (-38.394106 -3.332533)'))) / (select extract(epoch from '2026-07-18 12:47:31'::timestamp) - extract(epoch from '2026-07-18 12:47:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394059 -3.332501)'), GeomFromEWKT('SRID=4674;POINT (-38.394106 -3.332533)'))) / (select extract(epoch from '2026-07-18 12:47:31'::timestamp) - extract(epoch from '2026-07-18 12:47: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.394138 -3.33256)', '2026-07-18 12:47:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394106 -3.332533)'), GeomFromEWKT('SRID=4674;POINT (-38.394138 -3.33256)'))) / (select extract(epoch from '2026-07-18 12:47:34'::timestamp) - extract(epoch from '2026-07-18 12:47:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394106 -3.332533)'), GeomFromEWKT('SRID=4674;POINT (-38.394138 -3.33256)'))) / (select extract(epoch from '2026-07-18 12:47:34'::timestamp) - extract(epoch from '2026-07-18 12:47: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.394163 -3.332584)', '2026-07-18 12:47:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394138 -3.33256)'), GeomFromEWKT('SRID=4674;POINT (-38.394163 -3.332584)'))) / (select extract(epoch from '2026-07-18 12:47:36'::timestamp) - extract(epoch from '2026-07-18 12:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394138 -3.33256)'), GeomFromEWKT('SRID=4674;POINT (-38.394163 -3.332584)'))) / (select extract(epoch from '2026-07-18 12:47:36'::timestamp) - extract(epoch from '2026-07-18 12:47: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.394232 -3.332663)', '2026-07-18 12:47:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394163 -3.332584)'), GeomFromEWKT('SRID=4674;POINT (-38.394232 -3.332663)'))) / (select extract(epoch from '2026-07-18 12:47:42'::timestamp) - extract(epoch from '2026-07-18 12:47:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394163 -3.332584)'), GeomFromEWKT('SRID=4674;POINT (-38.394232 -3.332663)'))) / (select extract(epoch from '2026-07-18 12:47:42'::timestamp) - extract(epoch from '2026-07-18 12:47: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.394284 -3.332731)', '2026-07-18 12:47:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394232 -3.332663)'), GeomFromEWKT('SRID=4674;POINT (-38.394284 -3.332731)'))) / (select extract(epoch from '2026-07-18 12:47:47'::timestamp) - extract(epoch from '2026-07-18 12:47:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394232 -3.332663)'), GeomFromEWKT('SRID=4674;POINT (-38.394284 -3.332731)'))) / (select extract(epoch from '2026-07-18 12:47:47'::timestamp) - extract(epoch from '2026-07-18 12:47: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.394338 -3.332803)', '2026-07-18 12:47:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394284 -3.332731)'), GeomFromEWKT('SRID=4674;POINT (-38.394338 -3.332803)'))) / (select extract(epoch from '2026-07-18 12:47:53'::timestamp) - extract(epoch from '2026-07-18 12:47:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394284 -3.332731)'), GeomFromEWKT('SRID=4674;POINT (-38.394338 -3.332803)'))) / (select extract(epoch from '2026-07-18 12:47:53'::timestamp) - extract(epoch from '2026-07-18 12:47: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.394403 -3.332855)', '2026-07-18 12:47:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394338 -3.332803)'), GeomFromEWKT('SRID=4674;POINT (-38.394403 -3.332855)'))) / (select extract(epoch from '2026-07-18 12:47:58'::timestamp) - extract(epoch from '2026-07-18 12:47:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394338 -3.332803)'), GeomFromEWKT('SRID=4674;POINT (-38.394403 -3.332855)'))) / (select extract(epoch from '2026-07-18 12:47:58'::timestamp) - extract(epoch from '2026-07-18 12:47: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.394463 -3.332894)', '2026-07-18 12:48:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394403 -3.332855)'), GeomFromEWKT('SRID=4674;POINT (-38.394463 -3.332894)'))) / (select extract(epoch from '2026-07-18 12:48:03'::timestamp) - extract(epoch from '2026-07-18 12:47:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394403 -3.332855)'), GeomFromEWKT('SRID=4674;POINT (-38.394463 -3.332894)'))) / (select extract(epoch from '2026-07-18 12:48:03'::timestamp) - extract(epoch from '2026-07-18 12:47: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.394525 -3.332948)', '2026-07-18 12:48:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394463 -3.332894)'), GeomFromEWKT('SRID=4674;POINT (-38.394525 -3.332948)'))) / (select extract(epoch from '2026-07-18 12:48:09'::timestamp) - extract(epoch from '2026-07-18 12:48:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394463 -3.332894)'), GeomFromEWKT('SRID=4674;POINT (-38.394525 -3.332948)'))) / (select extract(epoch from '2026-07-18 12:48:09'::timestamp) - extract(epoch from '2026-07-18 12:48:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.394605 -3.333023)', '2026-07-18 12:48:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394525 -3.332948)'), GeomFromEWKT('SRID=4674;POINT (-38.394605 -3.333023)'))) / (select extract(epoch from '2026-07-18 12:48:15'::timestamp) - extract(epoch from '2026-07-18 12:48:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394525 -3.332948)'), GeomFromEWKT('SRID=4674;POINT (-38.394605 -3.333023)'))) / (select extract(epoch from '2026-07-18 12:48:15'::timestamp) - extract(epoch from '2026-07-18 12:48: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.394671 -3.333087)', '2026-07-18 12:48:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394605 -3.333023)'), GeomFromEWKT('SRID=4674;POINT (-38.394671 -3.333087)'))) / (select extract(epoch from '2026-07-18 12:48:20'::timestamp) - extract(epoch from '2026-07-18 12:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394605 -3.333023)'), GeomFromEWKT('SRID=4674;POINT (-38.394671 -3.333087)'))) / (select extract(epoch from '2026-07-18 12:48:20'::timestamp) - extract(epoch from '2026-07-18 12:48: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.394694 -3.333115)', '2026-07-18 12:48:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394671 -3.333087)'), GeomFromEWKT('SRID=4674;POINT (-38.394694 -3.333115)'))) / (select extract(epoch from '2026-07-18 12:48:22'::timestamp) - extract(epoch from '2026-07-18 12:48:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394671 -3.333087)'), GeomFromEWKT('SRID=4674;POINT (-38.394694 -3.333115)'))) / (select extract(epoch from '2026-07-18 12:48:22'::timestamp) - extract(epoch from '2026-07-18 12:48: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.394714 -3.333136)', '2026-07-18 12:48:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394694 -3.333115)'), GeomFromEWKT('SRID=4674;POINT (-38.394714 -3.333136)'))) / (select extract(epoch from '2026-07-18 12:48:24'::timestamp) - extract(epoch from '2026-07-18 12:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394694 -3.333115)'), GeomFromEWKT('SRID=4674;POINT (-38.394714 -3.333136)'))) / (select extract(epoch from '2026-07-18 12:48:24'::timestamp) - extract(epoch from '2026-07-18 12:48: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.394795 -3.333215)', '2026-07-18 12:48:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394714 -3.333136)'), GeomFromEWKT('SRID=4674;POINT (-38.394795 -3.333215)'))) / (select extract(epoch from '2026-07-18 12:48:30'::timestamp) - extract(epoch from '2026-07-18 12:48:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394714 -3.333136)'), GeomFromEWKT('SRID=4674;POINT (-38.394795 -3.333215)'))) / (select extract(epoch from '2026-07-18 12:48:30'::timestamp) - extract(epoch from '2026-07-18 12:48: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.394862 -3.333294)', '2026-07-18 12:48:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394795 -3.333215)'), GeomFromEWKT('SRID=4674;POINT (-38.394862 -3.333294)'))) / (select extract(epoch from '2026-07-18 12:48:36'::timestamp) - extract(epoch from '2026-07-18 12:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394795 -3.333215)'), GeomFromEWKT('SRID=4674;POINT (-38.394862 -3.333294)'))) / (select extract(epoch from '2026-07-18 12:48:36'::timestamp) - extract(epoch from '2026-07-18 12:48: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.394905 -3.33335)', '2026-07-18 12:48:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394862 -3.333294)'), GeomFromEWKT('SRID=4674;POINT (-38.394905 -3.33335)'))) / (select extract(epoch from '2026-07-18 12:48:41'::timestamp) - extract(epoch from '2026-07-18 12:48:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394862 -3.333294)'), GeomFromEWKT('SRID=4674;POINT (-38.394905 -3.33335)'))) / (select extract(epoch from '2026-07-18 12:48:41'::timestamp) - extract(epoch from '2026-07-18 12:48: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.394941 -3.333387)', '2026-07-18 12:48:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394905 -3.33335)'), GeomFromEWKT('SRID=4674;POINT (-38.394941 -3.333387)'))) / (select extract(epoch from '2026-07-18 12:48:44'::timestamp) - extract(epoch from '2026-07-18 12:48:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394905 -3.33335)'), GeomFromEWKT('SRID=4674;POINT (-38.394941 -3.333387)'))) / (select extract(epoch from '2026-07-18 12:48:44'::timestamp) - extract(epoch from '2026-07-18 12:48: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.394959 -3.333412)', '2026-07-18 12:48:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394941 -3.333387)'), GeomFromEWKT('SRID=4674;POINT (-38.394959 -3.333412)'))) / (select extract(epoch from '2026-07-18 12:48:46'::timestamp) - extract(epoch from '2026-07-18 12:48:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394941 -3.333387)'), GeomFromEWKT('SRID=4674;POINT (-38.394959 -3.333412)'))) / (select extract(epoch from '2026-07-18 12:48:46'::timestamp) - extract(epoch from '2026-07-18 12:48: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.395004 -3.333435)', '2026-07-18 12:48:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394959 -3.333412)'), GeomFromEWKT('SRID=4674;POINT (-38.395004 -3.333435)'))) / (select extract(epoch from '2026-07-18 12:48:49'::timestamp) - extract(epoch from '2026-07-18 12:48:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394959 -3.333412)'), GeomFromEWKT('SRID=4674;POINT (-38.395004 -3.333435)'))) / (select extract(epoch from '2026-07-18 12:48:49'::timestamp) - extract(epoch from '2026-07-18 12:48: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.395019 -3.333456)', '2026-07-18 12:48:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395004 -3.333435)'), GeomFromEWKT('SRID=4674;POINT (-38.395019 -3.333456)'))) / (select extract(epoch from '2026-07-18 12:48:51'::timestamp) - extract(epoch from '2026-07-18 12:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395004 -3.333435)'), GeomFromEWKT('SRID=4674;POINT (-38.395019 -3.333456)'))) / (select extract(epoch from '2026-07-18 12:48:51'::timestamp) - extract(epoch from '2026-07-18 12:48: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.395079 -3.3335)', '2026-07-18 12:48:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395019 -3.333456)'), GeomFromEWKT('SRID=4674;POINT (-38.395079 -3.3335)'))) / (select extract(epoch from '2026-07-18 12:48:55'::timestamp) - extract(epoch from '2026-07-18 12:48:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395019 -3.333456)'), GeomFromEWKT('SRID=4674;POINT (-38.395079 -3.3335)'))) / (select extract(epoch from '2026-07-18 12:48:55'::timestamp) - extract(epoch from '2026-07-18 12:48: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.395145 -3.33357)', '2026-07-18 12:49:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395079 -3.3335)'), GeomFromEWKT('SRID=4674;POINT (-38.395145 -3.33357)'))) / (select extract(epoch from '2026-07-18 12:49:01'::timestamp) - extract(epoch from '2026-07-18 12:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395079 -3.3335)'), GeomFromEWKT('SRID=4674;POINT (-38.395145 -3.33357)'))) / (select extract(epoch from '2026-07-18 12:49:01'::timestamp) - extract(epoch from '2026-07-18 12:48: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.395229 -3.33366)', '2026-07-18 12:49:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395145 -3.33357)'), GeomFromEWKT('SRID=4674;POINT (-38.395229 -3.33366)'))) / (select extract(epoch from '2026-07-18 12:49:08'::timestamp) - extract(epoch from '2026-07-18 12:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395145 -3.33357)'), GeomFromEWKT('SRID=4674;POINT (-38.395229 -3.33366)'))) / (select extract(epoch from '2026-07-18 12:49:08'::timestamp) - extract(epoch from '2026-07-18 12:49: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.395302 -3.333719)', '2026-07-18 12:49:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395229 -3.33366)'), GeomFromEWKT('SRID=4674;POINT (-38.395302 -3.333719)'))) / (select extract(epoch from '2026-07-18 12:49:14'::timestamp) - extract(epoch from '2026-07-18 12:49:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395229 -3.33366)'), GeomFromEWKT('SRID=4674;POINT (-38.395302 -3.333719)'))) / (select extract(epoch from '2026-07-18 12:49:14'::timestamp) - extract(epoch from '2026-07-18 12:49: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.395367 -3.333767)', '2026-07-18 12:49:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395302 -3.333719)'), GeomFromEWKT('SRID=4674;POINT (-38.395367 -3.333767)'))) / (select extract(epoch from '2026-07-18 12:49:18'::timestamp) - extract(epoch from '2026-07-18 12:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395302 -3.333719)'), GeomFromEWKT('SRID=4674;POINT (-38.395367 -3.333767)'))) / (select extract(epoch from '2026-07-18 12:49:18'::timestamp) - extract(epoch from '2026-07-18 12:49: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.395411 -3.333827)', '2026-07-18 12:49:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395367 -3.333767)'), GeomFromEWKT('SRID=4674;POINT (-38.395411 -3.333827)'))) / (select extract(epoch from '2026-07-18 12:49:23'::timestamp) - extract(epoch from '2026-07-18 12:49:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395367 -3.333767)'), GeomFromEWKT('SRID=4674;POINT (-38.395411 -3.333827)'))) / (select extract(epoch from '2026-07-18 12:49:23'::timestamp) - extract(epoch from '2026-07-18 12:49: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.395483 -3.333906)', '2026-07-18 12:49:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395411 -3.333827)'), GeomFromEWKT('SRID=4674;POINT (-38.395483 -3.333906)'))) / (select extract(epoch from '2026-07-18 12:49:30'::timestamp) - extract(epoch from '2026-07-18 12:49:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395411 -3.333827)'), GeomFromEWKT('SRID=4674;POINT (-38.395483 -3.333906)'))) / (select extract(epoch from '2026-07-18 12:49:30'::timestamp) - extract(epoch from '2026-07-18 12:49: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.395563 -3.333967)', '2026-07-18 12:49:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395483 -3.333906)'), GeomFromEWKT('SRID=4674;POINT (-38.395563 -3.333967)'))) / (select extract(epoch from '2026-07-18 12:49:36'::timestamp) - extract(epoch from '2026-07-18 12:49:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395483 -3.333906)'), GeomFromEWKT('SRID=4674;POINT (-38.395563 -3.333967)'))) / (select extract(epoch from '2026-07-18 12:49:36'::timestamp) - extract(epoch from '2026-07-18 12:49: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.395631 -3.334037)', '2026-07-18 12:49:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395563 -3.333967)'), GeomFromEWKT('SRID=4674;POINT (-38.395631 -3.334037)'))) / (select extract(epoch from '2026-07-18 12:49:42'::timestamp) - extract(epoch from '2026-07-18 12:49:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395563 -3.333967)'), GeomFromEWKT('SRID=4674;POINT (-38.395631 -3.334037)'))) / (select extract(epoch from '2026-07-18 12:49:42'::timestamp) - extract(epoch from '2026-07-18 12:49:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.395652 -3.33406)', '2026-07-18 12:49:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395631 -3.334037)'), GeomFromEWKT('SRID=4674;POINT (-38.395652 -3.33406)'))) / (select extract(epoch from '2026-07-18 12:49:44'::timestamp) - extract(epoch from '2026-07-18 12:49:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395631 -3.334037)'), GeomFromEWKT('SRID=4674;POINT (-38.395652 -3.33406)'))) / (select extract(epoch from '2026-07-18 12:49:44'::timestamp) - extract(epoch from '2026-07-18 12:49: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.395695 -3.334093)', '2026-07-18 12:49:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395652 -3.33406)'), GeomFromEWKT('SRID=4674;POINT (-38.395695 -3.334093)'))) / (select extract(epoch from '2026-07-18 12:49:47'::timestamp) - extract(epoch from '2026-07-18 12:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395652 -3.33406)'), GeomFromEWKT('SRID=4674;POINT (-38.395695 -3.334093)'))) / (select extract(epoch from '2026-07-18 12:49:47'::timestamp) - extract(epoch from '2026-07-18 12:49: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.395777 -3.334174)', '2026-07-18 12:49:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395695 -3.334093)'), GeomFromEWKT('SRID=4674;POINT (-38.395777 -3.334174)'))) / (select extract(epoch from '2026-07-18 12:49:53'::timestamp) - extract(epoch from '2026-07-18 12:49:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395695 -3.334093)'), GeomFromEWKT('SRID=4674;POINT (-38.395777 -3.334174)'))) / (select extract(epoch from '2026-07-18 12:49:53'::timestamp) - extract(epoch from '2026-07-18 12:49: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.395808 -3.334228)', '2026-07-18 12:49:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395777 -3.334174)'), GeomFromEWKT('SRID=4674;POINT (-38.395808 -3.334228)'))) / (select extract(epoch from '2026-07-18 12:49:57'::timestamp) - extract(epoch from '2026-07-18 12:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395777 -3.334174)'), GeomFromEWKT('SRID=4674;POINT (-38.395808 -3.334228)'))) / (select extract(epoch from '2026-07-18 12:49:57'::timestamp) - extract(epoch from '2026-07-18 12:49: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.395871 -3.334282)', '2026-07-18 12:50:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395808 -3.334228)'), GeomFromEWKT('SRID=4674;POINT (-38.395871 -3.334282)'))) / (select extract(epoch from '2026-07-18 12:50:01'::timestamp) - extract(epoch from '2026-07-18 12:49:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395808 -3.334228)'), GeomFromEWKT('SRID=4674;POINT (-38.395871 -3.334282)'))) / (select extract(epoch from '2026-07-18 12:50:01'::timestamp) - extract(epoch from '2026-07-18 12:49: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.395887 -3.334302)', '2026-07-18 12:50:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395871 -3.334282)'), GeomFromEWKT('SRID=4674;POINT (-38.395887 -3.334302)'))) / (select extract(epoch from '2026-07-18 12:50:03'::timestamp) - extract(epoch from '2026-07-18 12:50:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395871 -3.334282)'), GeomFromEWKT('SRID=4674;POINT (-38.395887 -3.334302)'))) / (select extract(epoch from '2026-07-18 12:50:03'::timestamp) - extract(epoch from '2026-07-18 12:50: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.395916 -3.334327)', '2026-07-18 12:50:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395887 -3.334302)'), GeomFromEWKT('SRID=4674;POINT (-38.395916 -3.334327)'))) / (select extract(epoch from '2026-07-18 12:50:05'::timestamp) - extract(epoch from '2026-07-18 12:50:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395887 -3.334302)'), GeomFromEWKT('SRID=4674;POINT (-38.395916 -3.334327)'))) / (select extract(epoch from '2026-07-18 12:50:05'::timestamp) - extract(epoch from '2026-07-18 12:50: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.395925 -3.334341)', '2026-07-18 12:50:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395916 -3.334327)'), GeomFromEWKT('SRID=4674;POINT (-38.395925 -3.334341)'))) / (select extract(epoch from '2026-07-18 12:50:06'::timestamp) - extract(epoch from '2026-07-18 12:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395916 -3.334327)'), GeomFromEWKT('SRID=4674;POINT (-38.395925 -3.334341)'))) / (select extract(epoch from '2026-07-18 12:50:06'::timestamp) - extract(epoch from '2026-07-18 12:50: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.395945 -3.334367)', '2026-07-18 12:50:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395925 -3.334341)'), GeomFromEWKT('SRID=4674;POINT (-38.395945 -3.334367)'))) / (select extract(epoch from '2026-07-18 12:50:08'::timestamp) - extract(epoch from '2026-07-18 12:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395925 -3.334341)'), GeomFromEWKT('SRID=4674;POINT (-38.395945 -3.334367)'))) / (select extract(epoch from '2026-07-18 12:50:08'::timestamp) - extract(epoch from '2026-07-18 12:50: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.395976 -3.334399)', '2026-07-18 12:50:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395945 -3.334367)'), GeomFromEWKT('SRID=4674;POINT (-38.395976 -3.334399)'))) / (select extract(epoch from '2026-07-18 12:50:11'::timestamp) - extract(epoch from '2026-07-18 12:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395945 -3.334367)'), GeomFromEWKT('SRID=4674;POINT (-38.395976 -3.334399)'))) / (select extract(epoch from '2026-07-18 12:50:11'::timestamp) - extract(epoch from '2026-07-18 12:50: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.396064 -3.334465)', '2026-07-18 12:50:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395976 -3.334399)'), GeomFromEWKT('SRID=4674;POINT (-38.396064 -3.334465)'))) / (select extract(epoch from '2026-07-18 12:50:17'::timestamp) - extract(epoch from '2026-07-18 12:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395976 -3.334399)'), GeomFromEWKT('SRID=4674;POINT (-38.396064 -3.334465)'))) / (select extract(epoch from '2026-07-18 12:50:17'::timestamp) - extract(epoch from '2026-07-18 12:50: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.396142 -3.334533)', '2026-07-18 12:50:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396064 -3.334465)'), GeomFromEWKT('SRID=4674;POINT (-38.396142 -3.334533)'))) / (select extract(epoch from '2026-07-18 12:50:23'::timestamp) - extract(epoch from '2026-07-18 12:50:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396064 -3.334465)'), GeomFromEWKT('SRID=4674;POINT (-38.396142 -3.334533)'))) / (select extract(epoch from '2026-07-18 12:50:23'::timestamp) - extract(epoch from '2026-07-18 12:50: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.396194 -3.334589)', '2026-07-18 12:50:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396142 -3.334533)'), GeomFromEWKT('SRID=4674;POINT (-38.396194 -3.334589)'))) / (select extract(epoch from '2026-07-18 12:50:28'::timestamp) - extract(epoch from '2026-07-18 12:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396142 -3.334533)'), GeomFromEWKT('SRID=4674;POINT (-38.396194 -3.334589)'))) / (select extract(epoch from '2026-07-18 12:50:28'::timestamp) - extract(epoch from '2026-07-18 12:50: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.396199 -3.334603)', '2026-07-18 12:50:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396194 -3.334589)'), GeomFromEWKT('SRID=4674;POINT (-38.396199 -3.334603)'))) / (select extract(epoch from '2026-07-18 12:50:29'::timestamp) - extract(epoch from '2026-07-18 12:50:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396194 -3.334589)'), GeomFromEWKT('SRID=4674;POINT (-38.396199 -3.334603)'))) / (select extract(epoch from '2026-07-18 12:50:29'::timestamp) - extract(epoch from '2026-07-18 12:50: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.396209 -3.334613)', '2026-07-18 12:50:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396199 -3.334603)'), GeomFromEWKT('SRID=4674;POINT (-38.396209 -3.334613)'))) / (select extract(epoch from '2026-07-18 12:50:30'::timestamp) - extract(epoch from '2026-07-18 12:50:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396199 -3.334603)'), GeomFromEWKT('SRID=4674;POINT (-38.396209 -3.334613)'))) / (select extract(epoch from '2026-07-18 12:50:30'::timestamp) - extract(epoch from '2026-07-18 12:50: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.396246 -3.334646)', '2026-07-18 12:50:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396209 -3.334613)'), GeomFromEWKT('SRID=4674;POINT (-38.396246 -3.334646)'))) / (select extract(epoch from '2026-07-18 12:50:33'::timestamp) - extract(epoch from '2026-07-18 12:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396209 -3.334613)'), GeomFromEWKT('SRID=4674;POINT (-38.396246 -3.334646)'))) / (select extract(epoch from '2026-07-18 12:50:33'::timestamp) - extract(epoch from '2026-07-18 12:50: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.396262 -3.334662)', '2026-07-18 12:50:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396246 -3.334646)'), GeomFromEWKT('SRID=4674;POINT (-38.396262 -3.334662)'))) / (select extract(epoch from '2026-07-18 12:50:35'::timestamp) - extract(epoch from '2026-07-18 12:50:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396246 -3.334646)'), GeomFromEWKT('SRID=4674;POINT (-38.396262 -3.334662)'))) / (select extract(epoch from '2026-07-18 12:50:35'::timestamp) - extract(epoch from '2026-07-18 12:50:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.396286 -3.334684)', '2026-07-18 12:50:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396262 -3.334662)'), GeomFromEWKT('SRID=4674;POINT (-38.396286 -3.334684)'))) / (select extract(epoch from '2026-07-18 12:50:37'::timestamp) - extract(epoch from '2026-07-18 12:50:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396262 -3.334662)'), GeomFromEWKT('SRID=4674;POINT (-38.396286 -3.334684)'))) / (select extract(epoch from '2026-07-18 12:50:37'::timestamp) - extract(epoch from '2026-07-18 12:50: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.396356 -3.334757)', '2026-07-18 12:50:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396286 -3.334684)'), GeomFromEWKT('SRID=4674;POINT (-38.396356 -3.334757)'))) / (select extract(epoch from '2026-07-18 12:50:43'::timestamp) - extract(epoch from '2026-07-18 12:50:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396286 -3.334684)'), GeomFromEWKT('SRID=4674;POINT (-38.396356 -3.334757)'))) / (select extract(epoch from '2026-07-18 12:50:43'::timestamp) - extract(epoch from '2026-07-18 12: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.396381 -3.334774)', '2026-07-18 12:50:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396356 -3.334757)'), GeomFromEWKT('SRID=4674;POINT (-38.396381 -3.334774)'))) / (select extract(epoch from '2026-07-18 12:50:45'::timestamp) - extract(epoch from '2026-07-18 12:50:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396356 -3.334757)'), GeomFromEWKT('SRID=4674;POINT (-38.396381 -3.334774)'))) / (select extract(epoch from '2026-07-18 12:50:45'::timestamp) - extract(epoch from '2026-07-18 12:50: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.396415 -3.334797)', '2026-07-18 12:50:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396381 -3.334774)'), GeomFromEWKT('SRID=4674;POINT (-38.396415 -3.334797)'))) / (select extract(epoch from '2026-07-18 12:50:47'::timestamp) - extract(epoch from '2026-07-18 12:50:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396381 -3.334774)'), GeomFromEWKT('SRID=4674;POINT (-38.396415 -3.334797)'))) / (select extract(epoch from '2026-07-18 12:50:47'::timestamp) - extract(epoch from '2026-07-18 12: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.396463 -3.334849)', '2026-07-18 12:50:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396415 -3.334797)'), GeomFromEWKT('SRID=4674;POINT (-38.396463 -3.334849)'))) / (select extract(epoch from '2026-07-18 12:50:51'::timestamp) - extract(epoch from '2026-07-18 12:50:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396415 -3.334797)'), GeomFromEWKT('SRID=4674;POINT (-38.396463 -3.334849)'))) / (select extract(epoch from '2026-07-18 12:50:51'::timestamp) - extract(epoch from '2026-07-18 12:50: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.39654 -3.33493)', '2026-07-18 12:50:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396463 -3.334849)'), GeomFromEWKT('SRID=4674;POINT (-38.39654 -3.33493)'))) / (select extract(epoch from '2026-07-18 12:50:57'::timestamp) - extract(epoch from '2026-07-18 12:50:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396463 -3.334849)'), GeomFromEWKT('SRID=4674;POINT (-38.39654 -3.33493)'))) / (select extract(epoch from '2026-07-18 12:50:57'::timestamp) - extract(epoch from '2026-07-18 12: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.396553 -3.334944)', '2026-07-18 12:50:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39654 -3.33493)'), GeomFromEWKT('SRID=4674;POINT (-38.396553 -3.334944)'))) / (select extract(epoch from '2026-07-18 12:50:58'::timestamp) - extract(epoch from '2026-07-18 12:50:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39654 -3.33493)'), GeomFromEWKT('SRID=4674;POINT (-38.396553 -3.334944)'))) / (select extract(epoch from '2026-07-18 12:50:58'::timestamp) - extract(epoch from '2026-07-18 12:50:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.396599 -3.334978)', '2026-07-18 12:51:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396553 -3.334944)'), GeomFromEWKT('SRID=4674;POINT (-38.396599 -3.334978)'))) / (select extract(epoch from '2026-07-18 12:51:01'::timestamp) - extract(epoch from '2026-07-18 12:50:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396553 -3.334944)'), GeomFromEWKT('SRID=4674;POINT (-38.396599 -3.334978)'))) / (select extract(epoch from '2026-07-18 12:51:01'::timestamp) - extract(epoch from '2026-07-18 12:50: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.396615 -3.335006)', '2026-07-18 12:51:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396599 -3.334978)'), GeomFromEWKT('SRID=4674;POINT (-38.396615 -3.335006)'))) / (select extract(epoch from '2026-07-18 12:51:03'::timestamp) - extract(epoch from '2026-07-18 12:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396599 -3.334978)'), GeomFromEWKT('SRID=4674;POINT (-38.396615 -3.335006)'))) / (select extract(epoch from '2026-07-18 12:51:03'::timestamp) - extract(epoch from '2026-07-18 12: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.396641 -3.335027)', '2026-07-18 12:51:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396615 -3.335006)'), GeomFromEWKT('SRID=4674;POINT (-38.396641 -3.335027)'))) / (select extract(epoch from '2026-07-18 12:51:05'::timestamp) - extract(epoch from '2026-07-18 12:51:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396615 -3.335006)'), GeomFromEWKT('SRID=4674;POINT (-38.396641 -3.335027)'))) / (select extract(epoch from '2026-07-18 12:51:05'::timestamp) - extract(epoch from '2026-07-18 12:51: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.396652 -3.335042)', '2026-07-18 12:51:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396641 -3.335027)'), GeomFromEWKT('SRID=4674;POINT (-38.396652 -3.335042)'))) / (select extract(epoch from '2026-07-18 12:51:06'::timestamp) - extract(epoch from '2026-07-18 12:51:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396641 -3.335027)'), GeomFromEWKT('SRID=4674;POINT (-38.396652 -3.335042)'))) / (select extract(epoch from '2026-07-18 12:51:06'::timestamp) - extract(epoch from '2026-07-18 12:51: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.396725 -3.335136)', '2026-07-18 12:51:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396652 -3.335042)'), GeomFromEWKT('SRID=4674;POINT (-38.396725 -3.335136)'))) / (select extract(epoch from '2026-07-18 12:51:13'::timestamp) - extract(epoch from '2026-07-18 12:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396652 -3.335042)'), GeomFromEWKT('SRID=4674;POINT (-38.396725 -3.335136)'))) / (select extract(epoch from '2026-07-18 12:51:13'::timestamp) - extract(epoch from '2026-07-18 12:51: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.396807 -3.335236)', '2026-07-18 12:51:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396725 -3.335136)'), GeomFromEWKT('SRID=4674;POINT (-38.396807 -3.335236)'))) / (select extract(epoch from '2026-07-18 12:51:20'::timestamp) - extract(epoch from '2026-07-18 12:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396725 -3.335136)'), GeomFromEWKT('SRID=4674;POINT (-38.396807 -3.335236)'))) / (select extract(epoch from '2026-07-18 12:51:20'::timestamp) - extract(epoch from '2026-07-18 12: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.396888 -3.335315)', '2026-07-18 12:51:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396807 -3.335236)'), GeomFromEWKT('SRID=4674;POINT (-38.396888 -3.335315)'))) / (select extract(epoch from '2026-07-18 12:51:26'::timestamp) - extract(epoch from '2026-07-18 12:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396807 -3.335236)'), GeomFromEWKT('SRID=4674;POINT (-38.396888 -3.335315)'))) / (select extract(epoch from '2026-07-18 12:51:26'::timestamp) - extract(epoch from '2026-07-18 12:51: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.396903 -3.33533)', '2026-07-18 12:51:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396888 -3.335315)'), GeomFromEWKT('SRID=4674;POINT (-38.396903 -3.33533)'))) / (select extract(epoch from '2026-07-18 12:51:27'::timestamp) - extract(epoch from '2026-07-18 12:51:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396888 -3.335315)'), GeomFromEWKT('SRID=4674;POINT (-38.396903 -3.33533)'))) / (select extract(epoch from '2026-07-18 12:51:27'::timestamp) - extract(epoch from '2026-07-18 12:51: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.39692 -3.335365)', '2026-07-18 12:51:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396903 -3.33533)'), GeomFromEWKT('SRID=4674;POINT (-38.39692 -3.335365)'))) / (select extract(epoch from '2026-07-18 12:51:29'::timestamp) - extract(epoch from '2026-07-18 12:51:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396903 -3.33533)'), GeomFromEWKT('SRID=4674;POINT (-38.39692 -3.335365)'))) / (select extract(epoch from '2026-07-18 12:51:29'::timestamp) - extract(epoch from '2026-07-18 12:51: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.396934 -3.335378)', '2026-07-18 12:51:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39692 -3.335365)'), GeomFromEWKT('SRID=4674;POINT (-38.396934 -3.335378)'))) / (select extract(epoch from '2026-07-18 12:51:30'::timestamp) - extract(epoch from '2026-07-18 12:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39692 -3.335365)'), GeomFromEWKT('SRID=4674;POINT (-38.396934 -3.335378)'))) / (select extract(epoch from '2026-07-18 12:51:30'::timestamp) - extract(epoch from '2026-07-18 12: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.397013 -3.335472)', '2026-07-18 12:51:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396934 -3.335378)'), GeomFromEWKT('SRID=4674;POINT (-38.397013 -3.335472)'))) / (select extract(epoch from '2026-07-18 12:51:36'::timestamp) - extract(epoch from '2026-07-18 12:51:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396934 -3.335378)'), GeomFromEWKT('SRID=4674;POINT (-38.397013 -3.335472)'))) / (select extract(epoch from '2026-07-18 12:51:36'::timestamp) - extract(epoch from '2026-07-18 12:51: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.397073 -3.335561)', '2026-07-18 12:51:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397013 -3.335472)'), GeomFromEWKT('SRID=4674;POINT (-38.397073 -3.335561)'))) / (select extract(epoch from '2026-07-18 12:51:42'::timestamp) - extract(epoch from '2026-07-18 12:51:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397013 -3.335472)'), GeomFromEWKT('SRID=4674;POINT (-38.397073 -3.335561)'))) / (select extract(epoch from '2026-07-18 12:51:42'::timestamp) - extract(epoch from '2026-07-18 12:51: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.397107 -3.33562)', '2026-07-18 12:51:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397073 -3.335561)'), GeomFromEWKT('SRID=4674;POINT (-38.397107 -3.33562)'))) / (select extract(epoch from '2026-07-18 12:51:47'::timestamp) - extract(epoch from '2026-07-18 12:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397073 -3.335561)'), GeomFromEWKT('SRID=4674;POINT (-38.397107 -3.33562)'))) / (select extract(epoch from '2026-07-18 12:51:47'::timestamp) - extract(epoch from '2026-07-18 12:51: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.397162 -3.335689)', '2026-07-18 12:51:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397107 -3.33562)'), GeomFromEWKT('SRID=4674;POINT (-38.397162 -3.335689)'))) / (select extract(epoch from '2026-07-18 12:51:53'::timestamp) - extract(epoch from '2026-07-18 12:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397107 -3.33562)'), GeomFromEWKT('SRID=4674;POINT (-38.397162 -3.335689)'))) / (select extract(epoch from '2026-07-18 12:51:53'::timestamp) - extract(epoch from '2026-07-18 12:51: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.397217 -3.335751)', '2026-07-18 12:51:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397162 -3.335689)'), GeomFromEWKT('SRID=4674;POINT (-38.397217 -3.335751)'))) / (select extract(epoch from '2026-07-18 12:51:59'::timestamp) - extract(epoch from '2026-07-18 12:51:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397162 -3.335689)'), GeomFromEWKT('SRID=4674;POINT (-38.397217 -3.335751)'))) / (select extract(epoch from '2026-07-18 12:51:59'::timestamp) - extract(epoch from '2026-07-18 12:51: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.397301 -3.335828)', '2026-07-18 12:52:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397217 -3.335751)'), GeomFromEWKT('SRID=4674;POINT (-38.397301 -3.335828)'))) / (select extract(epoch from '2026-07-18 12:52:05'::timestamp) - extract(epoch from '2026-07-18 12:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397217 -3.335751)'), GeomFromEWKT('SRID=4674;POINT (-38.397301 -3.335828)'))) / (select extract(epoch from '2026-07-18 12:52:05'::timestamp) - extract(epoch from '2026-07-18 12: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.397375 -3.335907)', '2026-07-18 12:52:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397301 -3.335828)'), GeomFromEWKT('SRID=4674;POINT (-38.397375 -3.335907)'))) / (select extract(epoch from '2026-07-18 12:52:11'::timestamp) - extract(epoch from '2026-07-18 12:52:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397301 -3.335828)'), GeomFromEWKT('SRID=4674;POINT (-38.397375 -3.335907)'))) / (select extract(epoch from '2026-07-18 12:52:11'::timestamp) - extract(epoch from '2026-07-18 12:52: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.397426 -3.33597)', '2026-07-18 12:52:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397375 -3.335907)'), GeomFromEWKT('SRID=4674;POINT (-38.397426 -3.33597)'))) / (select extract(epoch from '2026-07-18 12:52:16'::timestamp) - extract(epoch from '2026-07-18 12:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397375 -3.335907)'), GeomFromEWKT('SRID=4674;POINT (-38.397426 -3.33597)'))) / (select extract(epoch from '2026-07-18 12:52:16'::timestamp) - extract(epoch from '2026-07-18 12: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.39745 -3.335993)', '2026-07-18 12:52:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397426 -3.33597)'), GeomFromEWKT('SRID=4674;POINT (-38.39745 -3.335993)'))) / (select extract(epoch from '2026-07-18 12:52:18'::timestamp) - extract(epoch from '2026-07-18 12:52:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397426 -3.33597)'), GeomFromEWKT('SRID=4674;POINT (-38.39745 -3.335993)'))) / (select extract(epoch from '2026-07-18 12:52:18'::timestamp) - extract(epoch from '2026-07-18 12:52: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.3975 -3.336056)', '2026-07-18 12:52:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39745 -3.335993)'), GeomFromEWKT('SRID=4674;POINT (-38.3975 -3.336056)'))) / (select extract(epoch from '2026-07-18 12:52:23'::timestamp) - extract(epoch from '2026-07-18 12:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39745 -3.335993)'), GeomFromEWKT('SRID=4674;POINT (-38.3975 -3.336056)'))) / (select extract(epoch from '2026-07-18 12:52:23'::timestamp) - extract(epoch from '2026-07-18 12: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.397548 -3.336115)', '2026-07-18 12:52:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3975 -3.336056)'), GeomFromEWKT('SRID=4674;POINT (-38.397548 -3.336115)'))) / (select extract(epoch from '2026-07-18 12:52:28'::timestamp) - extract(epoch from '2026-07-18 12:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3975 -3.336056)'), GeomFromEWKT('SRID=4674;POINT (-38.397548 -3.336115)'))) / (select extract(epoch from '2026-07-18 12:52:28'::timestamp) - extract(epoch from '2026-07-18 12:52: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.397615 -3.336174)', '2026-07-18 12:52:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397548 -3.336115)'), GeomFromEWKT('SRID=4674;POINT (-38.397615 -3.336174)'))) / (select extract(epoch from '2026-07-18 12:52:34'::timestamp) - extract(epoch from '2026-07-18 12:52:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397548 -3.336115)'), GeomFromEWKT('SRID=4674;POINT (-38.397615 -3.336174)'))) / (select extract(epoch from '2026-07-18 12:52:34'::timestamp) - extract(epoch from '2026-07-18 12:52: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.397709 -3.336274)', '2026-07-18 12:52:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397615 -3.336174)'), GeomFromEWKT('SRID=4674;POINT (-38.397709 -3.336274)'))) / (select extract(epoch from '2026-07-18 12:52:41'::timestamp) - extract(epoch from '2026-07-18 12:52:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397615 -3.336174)'), GeomFromEWKT('SRID=4674;POINT (-38.397709 -3.336274)'))) / (select extract(epoch from '2026-07-18 12:52:41'::timestamp) - extract(epoch from '2026-07-18 12: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.39776 -3.336341)', '2026-07-18 12:52:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397709 -3.336274)'), GeomFromEWKT('SRID=4674;POINT (-38.39776 -3.336341)'))) / (select extract(epoch from '2026-07-18 12:52:46'::timestamp) - extract(epoch from '2026-07-18 12:52:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397709 -3.336274)'), GeomFromEWKT('SRID=4674;POINT (-38.39776 -3.336341)'))) / (select extract(epoch from '2026-07-18 12:52:46'::timestamp) - extract(epoch from '2026-07-18 12:52: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.397825 -3.336451)', '2026-07-18 12:52:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39776 -3.336341)'), GeomFromEWKT('SRID=4674;POINT (-38.397825 -3.336451)'))) / (select extract(epoch from '2026-07-18 12:52:54'::timestamp) - extract(epoch from '2026-07-18 12:52:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39776 -3.336341)'), GeomFromEWKT('SRID=4674;POINT (-38.397825 -3.336451)'))) / (select extract(epoch from '2026-07-18 12:52:54'::timestamp) - extract(epoch from '2026-07-18 12: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.397834 -3.336462)', '2026-07-18 12:52:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397825 -3.336451)'), GeomFromEWKT('SRID=4674;POINT (-38.397834 -3.336462)'))) / (select extract(epoch from '2026-07-18 12:52:55'::timestamp) - extract(epoch from '2026-07-18 12:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397825 -3.336451)'), GeomFromEWKT('SRID=4674;POINT (-38.397834 -3.336462)'))) / (select extract(epoch from '2026-07-18 12:52:55'::timestamp) - extract(epoch from '2026-07-18 12:52: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.397874 -3.336509)', '2026-07-18 12:52:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397834 -3.336462)'), GeomFromEWKT('SRID=4674;POINT (-38.397874 -3.336509)'))) / (select extract(epoch from '2026-07-18 12:52:59'::timestamp) - extract(epoch from '2026-07-18 12:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397834 -3.336462)'), GeomFromEWKT('SRID=4674;POINT (-38.397874 -3.336509)'))) / (select extract(epoch from '2026-07-18 12:52:59'::timestamp) - extract(epoch from '2026-07-18 12:52: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.397929 -3.336558)', '2026-07-18 12:53:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397874 -3.336509)'), GeomFromEWKT('SRID=4674;POINT (-38.397929 -3.336558)'))) / (select extract(epoch from '2026-07-18 12:53:04'::timestamp) - extract(epoch from '2026-07-18 12:52:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397874 -3.336509)'), GeomFromEWKT('SRID=4674;POINT (-38.397929 -3.336558)'))) / (select extract(epoch from '2026-07-18 12:53:04'::timestamp) - extract(epoch from '2026-07-18 12: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.398018 -3.336655)', '2026-07-18 12:53:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397929 -3.336558)'), GeomFromEWKT('SRID=4674;POINT (-38.398018 -3.336655)'))) / (select extract(epoch from '2026-07-18 12:53:12'::timestamp) - extract(epoch from '2026-07-18 12:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397929 -3.336558)'), GeomFromEWKT('SRID=4674;POINT (-38.398018 -3.336655)'))) / (select extract(epoch from '2026-07-18 12:53:12'::timestamp) - extract(epoch from '2026-07-18 12: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.398089 -3.336737)', '2026-07-18 12:53:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398018 -3.336655)'), GeomFromEWKT('SRID=4674;POINT (-38.398089 -3.336737)'))) / (select extract(epoch from '2026-07-18 12:53:18'::timestamp) - extract(epoch from '2026-07-18 12:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398018 -3.336655)'), GeomFromEWKT('SRID=4674;POINT (-38.398089 -3.336737)'))) / (select extract(epoch from '2026-07-18 12:53:18'::timestamp) - extract(epoch from '2026-07-18 12:53: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.398154 -3.336818)', '2026-07-18 12:53:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398089 -3.336737)'), GeomFromEWKT('SRID=4674;POINT (-38.398154 -3.336818)'))) / (select extract(epoch from '2026-07-18 12:53:24'::timestamp) - extract(epoch from '2026-07-18 12:53:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398089 -3.336737)'), GeomFromEWKT('SRID=4674;POINT (-38.398154 -3.336818)'))) / (select extract(epoch from '2026-07-18 12:53:24'::timestamp) - extract(epoch from '2026-07-18 12:53: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.398167 -3.336832)', '2026-07-18 12:53:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398154 -3.336818)'), GeomFromEWKT('SRID=4674;POINT (-38.398167 -3.336832)'))) / (select extract(epoch from '2026-07-18 12:53:25'::timestamp) - extract(epoch from '2026-07-18 12:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398154 -3.336818)'), GeomFromEWKT('SRID=4674;POINT (-38.398167 -3.336832)'))) / (select extract(epoch from '2026-07-18 12:53:25'::timestamp) - extract(epoch from '2026-07-18 12:53:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.398206 -3.336868)', '2026-07-18 12:53:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398167 -3.336832)'), GeomFromEWKT('SRID=4674;POINT (-38.398206 -3.336868)'))) / (select extract(epoch from '2026-07-18 12:53:28'::timestamp) - extract(epoch from '2026-07-18 12:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398167 -3.336832)'), GeomFromEWKT('SRID=4674;POINT (-38.398206 -3.336868)'))) / (select extract(epoch from '2026-07-18 12:53:28'::timestamp) - extract(epoch from '2026-07-18 12:53: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.398276 -3.336937)', '2026-07-18 12:53:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398206 -3.336868)'), GeomFromEWKT('SRID=4674;POINT (-38.398276 -3.336937)'))) / (select extract(epoch from '2026-07-18 12:53:34'::timestamp) - extract(epoch from '2026-07-18 12:53:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398206 -3.336868)'), GeomFromEWKT('SRID=4674;POINT (-38.398276 -3.336937)'))) / (select extract(epoch from '2026-07-18 12:53:34'::timestamp) - extract(epoch from '2026-07-18 12:53: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.398343 -3.337011)', '2026-07-18 12:53:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398276 -3.336937)'), GeomFromEWKT('SRID=4674;POINT (-38.398343 -3.337011)'))) / (select extract(epoch from '2026-07-18 12:53:40'::timestamp) - extract(epoch from '2026-07-18 12:53:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398276 -3.336937)'), GeomFromEWKT('SRID=4674;POINT (-38.398343 -3.337011)'))) / (select extract(epoch from '2026-07-18 12:53:40'::timestamp) - extract(epoch from '2026-07-18 12:53: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.398412 -3.337076)', '2026-07-18 12:53:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398343 -3.337011)'), GeomFromEWKT('SRID=4674;POINT (-38.398412 -3.337076)'))) / (select extract(epoch from '2026-07-18 12:53:46'::timestamp) - extract(epoch from '2026-07-18 12:53:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398343 -3.337011)'), GeomFromEWKT('SRID=4674;POINT (-38.398412 -3.337076)'))) / (select extract(epoch from '2026-07-18 12:53:46'::timestamp) - extract(epoch from '2026-07-18 12:53: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.398421 -3.337089)', '2026-07-18 12:53:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398412 -3.337076)'), GeomFromEWKT('SRID=4674;POINT (-38.398421 -3.337089)'))) / (select extract(epoch from '2026-07-18 12:53:47'::timestamp) - extract(epoch from '2026-07-18 12:53:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398412 -3.337076)'), GeomFromEWKT('SRID=4674;POINT (-38.398421 -3.337089)'))) / (select extract(epoch from '2026-07-18 12:53:47'::timestamp) - extract(epoch from '2026-07-18 12:53:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.398464 -3.337125)', '2026-07-18 12:53:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398421 -3.337089)'), GeomFromEWKT('SRID=4674;POINT (-38.398464 -3.337125)'))) / (select extract(epoch from '2026-07-18 12:53:50'::timestamp) - extract(epoch from '2026-07-18 12:53:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398421 -3.337089)'), GeomFromEWKT('SRID=4674;POINT (-38.398464 -3.337125)'))) / (select extract(epoch from '2026-07-18 12:53:50'::timestamp) - extract(epoch from '2026-07-18 12:53: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.398508 -3.337168)', '2026-07-18 12:53:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398464 -3.337125)'), GeomFromEWKT('SRID=4674;POINT (-38.398508 -3.337168)'))) / (select extract(epoch from '2026-07-18 12:53:54'::timestamp) - extract(epoch from '2026-07-18 12:53:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398464 -3.337125)'), GeomFromEWKT('SRID=4674;POINT (-38.398508 -3.337168)'))) / (select extract(epoch from '2026-07-18 12:53:54'::timestamp) - extract(epoch from '2026-07-18 12:53: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.398593 -3.337238)', '2026-07-18 12:54:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398508 -3.337168)'), GeomFromEWKT('SRID=4674;POINT (-38.398593 -3.337238)'))) / (select extract(epoch from '2026-07-18 12:54:00'::timestamp) - extract(epoch from '2026-07-18 12:53:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398508 -3.337168)'), GeomFromEWKT('SRID=4674;POINT (-38.398593 -3.337238)'))) / (select extract(epoch from '2026-07-18 12:54:00'::timestamp) - extract(epoch from '2026-07-18 12:53: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.398617 -3.337261)', '2026-07-18 12:54:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398593 -3.337238)'), GeomFromEWKT('SRID=4674;POINT (-38.398617 -3.337261)'))) / (select extract(epoch from '2026-07-18 12:54:02'::timestamp) - extract(epoch from '2026-07-18 12:54:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398593 -3.337238)'), GeomFromEWKT('SRID=4674;POINT (-38.398617 -3.337261)'))) / (select extract(epoch from '2026-07-18 12:54:02'::timestamp) - extract(epoch from '2026-07-18 12: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.398656 -3.337307)', '2026-07-18 12:54:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398617 -3.337261)'), GeomFromEWKT('SRID=4674;POINT (-38.398656 -3.337307)'))) / (select extract(epoch from '2026-07-18 12:54:05'::timestamp) - extract(epoch from '2026-07-18 12:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398617 -3.337261)'), GeomFromEWKT('SRID=4674;POINT (-38.398656 -3.337307)'))) / (select extract(epoch from '2026-07-18 12:54:05'::timestamp) - extract(epoch from '2026-07-18 12:54: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.398708 -3.337379)', '2026-07-18 12:54:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398656 -3.337307)'), GeomFromEWKT('SRID=4674;POINT (-38.398708 -3.337379)'))) / (select extract(epoch from '2026-07-18 12:54:10'::timestamp) - extract(epoch from '2026-07-18 12:54:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398656 -3.337307)'), GeomFromEWKT('SRID=4674;POINT (-38.398708 -3.337379)'))) / (select extract(epoch from '2026-07-18 12:54:10'::timestamp) - extract(epoch from '2026-07-18 12:54: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.398745 -3.337438)', '2026-07-18 12:54:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398708 -3.337379)'), GeomFromEWKT('SRID=4674;POINT (-38.398745 -3.337438)'))) / (select extract(epoch from '2026-07-18 12:54:15'::timestamp) - extract(epoch from '2026-07-18 12:54:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398708 -3.337379)'), GeomFromEWKT('SRID=4674;POINT (-38.398745 -3.337438)'))) / (select extract(epoch from '2026-07-18 12:54:15'::timestamp) - extract(epoch from '2026-07-18 12:54: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.398758 -3.337447)', '2026-07-18 12:54:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398745 -3.337438)'), GeomFromEWKT('SRID=4674;POINT (-38.398758 -3.337447)'))) / (select extract(epoch from '2026-07-18 12:54:16'::timestamp) - extract(epoch from '2026-07-18 12:54:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398745 -3.337438)'), GeomFromEWKT('SRID=4674;POINT (-38.398758 -3.337447)'))) / (select extract(epoch from '2026-07-18 12:54:16'::timestamp) - extract(epoch from '2026-07-18 12:54:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.398802 -3.337501)', '2026-07-18 12:54:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398758 -3.337447)'), GeomFromEWKT('SRID=4674;POINT (-38.398802 -3.337501)'))) / (select extract(epoch from '2026-07-18 12:54:20'::timestamp) - extract(epoch from '2026-07-18 12:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398758 -3.337447)'), GeomFromEWKT('SRID=4674;POINT (-38.398802 -3.337501)'))) / (select extract(epoch from '2026-07-18 12:54:20'::timestamp) - extract(epoch from '2026-07-18 12: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.398808 -3.337507)', '2026-07-18 12:54:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398802 -3.337501)'), GeomFromEWKT('SRID=4674;POINT (-38.398808 -3.337507)'))) / (select extract(epoch from '2026-07-18 12:54:21'::timestamp) - extract(epoch from '2026-07-18 12:54:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398802 -3.337501)'), GeomFromEWKT('SRID=4674;POINT (-38.398808 -3.337507)'))) / (select extract(epoch from '2026-07-18 12:54:21'::timestamp) - extract(epoch from '2026-07-18 12: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.398849 -3.337537)', '2026-07-18 12:54:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398808 -3.337507)'), GeomFromEWKT('SRID=4674;POINT (-38.398849 -3.337537)'))) / (select extract(epoch from '2026-07-18 12:54:24'::timestamp) - extract(epoch from '2026-07-18 12:54:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398808 -3.337507)'), GeomFromEWKT('SRID=4674;POINT (-38.398849 -3.337537)'))) / (select extract(epoch from '2026-07-18 12:54:24'::timestamp) - extract(epoch from '2026-07-18 12:54: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.398936 -3.337631)', '2026-07-18 12:54:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398849 -3.337537)'), GeomFromEWKT('SRID=4674;POINT (-38.398936 -3.337631)'))) / (select extract(epoch from '2026-07-18 12:54:31'::timestamp) - extract(epoch from '2026-07-18 12:54:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398849 -3.337537)'), GeomFromEWKT('SRID=4674;POINT (-38.398936 -3.337631)'))) / (select extract(epoch from '2026-07-18 12:54:31'::timestamp) - extract(epoch from '2026-07-18 12:54: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.398984 -3.337691)', '2026-07-18 12:54:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398936 -3.337631)'), GeomFromEWKT('SRID=4674;POINT (-38.398984 -3.337691)'))) / (select extract(epoch from '2026-07-18 12:54:36'::timestamp) - extract(epoch from '2026-07-18 12:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398936 -3.337631)'), GeomFromEWKT('SRID=4674;POINT (-38.398984 -3.337691)'))) / (select extract(epoch from '2026-07-18 12:54:36'::timestamp) - extract(epoch from '2026-07-18 12: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.399056 -3.337757)', '2026-07-18 12:54:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398984 -3.337691)'), GeomFromEWKT('SRID=4674;POINT (-38.399056 -3.337757)'))) / (select extract(epoch from '2026-07-18 12:54:41'::timestamp) - extract(epoch from '2026-07-18 12:54:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398984 -3.337691)'), GeomFromEWKT('SRID=4674;POINT (-38.399056 -3.337757)'))) / (select extract(epoch from '2026-07-18 12:54:41'::timestamp) - extract(epoch from '2026-07-18 12: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.3991 -3.337801)', '2026-07-18 12:54:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399056 -3.337757)'), GeomFromEWKT('SRID=4674;POINT (-38.3991 -3.337801)'))) / (select extract(epoch from '2026-07-18 12:54:45'::timestamp) - extract(epoch from '2026-07-18 12:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399056 -3.337757)'), GeomFromEWKT('SRID=4674;POINT (-38.3991 -3.337801)'))) / (select extract(epoch from '2026-07-18 12:54:45'::timestamp) - extract(epoch from '2026-07-18 12:54: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.399112 -3.337815)', '2026-07-18 12:54:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3991 -3.337801)'), GeomFromEWKT('SRID=4674;POINT (-38.399112 -3.337815)'))) / (select extract(epoch from '2026-07-18 12:54:46'::timestamp) - extract(epoch from '2026-07-18 12:54:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3991 -3.337801)'), GeomFromEWKT('SRID=4674;POINT (-38.399112 -3.337815)'))) / (select extract(epoch from '2026-07-18 12:54:46'::timestamp) - extract(epoch from '2026-07-18 12:54: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.399149 -3.337891)', '2026-07-18 12:54:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399112 -3.337815)'), GeomFromEWKT('SRID=4674;POINT (-38.399149 -3.337891)'))) / (select extract(epoch from '2026-07-18 12:54:51'::timestamp) - extract(epoch from '2026-07-18 12:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399112 -3.337815)'), GeomFromEWKT('SRID=4674;POINT (-38.399149 -3.337891)'))) / (select extract(epoch from '2026-07-18 12:54:51'::timestamp) - extract(epoch from '2026-07-18 12:54: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.399194 -3.337959)', '2026-07-18 12:54:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399149 -3.337891)'), GeomFromEWKT('SRID=4674;POINT (-38.399194 -3.337959)'))) / (select extract(epoch from '2026-07-18 12:54:56'::timestamp) - extract(epoch from '2026-07-18 12:54:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399149 -3.337891)'), GeomFromEWKT('SRID=4674;POINT (-38.399194 -3.337959)'))) / (select extract(epoch from '2026-07-18 12:54:56'::timestamp) - extract(epoch from '2026-07-18 12:54: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.399209 -3.337973)', '2026-07-18 12:54:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399194 -3.337959)'), GeomFromEWKT('SRID=4674;POINT (-38.399209 -3.337973)'))) / (select extract(epoch from '2026-07-18 12:54:57'::timestamp) - extract(epoch from '2026-07-18 12:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399194 -3.337959)'), GeomFromEWKT('SRID=4674;POINT (-38.399209 -3.337973)'))) / (select extract(epoch from '2026-07-18 12:54:57'::timestamp) - extract(epoch from '2026-07-18 12:54: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.399223 -3.33799)', '2026-07-18 12:54:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399209 -3.337973)'), GeomFromEWKT('SRID=4674;POINT (-38.399223 -3.33799)'))) / (select extract(epoch from '2026-07-18 12:54:58'::timestamp) - extract(epoch from '2026-07-18 12:54:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399209 -3.337973)'), GeomFromEWKT('SRID=4674;POINT (-38.399223 -3.33799)'))) / (select extract(epoch from '2026-07-18 12:54:58'::timestamp) - extract(epoch from '2026-07-18 12:54: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.39924 -3.338017)', '2026-07-18 12:55:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399223 -3.33799)'), GeomFromEWKT('SRID=4674;POINT (-38.39924 -3.338017)'))) / (select extract(epoch from '2026-07-18 12:55:00'::timestamp) - extract(epoch from '2026-07-18 12:54:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399223 -3.33799)'), GeomFromEWKT('SRID=4674;POINT (-38.39924 -3.338017)'))) / (select extract(epoch from '2026-07-18 12:55:00'::timestamp) - extract(epoch from '2026-07-18 12:54: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.399247 -3.33803)', '2026-07-18 12:55:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39924 -3.338017)'), GeomFromEWKT('SRID=4674;POINT (-38.399247 -3.33803)'))) / (select extract(epoch from '2026-07-18 12:55:01'::timestamp) - extract(epoch from '2026-07-18 12:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39924 -3.338017)'), GeomFromEWKT('SRID=4674;POINT (-38.399247 -3.33803)'))) / (select extract(epoch from '2026-07-18 12:55:01'::timestamp) - extract(epoch from '2026-07-18 12: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.399301 -3.338093)', '2026-07-18 12:55:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399247 -3.33803)'), GeomFromEWKT('SRID=4674;POINT (-38.399301 -3.338093)'))) / (select extract(epoch from '2026-07-18 12:55:06'::timestamp) - extract(epoch from '2026-07-18 12:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399247 -3.33803)'), GeomFromEWKT('SRID=4674;POINT (-38.399301 -3.338093)'))) / (select extract(epoch from '2026-07-18 12:55:06'::timestamp) - extract(epoch from '2026-07-18 12:55: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.399373 -3.338173)', '2026-07-18 12:55:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399301 -3.338093)'), GeomFromEWKT('SRID=4674;POINT (-38.399373 -3.338173)'))) / (select extract(epoch from '2026-07-18 12:55:12'::timestamp) - extract(epoch from '2026-07-18 12:55:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399301 -3.338093)'), GeomFromEWKT('SRID=4674;POINT (-38.399373 -3.338173)'))) / (select extract(epoch from '2026-07-18 12:55:12'::timestamp) - extract(epoch from '2026-07-18 12:55: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.39939 -3.338195)', '2026-07-18 12:55:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399373 -3.338173)'), GeomFromEWKT('SRID=4674;POINT (-38.39939 -3.338195)'))) / (select extract(epoch from '2026-07-18 12:55:14'::timestamp) - extract(epoch from '2026-07-18 12:55:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399373 -3.338173)'), GeomFromEWKT('SRID=4674;POINT (-38.39939 -3.338195)'))) / (select extract(epoch from '2026-07-18 12:55:14'::timestamp) - extract(epoch from '2026-07-18 12:55:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.399412 -3.338227)', '2026-07-18 12:55:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39939 -3.338195)'), GeomFromEWKT('SRID=4674;POINT (-38.399412 -3.338227)'))) / (select extract(epoch from '2026-07-18 12:55:17'::timestamp) - extract(epoch from '2026-07-18 12:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39939 -3.338195)'), GeomFromEWKT('SRID=4674;POINT (-38.399412 -3.338227)'))) / (select extract(epoch from '2026-07-18 12:55:17'::timestamp) - extract(epoch from '2026-07-18 12:55: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.399475 -3.338289)', '2026-07-18 12:55:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399412 -3.338227)'), GeomFromEWKT('SRID=4674;POINT (-38.399475 -3.338289)'))) / (select extract(epoch from '2026-07-18 12:55:22'::timestamp) - extract(epoch from '2026-07-18 12:55:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399412 -3.338227)'), GeomFromEWKT('SRID=4674;POINT (-38.399475 -3.338289)'))) / (select extract(epoch from '2026-07-18 12:55:22'::timestamp) - extract(epoch from '2026-07-18 12: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.39953 -3.338329)', '2026-07-18 12:55:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399475 -3.338289)'), GeomFromEWKT('SRID=4674;POINT (-38.39953 -3.338329)'))) / (select extract(epoch from '2026-07-18 12:55:26'::timestamp) - extract(epoch from '2026-07-18 12:55:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399475 -3.338289)'), GeomFromEWKT('SRID=4674;POINT (-38.39953 -3.338329)'))) / (select extract(epoch from '2026-07-18 12:55:26'::timestamp) - extract(epoch from '2026-07-18 12:55: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.399596 -3.338389)', '2026-07-18 12:55:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39953 -3.338329)'), GeomFromEWKT('SRID=4674;POINT (-38.399596 -3.338389)'))) / (select extract(epoch from '2026-07-18 12:55:32'::timestamp) - extract(epoch from '2026-07-18 12:55:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39953 -3.338329)'), GeomFromEWKT('SRID=4674;POINT (-38.399596 -3.338389)'))) / (select extract(epoch from '2026-07-18 12:55:32'::timestamp) - extract(epoch from '2026-07-18 12: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.399667 -3.338462)', '2026-07-18 12:55:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399596 -3.338389)'), GeomFromEWKT('SRID=4674;POINT (-38.399667 -3.338462)'))) / (select extract(epoch from '2026-07-18 12:55:38'::timestamp) - extract(epoch from '2026-07-18 12:55:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399596 -3.338389)'), GeomFromEWKT('SRID=4674;POINT (-38.399667 -3.338462)'))) / (select extract(epoch from '2026-07-18 12:55:38'::timestamp) - extract(epoch from '2026-07-18 12:55: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.399688 -3.33849)', '2026-07-18 12:55:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399667 -3.338462)'), GeomFromEWKT('SRID=4674;POINT (-38.399688 -3.33849)'))) / (select extract(epoch from '2026-07-18 12:55:40'::timestamp) - extract(epoch from '2026-07-18 12:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399667 -3.338462)'), GeomFromEWKT('SRID=4674;POINT (-38.399688 -3.33849)'))) / (select extract(epoch from '2026-07-18 12:55:40'::timestamp) - extract(epoch from '2026-07-18 12: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.399722 -3.338521)', '2026-07-18 12:55:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399688 -3.33849)'), GeomFromEWKT('SRID=4674;POINT (-38.399722 -3.338521)'))) / (select extract(epoch from '2026-07-18 12:55:43'::timestamp) - extract(epoch from '2026-07-18 12:55:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399688 -3.33849)'), GeomFromEWKT('SRID=4674;POINT (-38.399722 -3.338521)'))) / (select extract(epoch from '2026-07-18 12:55:43'::timestamp) - extract(epoch from '2026-07-18 12:55: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.399808 -3.33862)', '2026-07-18 12:55:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399722 -3.338521)'), GeomFromEWKT('SRID=4674;POINT (-38.399808 -3.33862)'))) / (select extract(epoch from '2026-07-18 12:55:51'::timestamp) - extract(epoch from '2026-07-18 12:55:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399722 -3.338521)'), GeomFromEWKT('SRID=4674;POINT (-38.399808 -3.33862)'))) / (select extract(epoch from '2026-07-18 12:55:51'::timestamp) - extract(epoch from '2026-07-18 12: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.399826 -3.338641)', '2026-07-18 12:55:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399808 -3.33862)'), GeomFromEWKT('SRID=4674;POINT (-38.399826 -3.338641)'))) / (select extract(epoch from '2026-07-18 12:55:53'::timestamp) - extract(epoch from '2026-07-18 12:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399808 -3.33862)'), GeomFromEWKT('SRID=4674;POINT (-38.399826 -3.338641)'))) / (select extract(epoch from '2026-07-18 12:55:53'::timestamp) - extract(epoch from '2026-07-18 12: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.399855 -3.338659)', '2026-07-18 12:55:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399826 -3.338641)'), GeomFromEWKT('SRID=4674;POINT (-38.399855 -3.338659)'))) / (select extract(epoch from '2026-07-18 12:55:55'::timestamp) - extract(epoch from '2026-07-18 12:55:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399826 -3.338641)'), GeomFromEWKT('SRID=4674;POINT (-38.399855 -3.338659)'))) / (select extract(epoch from '2026-07-18 12:55:55'::timestamp) - extract(epoch from '2026-07-18 12:55: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.399936 -3.338759)', '2026-07-18 12:56:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399855 -3.338659)'), GeomFromEWKT('SRID=4674;POINT (-38.399936 -3.338759)'))) / (select extract(epoch from '2026-07-18 12:56:02'::timestamp) - extract(epoch from '2026-07-18 12:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399855 -3.338659)'), GeomFromEWKT('SRID=4674;POINT (-38.399936 -3.338759)'))) / (select extract(epoch from '2026-07-18 12:56:02'::timestamp) - extract(epoch from '2026-07-18 12:55: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.399971 -3.338785)', '2026-07-18 12:56:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399936 -3.338759)'), GeomFromEWKT('SRID=4674;POINT (-38.399971 -3.338785)'))) / (select extract(epoch from '2026-07-18 12:56:04'::timestamp) - extract(epoch from '2026-07-18 12:56:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399936 -3.338759)'), GeomFromEWKT('SRID=4674;POINT (-38.399971 -3.338785)'))) / (select extract(epoch from '2026-07-18 12:56:04'::timestamp) - extract(epoch from '2026-07-18 12:56: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.399983 -3.338807)', '2026-07-18 12:56:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399971 -3.338785)'), GeomFromEWKT('SRID=4674;POINT (-38.399983 -3.338807)'))) / (select extract(epoch from '2026-07-18 12:56:06'::timestamp) - extract(epoch from '2026-07-18 12:56:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399971 -3.338785)'), GeomFromEWKT('SRID=4674;POINT (-38.399983 -3.338807)'))) / (select extract(epoch from '2026-07-18 12:56:06'::timestamp) - extract(epoch from '2026-07-18 12:56: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.400043 -3.338878)', '2026-07-18 12:56:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399983 -3.338807)'), GeomFromEWKT('SRID=4674;POINT (-38.400043 -3.338878)'))) / (select extract(epoch from '2026-07-18 12:56:11'::timestamp) - extract(epoch from '2026-07-18 12:56:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399983 -3.338807)'), GeomFromEWKT('SRID=4674;POINT (-38.400043 -3.338878)'))) / (select extract(epoch from '2026-07-18 12:56:11'::timestamp) - extract(epoch from '2026-07-18 12:56: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.400105 -3.338934)', '2026-07-18 12:56:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400043 -3.338878)'), GeomFromEWKT('SRID=4674;POINT (-38.400105 -3.338934)'))) / (select extract(epoch from '2026-07-18 12:56:16'::timestamp) - extract(epoch from '2026-07-18 12:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400043 -3.338878)'), GeomFromEWKT('SRID=4674;POINT (-38.400105 -3.338934)'))) / (select extract(epoch from '2026-07-18 12:56:16'::timestamp) - extract(epoch from '2026-07-18 12: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.400121 -3.338943)', '2026-07-18 12:56:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400105 -3.338934)'), GeomFromEWKT('SRID=4674;POINT (-38.400121 -3.338943)'))) / (select extract(epoch from '2026-07-18 12:56:17'::timestamp) - extract(epoch from '2026-07-18 12:56:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400105 -3.338934)'), GeomFromEWKT('SRID=4674;POINT (-38.400121 -3.338943)'))) / (select extract(epoch from '2026-07-18 12:56:17'::timestamp) - extract(epoch from '2026-07-18 12:56: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.400131 -3.338958)', '2026-07-18 12:56:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400121 -3.338943)'), GeomFromEWKT('SRID=4674;POINT (-38.400131 -3.338958)'))) / (select extract(epoch from '2026-07-18 12:56:18'::timestamp) - extract(epoch from '2026-07-18 12:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400121 -3.338943)'), GeomFromEWKT('SRID=4674;POINT (-38.400131 -3.338958)'))) / (select extract(epoch from '2026-07-18 12:56:18'::timestamp) - extract(epoch from '2026-07-18 12:56: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.400168 -3.338994)', '2026-07-18 12:56:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400131 -3.338958)'), GeomFromEWKT('SRID=4674;POINT (-38.400168 -3.338994)'))) / (select extract(epoch from '2026-07-18 12:56:21'::timestamp) - extract(epoch from '2026-07-18 12:56:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400131 -3.338958)'), GeomFromEWKT('SRID=4674;POINT (-38.400168 -3.338994)'))) / (select extract(epoch from '2026-07-18 12:56:21'::timestamp) - extract(epoch from '2026-07-18 12: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.400221 -3.339051)', '2026-07-18 12:56:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400168 -3.338994)'), GeomFromEWKT('SRID=4674;POINT (-38.400221 -3.339051)'))) / (select extract(epoch from '2026-07-18 12:56:26'::timestamp) - extract(epoch from '2026-07-18 12:56:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400168 -3.338994)'), GeomFromEWKT('SRID=4674;POINT (-38.400221 -3.339051)'))) / (select extract(epoch from '2026-07-18 12:56:26'::timestamp) - extract(epoch from '2026-07-18 12:56: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.400288 -3.339115)', '2026-07-18 12:56:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400221 -3.339051)'), GeomFromEWKT('SRID=4674;POINT (-38.400288 -3.339115)'))) / (select extract(epoch from '2026-07-18 12:56:31'::timestamp) - extract(epoch from '2026-07-18 12:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400221 -3.339051)'), GeomFromEWKT('SRID=4674;POINT (-38.400288 -3.339115)'))) / (select extract(epoch from '2026-07-18 12:56:31'::timestamp) - extract(epoch from '2026-07-18 12:56: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.400357 -3.33919)', '2026-07-18 12:56:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400288 -3.339115)'), GeomFromEWKT('SRID=4674;POINT (-38.400357 -3.33919)'))) / (select extract(epoch from '2026-07-18 12:56:37'::timestamp) - extract(epoch from '2026-07-18 12:56:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400288 -3.339115)'), GeomFromEWKT('SRID=4674;POINT (-38.400357 -3.33919)'))) / (select extract(epoch from '2026-07-18 12:56:37'::timestamp) - extract(epoch from '2026-07-18 12:56: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.400387 -3.339221)', '2026-07-18 12:56:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400357 -3.33919)'), GeomFromEWKT('SRID=4674;POINT (-38.400387 -3.339221)'))) / (select extract(epoch from '2026-07-18 12:56:40'::timestamp) - extract(epoch from '2026-07-18 12:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400357 -3.33919)'), GeomFromEWKT('SRID=4674;POINT (-38.400387 -3.339221)'))) / (select extract(epoch from '2026-07-18 12:56:40'::timestamp) - extract(epoch from '2026-07-18 12: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.400417 -3.339247)', '2026-07-18 12:56:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400387 -3.339221)'), GeomFromEWKT('SRID=4674;POINT (-38.400417 -3.339247)'))) / (select extract(epoch from '2026-07-18 12:56:42'::timestamp) - extract(epoch from '2026-07-18 12:56:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400387 -3.339221)'), GeomFromEWKT('SRID=4674;POINT (-38.400417 -3.339247)'))) / (select extract(epoch from '2026-07-18 12:56:42'::timestamp) - extract(epoch from '2026-07-18 12: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.400444 -3.339288)', '2026-07-18 12:56:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400417 -3.339247)'), GeomFromEWKT('SRID=4674;POINT (-38.400444 -3.339288)'))) / (select extract(epoch from '2026-07-18 12:56:45'::timestamp) - extract(epoch from '2026-07-18 12:56:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400417 -3.339247)'), GeomFromEWKT('SRID=4674;POINT (-38.400444 -3.339288)'))) / (select extract(epoch from '2026-07-18 12:56:45'::timestamp) - extract(epoch from '2026-07-18 12: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.400467 -3.339305)', '2026-07-18 12:56:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400444 -3.339288)'), GeomFromEWKT('SRID=4674;POINT (-38.400467 -3.339305)'))) / (select extract(epoch from '2026-07-18 12:56:47'::timestamp) - extract(epoch from '2026-07-18 12:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400444 -3.339288)'), GeomFromEWKT('SRID=4674;POINT (-38.400467 -3.339305)'))) / (select extract(epoch from '2026-07-18 12:56:47'::timestamp) - extract(epoch from '2026-07-18 12:56:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.400532 -3.339362)', '2026-07-18 12:56:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400467 -3.339305)'), GeomFromEWKT('SRID=4674;POINT (-38.400532 -3.339362)'))) / (select extract(epoch from '2026-07-18 12:56:52'::timestamp) - extract(epoch from '2026-07-18 12:56:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400467 -3.339305)'), GeomFromEWKT('SRID=4674;POINT (-38.400532 -3.339362)'))) / (select extract(epoch from '2026-07-18 12:56:52'::timestamp) - extract(epoch from '2026-07-18 12:56: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.400593 -3.339424)', '2026-07-18 12:56:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400532 -3.339362)'), GeomFromEWKT('SRID=4674;POINT (-38.400593 -3.339424)'))) / (select extract(epoch from '2026-07-18 12:56:57'::timestamp) - extract(epoch from '2026-07-18 12:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400532 -3.339362)'), GeomFromEWKT('SRID=4674;POINT (-38.400593 -3.339424)'))) / (select extract(epoch from '2026-07-18 12:56:57'::timestamp) - extract(epoch from '2026-07-18 12:56: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.400622 -3.339477)', '2026-07-18 12:57:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400593 -3.339424)'), GeomFromEWKT('SRID=4674;POINT (-38.400622 -3.339477)'))) / (select extract(epoch from '2026-07-18 12:57:01'::timestamp) - extract(epoch from '2026-07-18 12:56:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400593 -3.339424)'), GeomFromEWKT('SRID=4674;POINT (-38.400622 -3.339477)'))) / (select extract(epoch from '2026-07-18 12:57:01'::timestamp) - extract(epoch from '2026-07-18 12:56: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.40064 -3.339489)', '2026-07-18 12:57:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400622 -3.339477)'), GeomFromEWKT('SRID=4674;POINT (-38.40064 -3.339489)'))) / (select extract(epoch from '2026-07-18 12:57:02'::timestamp) - extract(epoch from '2026-07-18 12:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400622 -3.339477)'), GeomFromEWKT('SRID=4674;POINT (-38.40064 -3.339489)'))) / (select extract(epoch from '2026-07-18 12:57:02'::timestamp) - extract(epoch from '2026-07-18 12:57:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.400654 -3.3395)', '2026-07-18 12:57:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40064 -3.339489)'), GeomFromEWKT('SRID=4674;POINT (-38.400654 -3.3395)'))) / (select extract(epoch from '2026-07-18 12:57:03'::timestamp) - extract(epoch from '2026-07-18 12:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40064 -3.339489)'), GeomFromEWKT('SRID=4674;POINT (-38.400654 -3.3395)'))) / (select extract(epoch from '2026-07-18 12:57:03'::timestamp) - extract(epoch from '2026-07-18 12: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.400668 -3.33953)', '2026-07-18 12:57:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400654 -3.3395)'), GeomFromEWKT('SRID=4674;POINT (-38.400668 -3.33953)'))) / (select extract(epoch from '2026-07-18 12:57:06'::timestamp) - extract(epoch from '2026-07-18 12:57:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400654 -3.3395)'), GeomFromEWKT('SRID=4674;POINT (-38.400668 -3.33953)'))) / (select extract(epoch from '2026-07-18 12:57:06'::timestamp) - extract(epoch from '2026-07-18 12:57: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.400723 -3.339589)', '2026-07-18 12:57:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400668 -3.33953)'), GeomFromEWKT('SRID=4674;POINT (-38.400723 -3.339589)'))) / (select extract(epoch from '2026-07-18 12:57:11'::timestamp) - extract(epoch from '2026-07-18 12:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400668 -3.33953)'), GeomFromEWKT('SRID=4674;POINT (-38.400723 -3.339589)'))) / (select extract(epoch from '2026-07-18 12:57:11'::timestamp) - extract(epoch from '2026-07-18 12:57: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.400788 -3.33963)', '2026-07-18 12:57:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400723 -3.339589)'), GeomFromEWKT('SRID=4674;POINT (-38.400788 -3.33963)'))) / (select extract(epoch from '2026-07-18 12:57:16'::timestamp) - extract(epoch from '2026-07-18 12:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400723 -3.339589)'), GeomFromEWKT('SRID=4674;POINT (-38.400788 -3.33963)'))) / (select extract(epoch from '2026-07-18 12:57:16'::timestamp) - extract(epoch from '2026-07-18 12:57:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.40083 -3.339665)', '2026-07-18 12:57:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400788 -3.33963)'), GeomFromEWKT('SRID=4674;POINT (-38.40083 -3.339665)'))) / (select extract(epoch from '2026-07-18 12:57:20'::timestamp) - extract(epoch from '2026-07-18 12:57:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400788 -3.33963)'), GeomFromEWKT('SRID=4674;POINT (-38.40083 -3.339665)'))) / (select extract(epoch from '2026-07-18 12:57:20'::timestamp) - extract(epoch from '2026-07-18 12:57: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.400846 -3.339674)', '2026-07-18 12:57:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40083 -3.339665)'), GeomFromEWKT('SRID=4674;POINT (-38.400846 -3.339674)'))) / (select extract(epoch from '2026-07-18 12:57:21'::timestamp) - extract(epoch from '2026-07-18 12:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40083 -3.339665)'), GeomFromEWKT('SRID=4674;POINT (-38.400846 -3.339674)'))) / (select extract(epoch from '2026-07-18 12:57:21'::timestamp) - extract(epoch from '2026-07-18 12:57: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.400896 -3.339723)', '2026-07-18 12:57:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400846 -3.339674)'), GeomFromEWKT('SRID=4674;POINT (-38.400896 -3.339723)'))) / (select extract(epoch from '2026-07-18 12:57:25'::timestamp) - extract(epoch from '2026-07-18 12:57:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400846 -3.339674)'), GeomFromEWKT('SRID=4674;POINT (-38.400896 -3.339723)'))) / (select extract(epoch from '2026-07-18 12:57:25'::timestamp) - extract(epoch from '2026-07-18 12: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.400912 -3.339729)', '2026-07-18 12:57:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400896 -3.339723)'), GeomFromEWKT('SRID=4674;POINT (-38.400912 -3.339729)'))) / (select extract(epoch from '2026-07-18 12:57:26'::timestamp) - extract(epoch from '2026-07-18 12:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400896 -3.339723)'), GeomFromEWKT('SRID=4674;POINT (-38.400912 -3.339729)'))) / (select extract(epoch from '2026-07-18 12:57:26'::timestamp) - extract(epoch from '2026-07-18 12: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.400944 -3.33975)', '2026-07-18 12:57:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400912 -3.339729)'), GeomFromEWKT('SRID=4674;POINT (-38.400944 -3.33975)'))) / (select extract(epoch from '2026-07-18 12:57:29'::timestamp) - extract(epoch from '2026-07-18 12:57:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400912 -3.339729)'), GeomFromEWKT('SRID=4674;POINT (-38.400944 -3.33975)'))) / (select extract(epoch from '2026-07-18 12:57:29'::timestamp) - extract(epoch from '2026-07-18 12:57: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.400952 -3.339758)', '2026-07-18 12:57:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400944 -3.33975)'), GeomFromEWKT('SRID=4674;POINT (-38.400952 -3.339758)'))) / (select extract(epoch from '2026-07-18 12:57:30'::timestamp) - extract(epoch from '2026-07-18 12:57:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400944 -3.33975)'), GeomFromEWKT('SRID=4674;POINT (-38.400952 -3.339758)'))) / (select extract(epoch from '2026-07-18 12:57:30'::timestamp) - extract(epoch from '2026-07-18 12: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.400995 -3.339773)', '2026-07-18 12:57:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400952 -3.339758)'), GeomFromEWKT('SRID=4674;POINT (-38.400995 -3.339773)'))) / (select extract(epoch from '2026-07-18 12:57:33'::timestamp) - extract(epoch from '2026-07-18 12:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400952 -3.339758)'), GeomFromEWKT('SRID=4674;POINT (-38.400995 -3.339773)'))) / (select extract(epoch from '2026-07-18 12:57:33'::timestamp) - extract(epoch from '2026-07-18 12:57:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.401008 -3.339788)', '2026-07-18 12:57:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400995 -3.339773)'), GeomFromEWKT('SRID=4674;POINT (-38.401008 -3.339788)'))) / (select extract(epoch from '2026-07-18 12:57:35'::timestamp) - extract(epoch from '2026-07-18 12:57:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.400995 -3.339773)'), GeomFromEWKT('SRID=4674;POINT (-38.401008 -3.339788)'))) / (select extract(epoch from '2026-07-18 12:57:35'::timestamp) - extract(epoch from '2026-07-18 12:57: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.401053 -3.339811)', '2026-07-18 12:57:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401008 -3.339788)'), GeomFromEWKT('SRID=4674;POINT (-38.401053 -3.339811)'))) / (select extract(epoch from '2026-07-18 12:57:38'::timestamp) - extract(epoch from '2026-07-18 12:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401008 -3.339788)'), GeomFromEWKT('SRID=4674;POINT (-38.401053 -3.339811)'))) / (select extract(epoch from '2026-07-18 12:57:38'::timestamp) - extract(epoch from '2026-07-18 12:57: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.401079 -3.339837)', '2026-07-18 12:57:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401053 -3.339811)'), GeomFromEWKT('SRID=4674;POINT (-38.401079 -3.339837)'))) / (select extract(epoch from '2026-07-18 12:57:41'::timestamp) - extract(epoch from '2026-07-18 12:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401053 -3.339811)'), GeomFromEWKT('SRID=4674;POINT (-38.401079 -3.339837)'))) / (select extract(epoch from '2026-07-18 12:57:41'::timestamp) - extract(epoch from '2026-07-18 12:57: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.401108 -3.339857)', '2026-07-18 12:57:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401079 -3.339837)'), GeomFromEWKT('SRID=4674;POINT (-38.401108 -3.339857)'))) / (select extract(epoch from '2026-07-18 12:57:43'::timestamp) - extract(epoch from '2026-07-18 12:57:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401079 -3.339837)'), GeomFromEWKT('SRID=4674;POINT (-38.401108 -3.339857)'))) / (select extract(epoch from '2026-07-18 12:57:43'::timestamp) - extract(epoch from '2026-07-18 12: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.401168 -3.339905)', '2026-07-18 12:57:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401108 -3.339857)'), GeomFromEWKT('SRID=4674;POINT (-38.401168 -3.339905)'))) / (select extract(epoch from '2026-07-18 12:57:48'::timestamp) - extract(epoch from '2026-07-18 12:57:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401108 -3.339857)'), GeomFromEWKT('SRID=4674;POINT (-38.401168 -3.339905)'))) / (select extract(epoch from '2026-07-18 12:57:48'::timestamp) - extract(epoch from '2026-07-18 12:57: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.401249 -3.339982)', '2026-07-18 12:57:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401168 -3.339905)'), GeomFromEWKT('SRID=4674;POINT (-38.401249 -3.339982)'))) / (select extract(epoch from '2026-07-18 12:57:55'::timestamp) - extract(epoch from '2026-07-18 12:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401168 -3.339905)'), GeomFromEWKT('SRID=4674;POINT (-38.401249 -3.339982)'))) / (select extract(epoch from '2026-07-18 12:57:55'::timestamp) - extract(epoch from '2026-07-18 12:57: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.401319 -3.340034)', '2026-07-18 12:58:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401249 -3.339982)'), GeomFromEWKT('SRID=4674;POINT (-38.401319 -3.340034)'))) / (select extract(epoch from '2026-07-18 12:58:01'::timestamp) - extract(epoch from '2026-07-18 12:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401249 -3.339982)'), GeomFromEWKT('SRID=4674;POINT (-38.401319 -3.340034)'))) / (select extract(epoch from '2026-07-18 12:58:01'::timestamp) - extract(epoch from '2026-07-18 12:57: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.401346 -3.340045)', '2026-07-18 12:58:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401319 -3.340034)'), GeomFromEWKT('SRID=4674;POINT (-38.401346 -3.340045)'))) / (select extract(epoch from '2026-07-18 12:58:03'::timestamp) - extract(epoch from '2026-07-18 12:58:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401319 -3.340034)'), GeomFromEWKT('SRID=4674;POINT (-38.401346 -3.340045)'))) / (select extract(epoch from '2026-07-18 12:58:03'::timestamp) - extract(epoch from '2026-07-18 12:58:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.401392 -3.340059)', '2026-07-18 12:58:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401346 -3.340045)'), GeomFromEWKT('SRID=4674;POINT (-38.401392 -3.340059)'))) / (select extract(epoch from '2026-07-18 12:58:06'::timestamp) - extract(epoch from '2026-07-18 12:58:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401346 -3.340045)'), GeomFromEWKT('SRID=4674;POINT (-38.401392 -3.340059)'))) / (select extract(epoch from '2026-07-18 12:58:06'::timestamp) - extract(epoch from '2026-07-18 12:58: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.40143 -3.340083)', '2026-07-18 12:58:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401392 -3.340059)'), GeomFromEWKT('SRID=4674;POINT (-38.40143 -3.340083)'))) / (select extract(epoch from '2026-07-18 12:58:09'::timestamp) - extract(epoch from '2026-07-18 12:58:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401392 -3.340059)'), GeomFromEWKT('SRID=4674;POINT (-38.40143 -3.340083)'))) / (select extract(epoch from '2026-07-18 12:58:09'::timestamp) - extract(epoch from '2026-07-18 12:58: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.401438 -3.34009)', '2026-07-18 12:58:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40143 -3.340083)'), GeomFromEWKT('SRID=4674;POINT (-38.401438 -3.34009)'))) / (select extract(epoch from '2026-07-18 12:58:10'::timestamp) - extract(epoch from '2026-07-18 12:58:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40143 -3.340083)'), GeomFromEWKT('SRID=4674;POINT (-38.401438 -3.34009)'))) / (select extract(epoch from '2026-07-18 12:58:10'::timestamp) - extract(epoch from '2026-07-18 12:58: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.401509 -3.340128)', '2026-07-18 12:58:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401438 -3.34009)'), GeomFromEWKT('SRID=4674;POINT (-38.401509 -3.340128)'))) / (select extract(epoch from '2026-07-18 12:58:15'::timestamp) - extract(epoch from '2026-07-18 12:58:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401438 -3.34009)'), GeomFromEWKT('SRID=4674;POINT (-38.401509 -3.340128)'))) / (select extract(epoch from '2026-07-18 12:58:15'::timestamp) - extract(epoch from '2026-07-18 12: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.401555 -3.34017)', '2026-07-18 12:58:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401509 -3.340128)'), GeomFromEWKT('SRID=4674;POINT (-38.401555 -3.34017)'))) / (select extract(epoch from '2026-07-18 12:58:20'::timestamp) - extract(epoch from '2026-07-18 12:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401509 -3.340128)'), GeomFromEWKT('SRID=4674;POINT (-38.401555 -3.34017)'))) / (select extract(epoch from '2026-07-18 12:58:20'::timestamp) - extract(epoch from '2026-07-18 12:58: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.401596 -3.34021)', '2026-07-18 12:58:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401555 -3.34017)'), GeomFromEWKT('SRID=4674;POINT (-38.401596 -3.34021)'))) / (select extract(epoch from '2026-07-18 12:58:25'::timestamp) - extract(epoch from '2026-07-18 12:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401555 -3.34017)'), GeomFromEWKT('SRID=4674;POINT (-38.401596 -3.34021)'))) / (select extract(epoch from '2026-07-18 12:58:25'::timestamp) - extract(epoch from '2026-07-18 12:58: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.401648 -3.340247)', '2026-07-18 12:58:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401596 -3.34021)'), GeomFromEWKT('SRID=4674;POINT (-38.401648 -3.340247)'))) / (select extract(epoch from '2026-07-18 12:58:30'::timestamp) - extract(epoch from '2026-07-18 12:58:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401596 -3.34021)'), GeomFromEWKT('SRID=4674;POINT (-38.401648 -3.340247)'))) / (select extract(epoch from '2026-07-18 12:58:30'::timestamp) - extract(epoch from '2026-07-18 12:58: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.401655 -3.340255)', '2026-07-18 12:58:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401648 -3.340247)'), GeomFromEWKT('SRID=4674;POINT (-38.401655 -3.340255)'))) / (select extract(epoch from '2026-07-18 12:58:31'::timestamp) - extract(epoch from '2026-07-18 12:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401648 -3.340247)'), GeomFromEWKT('SRID=4674;POINT (-38.401655 -3.340255)'))) / (select extract(epoch from '2026-07-18 12:58:31'::timestamp) - extract(epoch from '2026-07-18 12:58: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.401665 -3.340257)', '2026-07-18 12:58:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401655 -3.340255)'), GeomFromEWKT('SRID=4674;POINT (-38.401665 -3.340257)'))) / (select extract(epoch from '2026-07-18 12:58:32'::timestamp) - extract(epoch from '2026-07-18 12:58:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401655 -3.340255)'), GeomFromEWKT('SRID=4674;POINT (-38.401665 -3.340257)'))) / (select extract(epoch from '2026-07-18 12:58:32'::timestamp) - extract(epoch from '2026-07-18 12:58:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.40171 -3.340287)', '2026-07-18 12:58:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401665 -3.340257)'), GeomFromEWKT('SRID=4674;POINT (-38.40171 -3.340287)'))) / (select extract(epoch from '2026-07-18 12:58:36'::timestamp) - extract(epoch from '2026-07-18 12:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401665 -3.340257)'), GeomFromEWKT('SRID=4674;POINT (-38.40171 -3.340287)'))) / (select extract(epoch from '2026-07-18 12:58:36'::timestamp) - extract(epoch from '2026-07-18 12:58: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.401719 -3.340298)', '2026-07-18 12:58:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40171 -3.340287)'), GeomFromEWKT('SRID=4674;POINT (-38.401719 -3.340298)'))) / (select extract(epoch from '2026-07-18 12:58:37'::timestamp) - extract(epoch from '2026-07-18 12:58:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40171 -3.340287)'), GeomFromEWKT('SRID=4674;POINT (-38.401719 -3.340298)'))) / (select extract(epoch from '2026-07-18 12:58:37'::timestamp) - extract(epoch from '2026-07-18 12:58: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.401774 -3.340315)', '2026-07-18 12:58:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401719 -3.340298)'), GeomFromEWKT('SRID=4674;POINT (-38.401774 -3.340315)'))) / (select extract(epoch from '2026-07-18 12:58:40'::timestamp) - extract(epoch from '2026-07-18 12:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401719 -3.340298)'), GeomFromEWKT('SRID=4674;POINT (-38.401774 -3.340315)'))) / (select extract(epoch from '2026-07-18 12:58:40'::timestamp) - extract(epoch from '2026-07-18 12:58: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.401791 -3.340339)', '2026-07-18 12:58:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401774 -3.340315)'), GeomFromEWKT('SRID=4674;POINT (-38.401791 -3.340339)'))) / (select extract(epoch from '2026-07-18 12:58:42'::timestamp) - extract(epoch from '2026-07-18 12:58:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401774 -3.340315)'), GeomFromEWKT('SRID=4674;POINT (-38.401791 -3.340339)'))) / (select extract(epoch from '2026-07-18 12:58:42'::timestamp) - extract(epoch from '2026-07-18 12:58: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.401854 -3.34037)', '2026-07-18 12:58:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401791 -3.340339)'), GeomFromEWKT('SRID=4674;POINT (-38.401854 -3.34037)'))) / (select extract(epoch from '2026-07-18 12:58:45'::timestamp) - extract(epoch from '2026-07-18 12:58:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401791 -3.340339)'), GeomFromEWKT('SRID=4674;POINT (-38.401854 -3.34037)'))) / (select extract(epoch from '2026-07-18 12:58:45'::timestamp) - extract(epoch from '2026-07-18 12:58: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.401866 -3.340381)', '2026-07-18 12:58:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401854 -3.34037)'), GeomFromEWKT('SRID=4674;POINT (-38.401866 -3.340381)'))) / (select extract(epoch from '2026-07-18 12:58:46'::timestamp) - extract(epoch from '2026-07-18 12:58:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401854 -3.34037)'), GeomFromEWKT('SRID=4674;POINT (-38.401866 -3.340381)'))) / (select extract(epoch from '2026-07-18 12:58:46'::timestamp) - extract(epoch from '2026-07-18 12:58: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.401881 -3.340396)', '2026-07-18 12:58:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401866 -3.340381)'), GeomFromEWKT('SRID=4674;POINT (-38.401881 -3.340396)'))) / (select extract(epoch from '2026-07-18 12:58:48'::timestamp) - extract(epoch from '2026-07-18 12:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401866 -3.340381)'), GeomFromEWKT('SRID=4674;POINT (-38.401881 -3.340396)'))) / (select extract(epoch from '2026-07-18 12:58:48'::timestamp) - extract(epoch from '2026-07-18 12:58:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.401891 -3.340398)', '2026-07-18 12:58:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401881 -3.340396)'), GeomFromEWKT('SRID=4674;POINT (-38.401891 -3.340398)'))) / (select extract(epoch from '2026-07-18 12:58:49'::timestamp) - extract(epoch from '2026-07-18 12:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401881 -3.340396)'), GeomFromEWKT('SRID=4674;POINT (-38.401891 -3.340398)'))) / (select extract(epoch from '2026-07-18 12:58:49'::timestamp) - extract(epoch from '2026-07-18 12:58: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.401939 -3.340442)', '2026-07-18 12:58:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401891 -3.340398)'), GeomFromEWKT('SRID=4674;POINT (-38.401939 -3.340442)'))) / (select extract(epoch from '2026-07-18 12:58:54'::timestamp) - extract(epoch from '2026-07-18 12:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401891 -3.340398)'), GeomFromEWKT('SRID=4674;POINT (-38.401939 -3.340442)'))) / (select extract(epoch from '2026-07-18 12:58:54'::timestamp) - extract(epoch from '2026-07-18 12:58: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.401987 -3.340485)', '2026-07-18 12:58:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401939 -3.340442)'), GeomFromEWKT('SRID=4674;POINT (-38.401987 -3.340485)'))) / (select extract(epoch from '2026-07-18 12:58:59'::timestamp) - extract(epoch from '2026-07-18 12:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401939 -3.340442)'), GeomFromEWKT('SRID=4674;POINT (-38.401987 -3.340485)'))) / (select extract(epoch from '2026-07-18 12:58:59'::timestamp) - extract(epoch from '2026-07-18 12:58: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.401994 -3.340496)', '2026-07-18 12:59:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401987 -3.340485)'), GeomFromEWKT('SRID=4674;POINT (-38.401994 -3.340496)'))) / (select extract(epoch from '2026-07-18 12:59:00'::timestamp) - extract(epoch from '2026-07-18 12:58:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401987 -3.340485)'), GeomFromEWKT('SRID=4674;POINT (-38.401994 -3.340496)'))) / (select extract(epoch from '2026-07-18 12:59:00'::timestamp) - extract(epoch from '2026-07-18 12:58: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.402001 -3.340502)', '2026-07-18 12:59:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401994 -3.340496)'), GeomFromEWKT('SRID=4674;POINT (-38.402001 -3.340502)'))) / (select extract(epoch from '2026-07-18 12:59:01'::timestamp) - extract(epoch from '2026-07-18 12:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.401994 -3.340496)'), GeomFromEWKT('SRID=4674;POINT (-38.402001 -3.340502)'))) / (select extract(epoch from '2026-07-18 12:59:01'::timestamp) - extract(epoch from '2026-07-18 12:59: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.402023 -3.340513)', '2026-07-18 12:59:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402001 -3.340502)'), GeomFromEWKT('SRID=4674;POINT (-38.402023 -3.340513)'))) / (select extract(epoch from '2026-07-18 12:59:03'::timestamp) - extract(epoch from '2026-07-18 12:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402001 -3.340502)'), GeomFromEWKT('SRID=4674;POINT (-38.402023 -3.340513)'))) / (select extract(epoch from '2026-07-18 12:59:03'::timestamp) - extract(epoch from '2026-07-18 12: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.402036 -3.34053)', '2026-07-18 12:59:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402023 -3.340513)'), GeomFromEWKT('SRID=4674;POINT (-38.402036 -3.34053)'))) / (select extract(epoch from '2026-07-18 12:59:05'::timestamp) - extract(epoch from '2026-07-18 12:59:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402023 -3.340513)'), GeomFromEWKT('SRID=4674;POINT (-38.402036 -3.34053)'))) / (select extract(epoch from '2026-07-18 12:59:05'::timestamp) - extract(epoch from '2026-07-18 12:59: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.402043 -3.340537)', '2026-07-18 12:59:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402036 -3.34053)'), GeomFromEWKT('SRID=4674;POINT (-38.402043 -3.340537)'))) / (select extract(epoch from '2026-07-18 12:59:06'::timestamp) - extract(epoch from '2026-07-18 12:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402036 -3.34053)'), GeomFromEWKT('SRID=4674;POINT (-38.402043 -3.340537)'))) / (select extract(epoch from '2026-07-18 12:59:06'::timestamp) - extract(epoch from '2026-07-18 12:59: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.402071 -3.34055)', '2026-07-18 12:59:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402043 -3.340537)'), GeomFromEWKT('SRID=4674;POINT (-38.402071 -3.34055)'))) / (select extract(epoch from '2026-07-18 12:59:09'::timestamp) - extract(epoch from '2026-07-18 12:59:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402043 -3.340537)'), GeomFromEWKT('SRID=4674;POINT (-38.402071 -3.34055)'))) / (select extract(epoch from '2026-07-18 12:59:09'::timestamp) - extract(epoch from '2026-07-18 12: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.402145 -3.340598)', '2026-07-18 12:59:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402071 -3.34055)'), GeomFromEWKT('SRID=4674;POINT (-38.402145 -3.340598)'))) / (select extract(epoch from '2026-07-18 12:59:16'::timestamp) - extract(epoch from '2026-07-18 12:59:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402071 -3.34055)'), GeomFromEWKT('SRID=4674;POINT (-38.402145 -3.340598)'))) / (select extract(epoch from '2026-07-18 12:59:16'::timestamp) - extract(epoch from '2026-07-18 12:59: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.402168 -3.340609)', '2026-07-18 12:59:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402145 -3.340598)'), GeomFromEWKT('SRID=4674;POINT (-38.402168 -3.340609)'))) / (select extract(epoch from '2026-07-18 12:59:18'::timestamp) - extract(epoch from '2026-07-18 12:59:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402145 -3.340598)'), GeomFromEWKT('SRID=4674;POINT (-38.402168 -3.340609)'))) / (select extract(epoch from '2026-07-18 12:59:18'::timestamp) - extract(epoch from '2026-07-18 12:59: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.402203 -3.340632)', '2026-07-18 12:59:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402168 -3.340609)'), GeomFromEWKT('SRID=4674;POINT (-38.402203 -3.340632)'))) / (select extract(epoch from '2026-07-18 12:59:21'::timestamp) - extract(epoch from '2026-07-18 12:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402168 -3.340609)'), GeomFromEWKT('SRID=4674;POINT (-38.402203 -3.340632)'))) / (select extract(epoch from '2026-07-18 12:59:21'::timestamp) - extract(epoch from '2026-07-18 12:59:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.402234 -3.340643)', '2026-07-18 12:59:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402203 -3.340632)'), GeomFromEWKT('SRID=4674;POINT (-38.402234 -3.340643)'))) / (select extract(epoch from '2026-07-18 12:59:23'::timestamp) - extract(epoch from '2026-07-18 12:59:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402203 -3.340632)'), GeomFromEWKT('SRID=4674;POINT (-38.402234 -3.340643)'))) / (select extract(epoch from '2026-07-18 12:59:23'::timestamp) - extract(epoch from '2026-07-18 12:59: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.402271 -3.340659)', '2026-07-18 12:59:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402234 -3.340643)'), GeomFromEWKT('SRID=4674;POINT (-38.402271 -3.340659)'))) / (select extract(epoch from '2026-07-18 12:59:26'::timestamp) - extract(epoch from '2026-07-18 12:59:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402234 -3.340643)'), GeomFromEWKT('SRID=4674;POINT (-38.402271 -3.340659)'))) / (select extract(epoch from '2026-07-18 12:59:26'::timestamp) - extract(epoch from '2026-07-18 12:59:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.402366 -3.340708)', '2026-07-18 12:59:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402271 -3.340659)'), GeomFromEWKT('SRID=4674;POINT (-38.402366 -3.340708)'))) / (select extract(epoch from '2026-07-18 12:59:33'::timestamp) - extract(epoch from '2026-07-18 12:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402271 -3.340659)'), GeomFromEWKT('SRID=4674;POINT (-38.402366 -3.340708)'))) / (select extract(epoch from '2026-07-18 12:59:33'::timestamp) - extract(epoch from '2026-07-18 12:59: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.402375 -3.340721)', '2026-07-18 12:59:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402366 -3.340708)'), GeomFromEWKT('SRID=4674;POINT (-38.402375 -3.340721)'))) / (select extract(epoch from '2026-07-18 12:59:34'::timestamp) - extract(epoch from '2026-07-18 12:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402366 -3.340708)'), GeomFromEWKT('SRID=4674;POINT (-38.402375 -3.340721)'))) / (select extract(epoch from '2026-07-18 12:59:34'::timestamp) - extract(epoch from '2026-07-18 12:59: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.402398 -3.340741)', '2026-07-18 12:59:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402375 -3.340721)'), GeomFromEWKT('SRID=4674;POINT (-38.402398 -3.340741)'))) / (select extract(epoch from '2026-07-18 12:59:36'::timestamp) - extract(epoch from '2026-07-18 12:59:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402375 -3.340721)'), GeomFromEWKT('SRID=4674;POINT (-38.402398 -3.340741)'))) / (select extract(epoch from '2026-07-18 12:59:36'::timestamp) - extract(epoch from '2026-07-18 12: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.40242 -3.34075)', '2026-07-18 12:59:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402398 -3.340741)'), GeomFromEWKT('SRID=4674;POINT (-38.40242 -3.34075)'))) / (select extract(epoch from '2026-07-18 12:59:37'::timestamp) - extract(epoch from '2026-07-18 12:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402398 -3.340741)'), GeomFromEWKT('SRID=4674;POINT (-38.40242 -3.34075)'))) / (select extract(epoch from '2026-07-18 12:59:37'::timestamp) - extract(epoch from '2026-07-18 12:59: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.402442 -3.340761)', '2026-07-18 12:59:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40242 -3.34075)'), GeomFromEWKT('SRID=4674;POINT (-38.402442 -3.340761)'))) / (select extract(epoch from '2026-07-18 12:59:38'::timestamp) - extract(epoch from '2026-07-18 12:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40242 -3.34075)'), GeomFromEWKT('SRID=4674;POINT (-38.402442 -3.340761)'))) / (select extract(epoch from '2026-07-18 12:59:38'::timestamp) - extract(epoch from '2026-07-18 12: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.402456 -3.340788)', '2026-07-18 12:59:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402442 -3.340761)'), GeomFromEWKT('SRID=4674;POINT (-38.402456 -3.340788)'))) / (select extract(epoch from '2026-07-18 12:59:40'::timestamp) - extract(epoch from '2026-07-18 12:59:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402442 -3.340761)'), GeomFromEWKT('SRID=4674;POINT (-38.402456 -3.340788)'))) / (select extract(epoch from '2026-07-18 12:59:40'::timestamp) - extract(epoch from '2026-07-18 12:59: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.402461 -3.340796)', '2026-07-18 12:59:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402456 -3.340788)'), GeomFromEWKT('SRID=4674;POINT (-38.402461 -3.340796)'))) / (select extract(epoch from '2026-07-18 12:59:41'::timestamp) - extract(epoch from '2026-07-18 12:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402456 -3.340788)'), GeomFromEWKT('SRID=4674;POINT (-38.402461 -3.340796)'))) / (select extract(epoch from '2026-07-18 12:59:41'::timestamp) - extract(epoch from '2026-07-18 12: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.402504 -3.340835)', '2026-07-18 12:59:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402461 -3.340796)'), GeomFromEWKT('SRID=4674;POINT (-38.402504 -3.340835)'))) / (select extract(epoch from '2026-07-18 12:59:45'::timestamp) - extract(epoch from '2026-07-18 12:59:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402461 -3.340796)'), GeomFromEWKT('SRID=4674;POINT (-38.402504 -3.340835)'))) / (select extract(epoch from '2026-07-18 12:59:45'::timestamp) - extract(epoch from '2026-07-18 12:59: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.402534 -3.34087)', '2026-07-18 12:59:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402504 -3.340835)'), GeomFromEWKT('SRID=4674;POINT (-38.402534 -3.34087)'))) / (select extract(epoch from '2026-07-18 12:59:49'::timestamp) - extract(epoch from '2026-07-18 12:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402504 -3.340835)'), GeomFromEWKT('SRID=4674;POINT (-38.402534 -3.34087)'))) / (select extract(epoch from '2026-07-18 12:59:49'::timestamp) - extract(epoch from '2026-07-18 12:59:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.402549 -3.34088)', '2026-07-18 12:59:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402534 -3.34087)'), GeomFromEWKT('SRID=4674;POINT (-38.402549 -3.34088)'))) / (select extract(epoch from '2026-07-18 12:59:50'::timestamp) - extract(epoch from '2026-07-18 12:59:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402534 -3.34087)'), GeomFromEWKT('SRID=4674;POINT (-38.402549 -3.34088)'))) / (select extract(epoch from '2026-07-18 12:59:50'::timestamp) - extract(epoch from '2026-07-18 12:59: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.402595 -3.340929)', '2026-07-18 12:59:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402549 -3.34088)'), GeomFromEWKT('SRID=4674;POINT (-38.402595 -3.340929)'))) / (select extract(epoch from '2026-07-18 12:59:55'::timestamp) - extract(epoch from '2026-07-18 12:59:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402549 -3.34088)'), GeomFromEWKT('SRID=4674;POINT (-38.402595 -3.340929)'))) / (select extract(epoch from '2026-07-18 12:59:55'::timestamp) - extract(epoch from '2026-07-18 12:59: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.402641 -3.340972)', '2026-07-18 12:59:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402595 -3.340929)'), GeomFromEWKT('SRID=4674;POINT (-38.402641 -3.340972)'))) / (select extract(epoch from '2026-07-18 12:59:59'::timestamp) - extract(epoch from '2026-07-18 12:59:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402595 -3.340929)'), GeomFromEWKT('SRID=4674;POINT (-38.402641 -3.340972)'))) / (select extract(epoch from '2026-07-18 12:59:59'::timestamp) - extract(epoch from '2026-07-18 12:59: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.402648 -3.340983)', '2026-07-18 13:00:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402641 -3.340972)'), GeomFromEWKT('SRID=4674;POINT (-38.402648 -3.340983)'))) / (select extract(epoch from '2026-07-18 13:00:00'::timestamp) - extract(epoch from '2026-07-18 12:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402641 -3.340972)'), GeomFromEWKT('SRID=4674;POINT (-38.402648 -3.340983)'))) / (select extract(epoch from '2026-07-18 13:00:00'::timestamp) - extract(epoch from '2026-07-18 12:59: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.402707 -3.341041)', '2026-07-18 13:00:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402648 -3.340983)'), GeomFromEWKT('SRID=4674;POINT (-38.402707 -3.341041)'))) / (select extract(epoch from '2026-07-18 13:00:06'::timestamp) - extract(epoch from '2026-07-18 13:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402648 -3.340983)'), GeomFromEWKT('SRID=4674;POINT (-38.402707 -3.341041)'))) / (select extract(epoch from '2026-07-18 13:00:06'::timestamp) - extract(epoch from '2026-07-18 13: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.402767 -3.341087)', '2026-07-18 13:00:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402707 -3.341041)'), GeomFromEWKT('SRID=4674;POINT (-38.402767 -3.341087)'))) / (select extract(epoch from '2026-07-18 13:00:11'::timestamp) - extract(epoch from '2026-07-18 13:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402707 -3.341041)'), GeomFromEWKT('SRID=4674;POINT (-38.402767 -3.341087)'))) / (select extract(epoch from '2026-07-18 13:00:11'::timestamp) - extract(epoch from '2026-07-18 13:00: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.402816 -3.341126)', '2026-07-18 13:00:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402767 -3.341087)'), GeomFromEWKT('SRID=4674;POINT (-38.402816 -3.341126)'))) / (select extract(epoch from '2026-07-18 13:00:16'::timestamp) - extract(epoch from '2026-07-18 13:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402767 -3.341087)'), GeomFromEWKT('SRID=4674;POINT (-38.402816 -3.341126)'))) / (select extract(epoch from '2026-07-18 13:00:16'::timestamp) - extract(epoch from '2026-07-18 13:00: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.402842 -3.341135)', '2026-07-18 13:00:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402816 -3.341126)'), GeomFromEWKT('SRID=4674;POINT (-38.402842 -3.341135)'))) / (select extract(epoch from '2026-07-18 13:00:19'::timestamp) - extract(epoch from '2026-07-18 13:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402816 -3.341126)'), GeomFromEWKT('SRID=4674;POINT (-38.402842 -3.341135)'))) / (select extract(epoch from '2026-07-18 13:00:19'::timestamp) - extract(epoch from '2026-07-18 13:00: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.402864 -3.341145)', '2026-07-18 13:00:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402842 -3.341135)'), GeomFromEWKT('SRID=4674;POINT (-38.402864 -3.341145)'))) / (select extract(epoch from '2026-07-18 13:00:21'::timestamp) - extract(epoch from '2026-07-18 13:00:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402842 -3.341135)'), GeomFromEWKT('SRID=4674;POINT (-38.402864 -3.341145)'))) / (select extract(epoch from '2026-07-18 13:00:21'::timestamp) - extract(epoch from '2026-07-18 13:00: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.402911 -3.341176)', '2026-07-18 13:00:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402864 -3.341145)'), GeomFromEWKT('SRID=4674;POINT (-38.402911 -3.341176)'))) / (select extract(epoch from '2026-07-18 13:00:26'::timestamp) - extract(epoch from '2026-07-18 13:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402864 -3.341145)'), GeomFromEWKT('SRID=4674;POINT (-38.402911 -3.341176)'))) / (select extract(epoch from '2026-07-18 13:00:26'::timestamp) - extract(epoch from '2026-07-18 13:00:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.402927 -3.341183)', '2026-07-18 13:00:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402911 -3.341176)'), GeomFromEWKT('SRID=4674;POINT (-38.402927 -3.341183)'))) / (select extract(epoch from '2026-07-18 13:00:27'::timestamp) - extract(epoch from '2026-07-18 13:00:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402911 -3.341176)'), GeomFromEWKT('SRID=4674;POINT (-38.402927 -3.341183)'))) / (select extract(epoch from '2026-07-18 13:00:27'::timestamp) - extract(epoch from '2026-07-18 13: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.402955 -3.341212)', '2026-07-18 13:00:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402927 -3.341183)'), GeomFromEWKT('SRID=4674;POINT (-38.402955 -3.341212)'))) / (select extract(epoch from '2026-07-18 13:00:30'::timestamp) - extract(epoch from '2026-07-18 13:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402927 -3.341183)'), GeomFromEWKT('SRID=4674;POINT (-38.402955 -3.341212)'))) / (select extract(epoch from '2026-07-18 13:00:30'::timestamp) - extract(epoch from '2026-07-18 13:00: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.40298 -3.341227)', '2026-07-18 13:00:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402955 -3.341212)'), GeomFromEWKT('SRID=4674;POINT (-38.40298 -3.341227)'))) / (select extract(epoch from '2026-07-18 13:00:32'::timestamp) - extract(epoch from '2026-07-18 13:00:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.402955 -3.341212)'), GeomFromEWKT('SRID=4674;POINT (-38.40298 -3.341227)'))) / (select extract(epoch from '2026-07-18 13:00:32'::timestamp) - extract(epoch from '2026-07-18 13:00: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.403006 -3.34126)', '2026-07-18 13:00:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40298 -3.341227)'), GeomFromEWKT('SRID=4674;POINT (-38.403006 -3.34126)'))) / (select extract(epoch from '2026-07-18 13:00:35'::timestamp) - extract(epoch from '2026-07-18 13:00:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40298 -3.341227)'), GeomFromEWKT('SRID=4674;POINT (-38.403006 -3.34126)'))) / (select extract(epoch from '2026-07-18 13:00:35'::timestamp) - extract(epoch from '2026-07-18 13: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.403037 -3.341288)', '2026-07-18 13:00:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403006 -3.34126)'), GeomFromEWKT('SRID=4674;POINT (-38.403037 -3.341288)'))) / (select extract(epoch from '2026-07-18 13:00:38'::timestamp) - extract(epoch from '2026-07-18 13:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403006 -3.34126)'), GeomFromEWKT('SRID=4674;POINT (-38.403037 -3.341288)'))) / (select extract(epoch from '2026-07-18 13:00:38'::timestamp) - extract(epoch from '2026-07-18 13:00: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.403054 -3.34131)', '2026-07-18 13:00:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403037 -3.341288)'), GeomFromEWKT('SRID=4674;POINT (-38.403054 -3.34131)'))) / (select extract(epoch from '2026-07-18 13:00:40'::timestamp) - extract(epoch from '2026-07-18 13:00:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403037 -3.341288)'), GeomFromEWKT('SRID=4674;POINT (-38.403054 -3.34131)'))) / (select extract(epoch from '2026-07-18 13:00:40'::timestamp) - extract(epoch from '2026-07-18 13: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.403068 -3.341315)', '2026-07-18 13:00:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403054 -3.34131)'), GeomFromEWKT('SRID=4674;POINT (-38.403068 -3.341315)'))) / (select extract(epoch from '2026-07-18 13:00:41'::timestamp) - extract(epoch from '2026-07-18 13:00:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403054 -3.34131)'), GeomFromEWKT('SRID=4674;POINT (-38.403068 -3.341315)'))) / (select extract(epoch from '2026-07-18 13:00:41'::timestamp) - extract(epoch from '2026-07-18 13:00: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.403098 -3.341332)', '2026-07-18 13:00:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403068 -3.341315)'), GeomFromEWKT('SRID=4674;POINT (-38.403098 -3.341332)'))) / (select extract(epoch from '2026-07-18 13:00:43'::timestamp) - extract(epoch from '2026-07-18 13:00:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403068 -3.341315)'), GeomFromEWKT('SRID=4674;POINT (-38.403098 -3.341332)'))) / (select extract(epoch from '2026-07-18 13:00:43'::timestamp) - extract(epoch from '2026-07-18 13:00: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.403111 -3.341357)', '2026-07-18 13:00:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403098 -3.341332)'), GeomFromEWKT('SRID=4674;POINT (-38.403111 -3.341357)'))) / (select extract(epoch from '2026-07-18 13:00:45'::timestamp) - extract(epoch from '2026-07-18 13:00:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403098 -3.341332)'), GeomFromEWKT('SRID=4674;POINT (-38.403111 -3.341357)'))) / (select extract(epoch from '2026-07-18 13:00:45'::timestamp) - extract(epoch from '2026-07-18 13:00: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.403119 -3.341367)', '2026-07-18 13:00:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403111 -3.341357)'), GeomFromEWKT('SRID=4674;POINT (-38.403119 -3.341367)'))) / (select extract(epoch from '2026-07-18 13:00:46'::timestamp) - extract(epoch from '2026-07-18 13:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403111 -3.341357)'), GeomFromEWKT('SRID=4674;POINT (-38.403119 -3.341367)'))) / (select extract(epoch from '2026-07-18 13:00:46'::timestamp) - extract(epoch from '2026-07-18 13:00:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.403146 -3.341387)', '2026-07-18 13:00:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403119 -3.341367)'), GeomFromEWKT('SRID=4674;POINT (-38.403146 -3.341387)'))) / (select extract(epoch from '2026-07-18 13:00:48'::timestamp) - extract(epoch from '2026-07-18 13:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403119 -3.341367)'), GeomFromEWKT('SRID=4674;POINT (-38.403146 -3.341387)'))) / (select extract(epoch from '2026-07-18 13:00:48'::timestamp) - extract(epoch from '2026-07-18 13:00: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.403155 -3.341398)', '2026-07-18 13:00:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403146 -3.341387)'), GeomFromEWKT('SRID=4674;POINT (-38.403155 -3.341398)'))) / (select extract(epoch from '2026-07-18 13:00:49'::timestamp) - extract(epoch from '2026-07-18 13:00:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403146 -3.341387)'), GeomFromEWKT('SRID=4674;POINT (-38.403155 -3.341398)'))) / (select extract(epoch from '2026-07-18 13:00:49'::timestamp) - extract(epoch from '2026-07-18 13:00: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.403174 -3.341424)', '2026-07-18 13:00:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403155 -3.341398)'), GeomFromEWKT('SRID=4674;POINT (-38.403174 -3.341424)'))) / (select extract(epoch from '2026-07-18 13:00:52'::timestamp) - extract(epoch from '2026-07-18 13:00:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403155 -3.341398)'), GeomFromEWKT('SRID=4674;POINT (-38.403174 -3.341424)'))) / (select extract(epoch from '2026-07-18 13:00:52'::timestamp) - extract(epoch from '2026-07-18 13:00: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.403209 -3.341448)', '2026-07-18 13:00:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403174 -3.341424)'), GeomFromEWKT('SRID=4674;POINT (-38.403209 -3.341448)'))) / (select extract(epoch from '2026-07-18 13:00:55'::timestamp) - extract(epoch from '2026-07-18 13:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403174 -3.341424)'), GeomFromEWKT('SRID=4674;POINT (-38.403209 -3.341448)'))) / (select extract(epoch from '2026-07-18 13:00:55'::timestamp) - extract(epoch from '2026-07-18 13:00: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.403233 -3.34147)', '2026-07-18 13:00:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403209 -3.341448)'), GeomFromEWKT('SRID=4674;POINT (-38.403233 -3.34147)'))) / (select extract(epoch from '2026-07-18 13:00:58'::timestamp) - extract(epoch from '2026-07-18 13:00:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403209 -3.341448)'), GeomFromEWKT('SRID=4674;POINT (-38.403233 -3.34147)'))) / (select extract(epoch from '2026-07-18 13:00:58'::timestamp) - extract(epoch from '2026-07-18 13:00: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.403277 -3.341495)', '2026-07-18 13:01:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403233 -3.34147)'), GeomFromEWKT('SRID=4674;POINT (-38.403277 -3.341495)'))) / (select extract(epoch from '2026-07-18 13:01:01'::timestamp) - extract(epoch from '2026-07-18 13:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403233 -3.34147)'), GeomFromEWKT('SRID=4674;POINT (-38.403277 -3.341495)'))) / (select extract(epoch from '2026-07-18 13:01:01'::timestamp) - extract(epoch from '2026-07-18 13:00: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.403332 -3.341527)', '2026-07-18 13:01:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403277 -3.341495)'), GeomFromEWKT('SRID=4674;POINT (-38.403332 -3.341527)'))) / (select extract(epoch from '2026-07-18 13:01:05'::timestamp) - extract(epoch from '2026-07-18 13:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403277 -3.341495)'), GeomFromEWKT('SRID=4674;POINT (-38.403332 -3.341527)'))) / (select extract(epoch from '2026-07-18 13:01:05'::timestamp) - extract(epoch from '2026-07-18 13:01: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.403394 -3.34158)', '2026-07-18 13:01:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403332 -3.341527)'), GeomFromEWKT('SRID=4674;POINT (-38.403394 -3.34158)'))) / (select extract(epoch from '2026-07-18 13:01:10'::timestamp) - extract(epoch from '2026-07-18 13:01:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403332 -3.341527)'), GeomFromEWKT('SRID=4674;POINT (-38.403394 -3.34158)'))) / (select extract(epoch from '2026-07-18 13:01:10'::timestamp) - extract(epoch from '2026-07-18 13:01: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.403406 -3.341587)', '2026-07-18 13:01:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403394 -3.34158)'), GeomFromEWKT('SRID=4674;POINT (-38.403406 -3.341587)'))) / (select extract(epoch from '2026-07-18 13:01:11'::timestamp) - extract(epoch from '2026-07-18 13:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403394 -3.34158)'), GeomFromEWKT('SRID=4674;POINT (-38.403406 -3.341587)'))) / (select extract(epoch from '2026-07-18 13:01:11'::timestamp) - extract(epoch from '2026-07-18 13:01: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.403464 -3.341623)', '2026-07-18 13:01:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403406 -3.341587)'), GeomFromEWKT('SRID=4674;POINT (-38.403464 -3.341623)'))) / (select extract(epoch from '2026-07-18 13:01:15'::timestamp) - extract(epoch from '2026-07-18 13:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403406 -3.341587)'), GeomFromEWKT('SRID=4674;POINT (-38.403464 -3.341623)'))) / (select extract(epoch from '2026-07-18 13:01:15'::timestamp) - extract(epoch from '2026-07-18 13: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.403528 -3.341687)', '2026-07-18 13:01:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403464 -3.341623)'), GeomFromEWKT('SRID=4674;POINT (-38.403528 -3.341687)'))) / (select extract(epoch from '2026-07-18 13:01:20'::timestamp) - extract(epoch from '2026-07-18 13:01:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403464 -3.341623)'), GeomFromEWKT('SRID=4674;POINT (-38.403528 -3.341687)'))) / (select extract(epoch from '2026-07-18 13:01:20'::timestamp) - extract(epoch from '2026-07-18 13:01: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.403571 -3.341745)', '2026-07-18 13:01:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403528 -3.341687)'), GeomFromEWKT('SRID=4674;POINT (-38.403571 -3.341745)'))) / (select extract(epoch from '2026-07-18 13:01:24'::timestamp) - extract(epoch from '2026-07-18 13:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403528 -3.341687)'), GeomFromEWKT('SRID=4674;POINT (-38.403571 -3.341745)'))) / (select extract(epoch from '2026-07-18 13:01:24'::timestamp) - extract(epoch from '2026-07-18 13:01: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.403642 -3.341802)', '2026-07-18 13:01:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403571 -3.341745)'), GeomFromEWKT('SRID=4674;POINT (-38.403642 -3.341802)'))) / (select extract(epoch from '2026-07-18 13:01:30'::timestamp) - extract(epoch from '2026-07-18 13:01:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403571 -3.341745)'), GeomFromEWKT('SRID=4674;POINT (-38.403642 -3.341802)'))) / (select extract(epoch from '2026-07-18 13:01:30'::timestamp) - extract(epoch from '2026-07-18 13:01: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.403686 -3.341832)', '2026-07-18 13:01:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403642 -3.341802)'), GeomFromEWKT('SRID=4674;POINT (-38.403686 -3.341832)'))) / (select extract(epoch from '2026-07-18 13:01:34'::timestamp) - extract(epoch from '2026-07-18 13:01:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403642 -3.341802)'), GeomFromEWKT('SRID=4674;POINT (-38.403686 -3.341832)'))) / (select extract(epoch from '2026-07-18 13:01:34'::timestamp) - extract(epoch from '2026-07-18 13:01: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.403697 -3.341845)', '2026-07-18 13:01:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403686 -3.341832)'), GeomFromEWKT('SRID=4674;POINT (-38.403697 -3.341845)'))) / (select extract(epoch from '2026-07-18 13:01:35'::timestamp) - extract(epoch from '2026-07-18 13:01:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403686 -3.341832)'), GeomFromEWKT('SRID=4674;POINT (-38.403697 -3.341845)'))) / (select extract(epoch from '2026-07-18 13:01:35'::timestamp) - extract(epoch from '2026-07-18 13: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.403709 -3.341854)', '2026-07-18 13:01:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403697 -3.341845)'), GeomFromEWKT('SRID=4674;POINT (-38.403709 -3.341854)'))) / (select extract(epoch from '2026-07-18 13:01:36'::timestamp) - extract(epoch from '2026-07-18 13:01:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403697 -3.341845)'), GeomFromEWKT('SRID=4674;POINT (-38.403709 -3.341854)'))) / (select extract(epoch from '2026-07-18 13:01:36'::timestamp) - extract(epoch from '2026-07-18 13:01:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.403753 -3.341899)', '2026-07-18 13:01:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403709 -3.341854)'), GeomFromEWKT('SRID=4674;POINT (-38.403753 -3.341899)'))) / (select extract(epoch from '2026-07-18 13:01:40'::timestamp) - extract(epoch from '2026-07-18 13:01:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403709 -3.341854)'), GeomFromEWKT('SRID=4674;POINT (-38.403753 -3.341899)'))) / (select extract(epoch from '2026-07-18 13:01:40'::timestamp) - extract(epoch from '2026-07-18 13:01: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.403817 -3.341953)', '2026-07-18 13:01:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403753 -3.341899)'), GeomFromEWKT('SRID=4674;POINT (-38.403817 -3.341953)'))) / (select extract(epoch from '2026-07-18 13:01:45'::timestamp) - extract(epoch from '2026-07-18 13:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403753 -3.341899)'), GeomFromEWKT('SRID=4674;POINT (-38.403817 -3.341953)'))) / (select extract(epoch from '2026-07-18 13:01:45'::timestamp) - extract(epoch from '2026-07-18 13:01: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.403873 -3.342024)', '2026-07-18 13:01:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403817 -3.341953)'), GeomFromEWKT('SRID=4674;POINT (-38.403873 -3.342024)'))) / (select extract(epoch from '2026-07-18 13:01:51'::timestamp) - extract(epoch from '2026-07-18 13:01:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403817 -3.341953)'), GeomFromEWKT('SRID=4674;POINT (-38.403873 -3.342024)'))) / (select extract(epoch from '2026-07-18 13:01:51'::timestamp) - extract(epoch from '2026-07-18 13:01: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.403911 -3.342082)', '2026-07-18 13:01:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403873 -3.342024)'), GeomFromEWKT('SRID=4674;POINT (-38.403911 -3.342082)'))) / (select extract(epoch from '2026-07-18 13:01:56'::timestamp) - extract(epoch from '2026-07-18 13:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403873 -3.342024)'), GeomFromEWKT('SRID=4674;POINT (-38.403911 -3.342082)'))) / (select extract(epoch from '2026-07-18 13:01:56'::timestamp) - extract(epoch from '2026-07-18 13:01: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.403973 -3.34214)', '2026-07-18 13:02:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403911 -3.342082)'), GeomFromEWKT('SRID=4674;POINT (-38.403973 -3.34214)'))) / (select extract(epoch from '2026-07-18 13:02:01'::timestamp) - extract(epoch from '2026-07-18 13:01:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403911 -3.342082)'), GeomFromEWKT('SRID=4674;POINT (-38.403973 -3.34214)'))) / (select extract(epoch from '2026-07-18 13:02:01'::timestamp) - extract(epoch from '2026-07-18 13: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.404024 -3.342194)', '2026-07-18 13:02:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403973 -3.34214)'), GeomFromEWKT('SRID=4674;POINT (-38.404024 -3.342194)'))) / (select extract(epoch from '2026-07-18 13:02:06'::timestamp) - extract(epoch from '2026-07-18 13:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.403973 -3.34214)'), GeomFromEWKT('SRID=4674;POINT (-38.404024 -3.342194)'))) / (select extract(epoch from '2026-07-18 13:02:06'::timestamp) - extract(epoch from '2026-07-18 13:02: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.404055 -3.342216)', '2026-07-18 13:02:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404024 -3.342194)'), GeomFromEWKT('SRID=4674;POINT (-38.404055 -3.342216)'))) / (select extract(epoch from '2026-07-18 13:02:08'::timestamp) - extract(epoch from '2026-07-18 13:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404024 -3.342194)'), GeomFromEWKT('SRID=4674;POINT (-38.404055 -3.342216)'))) / (select extract(epoch from '2026-07-18 13:02:08'::timestamp) - extract(epoch from '2026-07-18 13:02: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.404072 -3.34223)', '2026-07-18 13:02:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404055 -3.342216)'), GeomFromEWKT('SRID=4674;POINT (-38.404072 -3.34223)'))) / (select extract(epoch from '2026-07-18 13:02:10'::timestamp) - extract(epoch from '2026-07-18 13:02:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404055 -3.342216)'), GeomFromEWKT('SRID=4674;POINT (-38.404072 -3.34223)'))) / (select extract(epoch from '2026-07-18 13:02:10'::timestamp) - extract(epoch from '2026-07-18 13: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.404136 -3.342273)', '2026-07-18 13:02:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404072 -3.34223)'), GeomFromEWKT('SRID=4674;POINT (-38.404136 -3.342273)'))) / (select extract(epoch from '2026-07-18 13:02:14'::timestamp) - extract(epoch from '2026-07-18 13:02:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404072 -3.34223)'), GeomFromEWKT('SRID=4674;POINT (-38.404136 -3.342273)'))) / (select extract(epoch from '2026-07-18 13:02:14'::timestamp) - extract(epoch from '2026-07-18 13:02:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.404211 -3.342322)', '2026-07-18 13:02:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404136 -3.342273)'), GeomFromEWKT('SRID=4674;POINT (-38.404211 -3.342322)'))) / (select extract(epoch from '2026-07-18 13:02:19'::timestamp) - extract(epoch from '2026-07-18 13:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404136 -3.342273)'), GeomFromEWKT('SRID=4674;POINT (-38.404211 -3.342322)'))) / (select extract(epoch from '2026-07-18 13:02:19'::timestamp) - extract(epoch from '2026-07-18 13:02: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.404327 -3.342421)', '2026-07-18 13:02:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404211 -3.342322)'), GeomFromEWKT('SRID=4674;POINT (-38.404327 -3.342421)'))) / (select extract(epoch from '2026-07-18 13:02:28'::timestamp) - extract(epoch from '2026-07-18 13:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404211 -3.342322)'), GeomFromEWKT('SRID=4674;POINT (-38.404327 -3.342421)'))) / (select extract(epoch from '2026-07-18 13:02:28'::timestamp) - extract(epoch from '2026-07-18 13:02: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.404398 -3.342504)', '2026-07-18 13:02:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404327 -3.342421)'), GeomFromEWKT('SRID=4674;POINT (-38.404398 -3.342504)'))) / (select extract(epoch from '2026-07-18 13:02:35'::timestamp) - extract(epoch from '2026-07-18 13:02:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404327 -3.342421)'), GeomFromEWKT('SRID=4674;POINT (-38.404398 -3.342504)'))) / (select extract(epoch from '2026-07-18 13:02:35'::timestamp) - extract(epoch from '2026-07-18 13:02: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.404504 -3.342612)', '2026-07-18 13:02:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404398 -3.342504)'), GeomFromEWKT('SRID=4674;POINT (-38.404504 -3.342612)'))) / (select extract(epoch from '2026-07-18 13:02:43'::timestamp) - extract(epoch from '2026-07-18 13:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404398 -3.342504)'), GeomFromEWKT('SRID=4674;POINT (-38.404504 -3.342612)'))) / (select extract(epoch from '2026-07-18 13:02:43'::timestamp) - extract(epoch from '2026-07-18 13:02: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.404565 -3.342671)', '2026-07-18 13:02:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404504 -3.342612)'), GeomFromEWKT('SRID=4674;POINT (-38.404565 -3.342671)'))) / (select extract(epoch from '2026-07-18 13:02:48'::timestamp) - extract(epoch from '2026-07-18 13:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404504 -3.342612)'), GeomFromEWKT('SRID=4674;POINT (-38.404565 -3.342671)'))) / (select extract(epoch from '2026-07-18 13:02:48'::timestamp) - extract(epoch from '2026-07-18 13:02: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.404626 -3.34274)', '2026-07-18 13:02:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404565 -3.342671)'), GeomFromEWKT('SRID=4674;POINT (-38.404626 -3.34274)'))) / (select extract(epoch from '2026-07-18 13:02:53'::timestamp) - extract(epoch from '2026-07-18 13:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404565 -3.342671)'), GeomFromEWKT('SRID=4674;POINT (-38.404626 -3.34274)'))) / (select extract(epoch from '2026-07-18 13:02:53'::timestamp) - extract(epoch from '2026-07-18 13: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.404685 -3.342822)', '2026-07-18 13:02:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404626 -3.34274)'), GeomFromEWKT('SRID=4674;POINT (-38.404685 -3.342822)'))) / (select extract(epoch from '2026-07-18 13:02:59'::timestamp) - extract(epoch from '2026-07-18 13:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404626 -3.34274)'), GeomFromEWKT('SRID=4674;POINT (-38.404685 -3.342822)'))) / (select extract(epoch from '2026-07-18 13:02:59'::timestamp) - extract(epoch from '2026-07-18 13: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.404748 -3.34287)', '2026-07-18 13:03:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404685 -3.342822)'), GeomFromEWKT('SRID=4674;POINT (-38.404748 -3.34287)'))) / (select extract(epoch from '2026-07-18 13:03:05'::timestamp) - extract(epoch from '2026-07-18 13:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404685 -3.342822)'), GeomFromEWKT('SRID=4674;POINT (-38.404748 -3.34287)'))) / (select extract(epoch from '2026-07-18 13:03:05'::timestamp) - extract(epoch from '2026-07-18 13:02: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.404821 -3.342922)', '2026-07-18 13:03:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404748 -3.34287)'), GeomFromEWKT('SRID=4674;POINT (-38.404821 -3.342922)'))) / (select extract(epoch from '2026-07-18 13:03:11'::timestamp) - extract(epoch from '2026-07-18 13:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404748 -3.34287)'), GeomFromEWKT('SRID=4674;POINT (-38.404821 -3.342922)'))) / (select extract(epoch from '2026-07-18 13:03:11'::timestamp) - extract(epoch from '2026-07-18 13:03: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.40483 -3.342936)', '2026-07-18 13:03:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404821 -3.342922)'), GeomFromEWKT('SRID=4674;POINT (-38.40483 -3.342936)'))) / (select extract(epoch from '2026-07-18 13:03:12'::timestamp) - extract(epoch from '2026-07-18 13:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404821 -3.342922)'), GeomFromEWKT('SRID=4674;POINT (-38.40483 -3.342936)'))) / (select extract(epoch from '2026-07-18 13:03:12'::timestamp) - extract(epoch from '2026-07-18 13: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.40484 -3.342949)', '2026-07-18 13:03:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40483 -3.342936)'), GeomFromEWKT('SRID=4674;POINT (-38.40484 -3.342949)'))) / (select extract(epoch from '2026-07-18 13:03:13'::timestamp) - extract(epoch from '2026-07-18 13:03:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40483 -3.342936)'), GeomFromEWKT('SRID=4674;POINT (-38.40484 -3.342949)'))) / (select extract(epoch from '2026-07-18 13:03:13'::timestamp) - extract(epoch from '2026-07-18 13:03: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.404893 -3.342974)', '2026-07-18 13:03:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40484 -3.342949)'), GeomFromEWKT('SRID=4674;POINT (-38.404893 -3.342974)'))) / (select extract(epoch from '2026-07-18 13:03:16'::timestamp) - extract(epoch from '2026-07-18 13:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40484 -3.342949)'), GeomFromEWKT('SRID=4674;POINT (-38.404893 -3.342974)'))) / (select extract(epoch from '2026-07-18 13:03:16'::timestamp) - extract(epoch from '2026-07-18 13:03: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.404944 -3.343049)', '2026-07-18 13:03:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404893 -3.342974)'), GeomFromEWKT('SRID=4674;POINT (-38.404944 -3.343049)'))) / (select extract(epoch from '2026-07-18 13:03:21'::timestamp) - extract(epoch from '2026-07-18 13:03:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404893 -3.342974)'), GeomFromEWKT('SRID=4674;POINT (-38.404944 -3.343049)'))) / (select extract(epoch from '2026-07-18 13:03:21'::timestamp) - extract(epoch from '2026-07-18 13:03: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.405015 -3.343125)', '2026-07-18 13:03:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404944 -3.343049)'), GeomFromEWKT('SRID=4674;POINT (-38.405015 -3.343125)'))) / (select extract(epoch from '2026-07-18 13:03:27'::timestamp) - extract(epoch from '2026-07-18 13:03:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.404944 -3.343049)'), GeomFromEWKT('SRID=4674;POINT (-38.405015 -3.343125)'))) / (select extract(epoch from '2026-07-18 13:03:27'::timestamp) - extract(epoch from '2026-07-18 13:03: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.405027 -3.343138)', '2026-07-18 13:03:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405015 -3.343125)'), GeomFromEWKT('SRID=4674;POINT (-38.405027 -3.343138)'))) / (select extract(epoch from '2026-07-18 13:03:28'::timestamp) - extract(epoch from '2026-07-18 13:03:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405015 -3.343125)'), GeomFromEWKT('SRID=4674;POINT (-38.405027 -3.343138)'))) / (select extract(epoch from '2026-07-18 13:03:28'::timestamp) - extract(epoch from '2026-07-18 13: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.40508 -3.343185)', '2026-07-18 13:03:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405027 -3.343138)'), GeomFromEWKT('SRID=4674;POINT (-38.40508 -3.343185)'))) / (select extract(epoch from '2026-07-18 13:03:32'::timestamp) - extract(epoch from '2026-07-18 13:03:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405027 -3.343138)'), GeomFromEWKT('SRID=4674;POINT (-38.40508 -3.343185)'))) / (select extract(epoch from '2026-07-18 13:03:32'::timestamp) - extract(epoch from '2026-07-18 13: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.405092 -3.343203)', '2026-07-18 13:03:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40508 -3.343185)'), GeomFromEWKT('SRID=4674;POINT (-38.405092 -3.343203)'))) / (select extract(epoch from '2026-07-18 13:03:33'::timestamp) - extract(epoch from '2026-07-18 13:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40508 -3.343185)'), GeomFromEWKT('SRID=4674;POINT (-38.405092 -3.343203)'))) / (select extract(epoch from '2026-07-18 13:03:33'::timestamp) - extract(epoch from '2026-07-18 13: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.405109 -3.343239)', '2026-07-18 13:03:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405092 -3.343203)'), GeomFromEWKT('SRID=4674;POINT (-38.405109 -3.343239)'))) / (select extract(epoch from '2026-07-18 13:03:36'::timestamp) - extract(epoch from '2026-07-18 13:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405092 -3.343203)'), GeomFromEWKT('SRID=4674;POINT (-38.405109 -3.343239)'))) / (select extract(epoch from '2026-07-18 13:03:36'::timestamp) - extract(epoch from '2026-07-18 13:03:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.405176 -3.343295)', '2026-07-18 13:03:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405109 -3.343239)'), GeomFromEWKT('SRID=4674;POINT (-38.405176 -3.343295)'))) / (select extract(epoch from '2026-07-18 13:03:41'::timestamp) - extract(epoch from '2026-07-18 13:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405109 -3.343239)'), GeomFromEWKT('SRID=4674;POINT (-38.405176 -3.343295)'))) / (select extract(epoch from '2026-07-18 13:03:41'::timestamp) - extract(epoch from '2026-07-18 13:03: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.405238 -3.343343)', '2026-07-18 13:03:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405176 -3.343295)'), GeomFromEWKT('SRID=4674;POINT (-38.405238 -3.343343)'))) / (select extract(epoch from '2026-07-18 13:03:45'::timestamp) - extract(epoch from '2026-07-18 13:03:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405176 -3.343295)'), GeomFromEWKT('SRID=4674;POINT (-38.405238 -3.343343)'))) / (select extract(epoch from '2026-07-18 13:03:45'::timestamp) - extract(epoch from '2026-07-18 13:03: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.405262 -3.343365)', '2026-07-18 13:03:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405238 -3.343343)'), GeomFromEWKT('SRID=4674;POINT (-38.405262 -3.343365)'))) / (select extract(epoch from '2026-07-18 13:03:47'::timestamp) - extract(epoch from '2026-07-18 13:03:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405238 -3.343343)'), GeomFromEWKT('SRID=4674;POINT (-38.405262 -3.343365)'))) / (select extract(epoch from '2026-07-18 13:03:47'::timestamp) - extract(epoch from '2026-07-18 13:03: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.405296 -3.343396)', '2026-07-18 13:03:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405262 -3.343365)'), GeomFromEWKT('SRID=4674;POINT (-38.405296 -3.343396)'))) / (select extract(epoch from '2026-07-18 13:03:50'::timestamp) - extract(epoch from '2026-07-18 13:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405262 -3.343365)'), GeomFromEWKT('SRID=4674;POINT (-38.405296 -3.343396)'))) / (select extract(epoch from '2026-07-18 13:03:50'::timestamp) - extract(epoch from '2026-07-18 13:03: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.405314 -3.343408)', '2026-07-18 13:03:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405296 -3.343396)'), GeomFromEWKT('SRID=4674;POINT (-38.405314 -3.343408)'))) / (select extract(epoch from '2026-07-18 13:03:51'::timestamp) - extract(epoch from '2026-07-18 13:03:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405296 -3.343396)'), GeomFromEWKT('SRID=4674;POINT (-38.405314 -3.343408)'))) / (select extract(epoch from '2026-07-18 13:03:51'::timestamp) - extract(epoch from '2026-07-18 13:03: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.40538 -3.343463)', '2026-07-18 13:03:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405314 -3.343408)'), GeomFromEWKT('SRID=4674;POINT (-38.40538 -3.343463)'))) / (select extract(epoch from '2026-07-18 13:03:55'::timestamp) - extract(epoch from '2026-07-18 13:03:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405314 -3.343408)'), GeomFromEWKT('SRID=4674;POINT (-38.40538 -3.343463)'))) / (select extract(epoch from '2026-07-18 13:03:55'::timestamp) - extract(epoch from '2026-07-18 13: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.405387 -3.343477)', '2026-07-18 13:03:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40538 -3.343463)'), GeomFromEWKT('SRID=4674;POINT (-38.405387 -3.343477)'))) / (select extract(epoch from '2026-07-18 13:03:56'::timestamp) - extract(epoch from '2026-07-18 13:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40538 -3.343463)'), GeomFromEWKT('SRID=4674;POINT (-38.405387 -3.343477)'))) / (select extract(epoch from '2026-07-18 13:03:56'::timestamp) - extract(epoch from '2026-07-18 13:03:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.4054 -3.343485)', '2026-07-18 13:03:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405387 -3.343477)'), GeomFromEWKT('SRID=4674;POINT (-38.4054 -3.343485)'))) / (select extract(epoch from '2026-07-18 13:03:57'::timestamp) - extract(epoch from '2026-07-18 13:03:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405387 -3.343477)'), GeomFromEWKT('SRID=4674;POINT (-38.4054 -3.343485)'))) / (select extract(epoch from '2026-07-18 13:03:57'::timestamp) - extract(epoch from '2026-07-18 13: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.405464 -3.343519)', '2026-07-18 13:04:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4054 -3.343485)'), GeomFromEWKT('SRID=4674;POINT (-38.405464 -3.343519)'))) / (select extract(epoch from '2026-07-18 13:04:00'::timestamp) - extract(epoch from '2026-07-18 13:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4054 -3.343485)'), GeomFromEWKT('SRID=4674;POINT (-38.405464 -3.343519)'))) / (select extract(epoch from '2026-07-18 13:04:00'::timestamp) - extract(epoch from '2026-07-18 13:03: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.405475 -3.343533)', '2026-07-18 13:04:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405464 -3.343519)'), GeomFromEWKT('SRID=4674;POINT (-38.405475 -3.343533)'))) / (select extract(epoch from '2026-07-18 13:04:01'::timestamp) - extract(epoch from '2026-07-18 13:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405464 -3.343519)'), GeomFromEWKT('SRID=4674;POINT (-38.405475 -3.343533)'))) / (select extract(epoch from '2026-07-18 13:04:01'::timestamp) - extract(epoch from '2026-07-18 13:04: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.405485 -3.34356)', '2026-07-18 13:04:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405475 -3.343533)'), GeomFromEWKT('SRID=4674;POINT (-38.405485 -3.34356)'))) / (select extract(epoch from '2026-07-18 13:04:03'::timestamp) - extract(epoch from '2026-07-18 13:04:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405475 -3.343533)'), GeomFromEWKT('SRID=4674;POINT (-38.405485 -3.34356)'))) / (select extract(epoch from '2026-07-18 13:04:03'::timestamp) - extract(epoch from '2026-07-18 13:04: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.405498 -3.343574)', '2026-07-18 13:04:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405485 -3.34356)'), GeomFromEWKT('SRID=4674;POINT (-38.405498 -3.343574)'))) / (select extract(epoch from '2026-07-18 13:04:04'::timestamp) - extract(epoch from '2026-07-18 13:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405485 -3.34356)'), GeomFromEWKT('SRID=4674;POINT (-38.405498 -3.343574)'))) / (select extract(epoch from '2026-07-18 13:04:04'::timestamp) - extract(epoch from '2026-07-18 13:04:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
