 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.01916 -3.356228)', '2026-08-10 17:37:33', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019135 -3.356247)'), GeomFromEWKT('SRID=4674;POINT (-39.01916 -3.356228)'))) / (select extract(epoch from '2026-08-10 17:37:33'::timestamp) - extract(epoch from '2026-08-10 17:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019135 -3.356247)'), GeomFromEWKT('SRID=4674;POINT (-39.01916 -3.356228)'))) / (select extract(epoch from '2026-08-10 17:37:33'::timestamp) - extract(epoch from '2026-08-10 17:37: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'), 48138, 'SRID=4674;POINT (-39.019207 -3.356206)', '2026-08-10 17:37:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01916 -3.356228)'), GeomFromEWKT('SRID=4674;POINT (-39.019207 -3.356206)'))) / (select extract(epoch from '2026-08-10 17:37:41'::timestamp) - extract(epoch from '2026-08-10 17:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01916 -3.356228)'), GeomFromEWKT('SRID=4674;POINT (-39.019207 -3.356206)'))) / (select extract(epoch from '2026-08-10 17:37:41'::timestamp) - extract(epoch from '2026-08-10 17:37: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'), 48138, 'SRID=4674;POINT (-39.019231 -3.356201)', '2026-08-10 17:37:45', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019207 -3.356206)'), GeomFromEWKT('SRID=4674;POINT (-39.019231 -3.356201)'))) / (select extract(epoch from '2026-08-10 17:37:45'::timestamp) - extract(epoch from '2026-08-10 17:37:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019207 -3.356206)'), GeomFromEWKT('SRID=4674;POINT (-39.019231 -3.356201)'))) / (select extract(epoch from '2026-08-10 17:37:45'::timestamp) - extract(epoch from '2026-08-10 17:37: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'), 48138, 'SRID=4674;POINT (-39.019278 -3.356178)', '2026-08-10 17:37:55', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019231 -3.356201)'), GeomFromEWKT('SRID=4674;POINT (-39.019278 -3.356178)'))) / (select extract(epoch from '2026-08-10 17:37:55'::timestamp) - extract(epoch from '2026-08-10 17:37:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019231 -3.356201)'), GeomFromEWKT('SRID=4674;POINT (-39.019278 -3.356178)'))) / (select extract(epoch from '2026-08-10 17:37:55'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.01933 -3.356176)', '2026-08-10 17:38:06', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019278 -3.356178)'), GeomFromEWKT('SRID=4674;POINT (-39.01933 -3.356176)'))) / (select extract(epoch from '2026-08-10 17:38:06'::timestamp) - extract(epoch from '2026-08-10 17:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019278 -3.356178)'), GeomFromEWKT('SRID=4674;POINT (-39.01933 -3.356176)'))) / (select extract(epoch from '2026-08-10 17:38:06'::timestamp) - extract(epoch from '2026-08-10 17:37: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'), 48138, 'SRID=4674;POINT (-39.019383 -3.356167)', '2026-08-10 17:38:14', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01933 -3.356176)'), GeomFromEWKT('SRID=4674;POINT (-39.019383 -3.356167)'))) / (select extract(epoch from '2026-08-10 17:38:14'::timestamp) - extract(epoch from '2026-08-10 17:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01933 -3.356176)'), GeomFromEWKT('SRID=4674;POINT (-39.019383 -3.356167)'))) / (select extract(epoch from '2026-08-10 17:38:14'::timestamp) - extract(epoch from '2026-08-10 17:38: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'), 48138, 'SRID=4674;POINT (-39.01945 -3.35614)', '2026-08-10 17:38:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019383 -3.356167)'), GeomFromEWKT('SRID=4674;POINT (-39.01945 -3.35614)'))) / (select extract(epoch from '2026-08-10 17:38:26'::timestamp) - extract(epoch from '2026-08-10 17:38:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019383 -3.356167)'), GeomFromEWKT('SRID=4674;POINT (-39.01945 -3.35614)'))) / (select extract(epoch from '2026-08-10 17:38:26'::timestamp) - extract(epoch from '2026-08-10 17:38: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'), 48138, 'SRID=4674;POINT (-39.019495 -3.356122)', '2026-08-10 17:38:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01945 -3.35614)'), GeomFromEWKT('SRID=4674;POINT (-39.019495 -3.356122)'))) / (select extract(epoch from '2026-08-10 17:38:34'::timestamp) - extract(epoch from '2026-08-10 17:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01945 -3.35614)'), GeomFromEWKT('SRID=4674;POINT (-39.019495 -3.356122)'))) / (select extract(epoch from '2026-08-10 17:38:34'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.019558 -3.356097)', '2026-08-10 17:38:46', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019495 -3.356122)'), GeomFromEWKT('SRID=4674;POINT (-39.019558 -3.356097)'))) / (select extract(epoch from '2026-08-10 17:38:46'::timestamp) - extract(epoch from '2026-08-10 17:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019495 -3.356122)'), GeomFromEWKT('SRID=4674;POINT (-39.019558 -3.356097)'))) / (select extract(epoch from '2026-08-10 17:38:46'::timestamp) - extract(epoch from '2026-08-10 17:38: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'), 48138, 'SRID=4674;POINT (-39.01959 -3.356088)', '2026-08-10 17:38:53', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019558 -3.356097)'), GeomFromEWKT('SRID=4674;POINT (-39.01959 -3.356088)'))) / (select extract(epoch from '2026-08-10 17:38:53'::timestamp) - extract(epoch from '2026-08-10 17:38:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019558 -3.356097)'), GeomFromEWKT('SRID=4674;POINT (-39.01959 -3.356088)'))) / (select extract(epoch from '2026-08-10 17:38:53'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.019645 -3.35606)', '2026-08-10 17:39:02', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01959 -3.356088)'), GeomFromEWKT('SRID=4674;POINT (-39.019645 -3.35606)'))) / (select extract(epoch from '2026-08-10 17:39:02'::timestamp) - extract(epoch from '2026-08-10 17:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01959 -3.356088)'), GeomFromEWKT('SRID=4674;POINT (-39.019645 -3.35606)'))) / (select extract(epoch from '2026-08-10 17:39:02'::timestamp) - extract(epoch from '2026-08-10 17:38: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'), 48138, 'SRID=4674;POINT (-39.019708 -3.356046)', '2026-08-10 17:39:13', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019645 -3.35606)'), GeomFromEWKT('SRID=4674;POINT (-39.019708 -3.356046)'))) / (select extract(epoch from '2026-08-10 17:39:13'::timestamp) - extract(epoch from '2026-08-10 17:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019645 -3.35606)'), GeomFromEWKT('SRID=4674;POINT (-39.019708 -3.356046)'))) / (select extract(epoch from '2026-08-10 17:39:13'::timestamp) - extract(epoch from '2026-08-10 17:39: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'), 48138, 'SRID=4674;POINT (-39.019743 -3.356024)', '2026-08-10 17:39:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019708 -3.356046)'), GeomFromEWKT('SRID=4674;POINT (-39.019743 -3.356024)'))) / (select extract(epoch from '2026-08-10 17:39:20'::timestamp) - extract(epoch from '2026-08-10 17:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019708 -3.356046)'), GeomFromEWKT('SRID=4674;POINT (-39.019743 -3.356024)'))) / (select extract(epoch from '2026-08-10 17:39:20'::timestamp) - extract(epoch from '2026-08-10 17:39: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'), 48138, 'SRID=4674;POINT (-39.019774 -3.35599)', '2026-08-10 17:39:29', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019743 -3.356024)'), GeomFromEWKT('SRID=4674;POINT (-39.019774 -3.35599)'))) / (select extract(epoch from '2026-08-10 17:39:29'::timestamp) - extract(epoch from '2026-08-10 17:39:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019743 -3.356024)'), GeomFromEWKT('SRID=4674;POINT (-39.019774 -3.35599)'))) / (select extract(epoch from '2026-08-10 17:39:29'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.01982 -3.355963)', '2026-08-10 17:39:38', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019774 -3.35599)'), GeomFromEWKT('SRID=4674;POINT (-39.01982 -3.355963)'))) / (select extract(epoch from '2026-08-10 17:39:38'::timestamp) - extract(epoch from '2026-08-10 17:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019774 -3.35599)'), GeomFromEWKT('SRID=4674;POINT (-39.01982 -3.355963)'))) / (select extract(epoch from '2026-08-10 17:39:38'::timestamp) - extract(epoch from '2026-08-10 17:39: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'), 48138, 'SRID=4674;POINT (-39.019884 -3.355941)', '2026-08-10 17:39:48', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01982 -3.355963)'), GeomFromEWKT('SRID=4674;POINT (-39.019884 -3.355941)'))) / (select extract(epoch from '2026-08-10 17:39:48'::timestamp) - extract(epoch from '2026-08-10 17:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01982 -3.355963)'), GeomFromEWKT('SRID=4674;POINT (-39.019884 -3.355941)'))) / (select extract(epoch from '2026-08-10 17:39:48'::timestamp) - extract(epoch from '2026-08-10 17:39: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'), 48138, 'SRID=4674;POINT (-39.019952 -3.355915)', '2026-08-10 17:40:00', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019884 -3.355941)'), GeomFromEWKT('SRID=4674;POINT (-39.019952 -3.355915)'))) / (select extract(epoch from '2026-08-10 17:40:00'::timestamp) - extract(epoch from '2026-08-10 17:39:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019884 -3.355941)'), GeomFromEWKT('SRID=4674;POINT (-39.019952 -3.355915)'))) / (select extract(epoch from '2026-08-10 17:40:00'::timestamp) - extract(epoch from '2026-08-10 17:39: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'), 48138, 'SRID=4674;POINT (-39.020022 -3.355899)', '2026-08-10 17:40:10', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019952 -3.355915)'), GeomFromEWKT('SRID=4674;POINT (-39.020022 -3.355899)'))) / (select extract(epoch from '2026-08-10 17:40:10'::timestamp) - extract(epoch from '2026-08-10 17:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019952 -3.355915)'), GeomFromEWKT('SRID=4674;POINT (-39.020022 -3.355899)'))) / (select extract(epoch from '2026-08-10 17:40:10'::timestamp) - extract(epoch from '2026-08-10 17:40: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'), 48138, 'SRID=4674;POINT (-39.020077 -3.355867)', '2026-08-10 17:40:21', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020022 -3.355899)'), GeomFromEWKT('SRID=4674;POINT (-39.020077 -3.355867)'))) / (select extract(epoch from '2026-08-10 17:40:21'::timestamp) - extract(epoch from '2026-08-10 17:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020022 -3.355899)'), GeomFromEWKT('SRID=4674;POINT (-39.020077 -3.355867)'))) / (select extract(epoch from '2026-08-10 17:40:21'::timestamp) - extract(epoch from '2026-08-10 17:40: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'), 48138, 'SRID=4674;POINT (-39.020121 -3.355865)', '2026-08-10 17:40:29', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020077 -3.355867)'), GeomFromEWKT('SRID=4674;POINT (-39.020121 -3.355865)'))) / (select extract(epoch from '2026-08-10 17:40:29'::timestamp) - extract(epoch from '2026-08-10 17:40:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020077 -3.355867)'), GeomFromEWKT('SRID=4674;POINT (-39.020121 -3.355865)'))) / (select extract(epoch from '2026-08-10 17:40:29'::timestamp) - extract(epoch from '2026-08-10 17:40:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.02016 -3.355844)', '2026-08-10 17:40:36', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020121 -3.355865)'), GeomFromEWKT('SRID=4674;POINT (-39.02016 -3.355844)'))) / (select extract(epoch from '2026-08-10 17:40:36'::timestamp) - extract(epoch from '2026-08-10 17:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020121 -3.355865)'), GeomFromEWKT('SRID=4674;POINT (-39.02016 -3.355844)'))) / (select extract(epoch from '2026-08-10 17:40:36'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.020221 -3.355827)', '2026-08-10 17:40:46', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02016 -3.355844)'), GeomFromEWKT('SRID=4674;POINT (-39.020221 -3.355827)'))) / (select extract(epoch from '2026-08-10 17:40:46'::timestamp) - extract(epoch from '2026-08-10 17:40:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02016 -3.355844)'), GeomFromEWKT('SRID=4674;POINT (-39.020221 -3.355827)'))) / (select extract(epoch from '2026-08-10 17:40:46'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.020269 -3.355801)', '2026-08-10 17:40:56', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020221 -3.355827)'), GeomFromEWKT('SRID=4674;POINT (-39.020269 -3.355801)'))) / (select extract(epoch from '2026-08-10 17:40:56'::timestamp) - extract(epoch from '2026-08-10 17:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020221 -3.355827)'), GeomFromEWKT('SRID=4674;POINT (-39.020269 -3.355801)'))) / (select extract(epoch from '2026-08-10 17:40:56'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.02033 -3.355756)', '2026-08-10 17:41:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020269 -3.355801)'), GeomFromEWKT('SRID=4674;POINT (-39.02033 -3.355756)'))) / (select extract(epoch from '2026-08-10 17:41:08'::timestamp) - extract(epoch from '2026-08-10 17:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020269 -3.355801)'), GeomFromEWKT('SRID=4674;POINT (-39.02033 -3.355756)'))) / (select extract(epoch from '2026-08-10 17:41:08'::timestamp) - extract(epoch from '2026-08-10 17:40: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'), 48138, 'SRID=4674;POINT (-39.020375 -3.355737)', '2026-08-10 17:41:18', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02033 -3.355756)'), GeomFromEWKT('SRID=4674;POINT (-39.020375 -3.355737)'))) / (select extract(epoch from '2026-08-10 17:41:18'::timestamp) - extract(epoch from '2026-08-10 17:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02033 -3.355756)'), GeomFromEWKT('SRID=4674;POINT (-39.020375 -3.355737)'))) / (select extract(epoch from '2026-08-10 17:41:18'::timestamp) - extract(epoch from '2026-08-10 17:41: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'), 48138, 'SRID=4674;POINT (-39.020429 -3.35572)', '2026-08-10 17:41:25', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020375 -3.355737)'), GeomFromEWKT('SRID=4674;POINT (-39.020429 -3.35572)'))) / (select extract(epoch from '2026-08-10 17:41:25'::timestamp) - extract(epoch from '2026-08-10 17:41:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020375 -3.355737)'), GeomFromEWKT('SRID=4674;POINT (-39.020429 -3.35572)'))) / (select extract(epoch from '2026-08-10 17:41:25'::timestamp) - extract(epoch from '2026-08-10 17:41: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'), 48138, 'SRID=4674;POINT (-39.020449 -3.355706)', '2026-08-10 17:41:31', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020429 -3.35572)'), GeomFromEWKT('SRID=4674;POINT (-39.020449 -3.355706)'))) / (select extract(epoch from '2026-08-10 17:41:31'::timestamp) - extract(epoch from '2026-08-10 17:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020429 -3.35572)'), GeomFromEWKT('SRID=4674;POINT (-39.020449 -3.355706)'))) / (select extract(epoch from '2026-08-10 17:41:31'::timestamp) - extract(epoch from '2026-08-10 17:41: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'), 48138, 'SRID=4674;POINT (-39.020502 -3.35568)', '2026-08-10 17:41:42', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020449 -3.355706)'), GeomFromEWKT('SRID=4674;POINT (-39.020502 -3.35568)'))) / (select extract(epoch from '2026-08-10 17:41:42'::timestamp) - extract(epoch from '2026-08-10 17:41:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020449 -3.355706)'), GeomFromEWKT('SRID=4674;POINT (-39.020502 -3.35568)'))) / (select extract(epoch from '2026-08-10 17:41:42'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.020537 -3.355664)', '2026-08-10 17:41:49', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020502 -3.35568)'), GeomFromEWKT('SRID=4674;POINT (-39.020537 -3.355664)'))) / (select extract(epoch from '2026-08-10 17:41:49'::timestamp) - extract(epoch from '2026-08-10 17:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020502 -3.35568)'), GeomFromEWKT('SRID=4674;POINT (-39.020537 -3.355664)'))) / (select extract(epoch from '2026-08-10 17:41:49'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.020571 -3.35565)', '2026-08-10 17:41:56', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020537 -3.355664)'), GeomFromEWKT('SRID=4674;POINT (-39.020571 -3.35565)'))) / (select extract(epoch from '2026-08-10 17:41:56'::timestamp) - extract(epoch from '2026-08-10 17:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020537 -3.355664)'), GeomFromEWKT('SRID=4674;POINT (-39.020571 -3.35565)'))) / (select extract(epoch from '2026-08-10 17:41:56'::timestamp) - extract(epoch from '2026-08-10 17:41: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'), 48138, 'SRID=4674;POINT (-39.020597 -3.35563)', '2026-08-10 17:42:02', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020571 -3.35565)'), GeomFromEWKT('SRID=4674;POINT (-39.020597 -3.35563)'))) / (select extract(epoch from '2026-08-10 17:42:02'::timestamp) - extract(epoch from '2026-08-10 17:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020571 -3.35565)'), GeomFromEWKT('SRID=4674;POINT (-39.020597 -3.35563)'))) / (select extract(epoch from '2026-08-10 17:42:02'::timestamp) - extract(epoch from '2026-08-10 17:41: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'), 48138, 'SRID=4674;POINT (-39.020672 -3.355603)', '2026-08-10 17:42:12', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020597 -3.35563)'), GeomFromEWKT('SRID=4674;POINT (-39.020672 -3.355603)'))) / (select extract(epoch from '2026-08-10 17:42:12'::timestamp) - extract(epoch from '2026-08-10 17:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020597 -3.35563)'), GeomFromEWKT('SRID=4674;POINT (-39.020672 -3.355603)'))) / (select extract(epoch from '2026-08-10 17:42:12'::timestamp) - extract(epoch from '2026-08-10 17:42: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'), 48138, 'SRID=4674;POINT (-39.020699 -3.355606)', '2026-08-10 17:42:18', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020672 -3.355603)'), GeomFromEWKT('SRID=4674;POINT (-39.020699 -3.355606)'))) / (select extract(epoch from '2026-08-10 17:42:18'::timestamp) - extract(epoch from '2026-08-10 17:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020672 -3.355603)'), GeomFromEWKT('SRID=4674;POINT (-39.020699 -3.355606)'))) / (select extract(epoch from '2026-08-10 17:42:18'::timestamp) - extract(epoch from '2026-08-10 17:42: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'), 48138, 'SRID=4674;POINT (-39.020777 -3.355576)', '2026-08-10 17:42:30', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020699 -3.355606)'), GeomFromEWKT('SRID=4674;POINT (-39.020777 -3.355576)'))) / (select extract(epoch from '2026-08-10 17:42:30'::timestamp) - extract(epoch from '2026-08-10 17:42:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020699 -3.355606)'), GeomFromEWKT('SRID=4674;POINT (-39.020777 -3.355576)'))) / (select extract(epoch from '2026-08-10 17:42:30'::timestamp) - extract(epoch from '2026-08-10 17:42: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'), 48138, 'SRID=4674;POINT (-39.020819 -3.355559)', '2026-08-10 17:42:39', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020777 -3.355576)'), GeomFromEWKT('SRID=4674;POINT (-39.020819 -3.355559)'))) / (select extract(epoch from '2026-08-10 17:42:39'::timestamp) - extract(epoch from '2026-08-10 17:42:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020777 -3.355576)'), GeomFromEWKT('SRID=4674;POINT (-39.020819 -3.355559)'))) / (select extract(epoch from '2026-08-10 17:42:39'::timestamp) - extract(epoch from '2026-08-10 17:42:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.020867 -3.355528)', '2026-08-10 17:42:50', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020819 -3.355559)'), GeomFromEWKT('SRID=4674;POINT (-39.020867 -3.355528)'))) / (select extract(epoch from '2026-08-10 17:42:50'::timestamp) - extract(epoch from '2026-08-10 17:42:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020819 -3.355559)'), GeomFromEWKT('SRID=4674;POINT (-39.020867 -3.355528)'))) / (select extract(epoch from '2026-08-10 17:42:50'::timestamp) - extract(epoch from '2026-08-10 17:42: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'), 48138, 'SRID=4674;POINT (-39.020899 -3.355502)', '2026-08-10 17:42:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020867 -3.355528)'), GeomFromEWKT('SRID=4674;POINT (-39.020899 -3.355502)'))) / (select extract(epoch from '2026-08-10 17:42:58'::timestamp) - extract(epoch from '2026-08-10 17:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020867 -3.355528)'), GeomFromEWKT('SRID=4674;POINT (-39.020899 -3.355502)'))) / (select extract(epoch from '2026-08-10 17:42:58'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.020952 -3.355505)', '2026-08-10 17:43:05', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020899 -3.355502)'), GeomFromEWKT('SRID=4674;POINT (-39.020952 -3.355505)'))) / (select extract(epoch from '2026-08-10 17:43:05'::timestamp) - extract(epoch from '2026-08-10 17:42:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020899 -3.355502)'), GeomFromEWKT('SRID=4674;POINT (-39.020952 -3.355505)'))) / (select extract(epoch from '2026-08-10 17:43:05'::timestamp) - extract(epoch from '2026-08-10 17:42: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'), 48138, 'SRID=4674;POINT (-39.021 -3.355487)', '2026-08-10 17:43:14', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020952 -3.355505)'), GeomFromEWKT('SRID=4674;POINT (-39.021 -3.355487)'))) / (select extract(epoch from '2026-08-10 17:43:14'::timestamp) - extract(epoch from '2026-08-10 17:43:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020952 -3.355505)'), GeomFromEWKT('SRID=4674;POINT (-39.021 -3.355487)'))) / (select extract(epoch from '2026-08-10 17:43:14'::timestamp) - extract(epoch from '2026-08-10 17:43: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'), 48138, 'SRID=4674;POINT (-39.021051 -3.355429)', '2026-08-10 17:43:27', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021 -3.355487)'), GeomFromEWKT('SRID=4674;POINT (-39.021051 -3.355429)'))) / (select extract(epoch from '2026-08-10 17:43:27'::timestamp) - extract(epoch from '2026-08-10 17:43:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021 -3.355487)'), GeomFromEWKT('SRID=4674;POINT (-39.021051 -3.355429)'))) / (select extract(epoch from '2026-08-10 17:43:27'::timestamp) - extract(epoch from '2026-08-10 17:43: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'), 48138, 'SRID=4674;POINT (-39.021098 -3.355404)', '2026-08-10 17:43:36', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021051 -3.355429)'), GeomFromEWKT('SRID=4674;POINT (-39.021098 -3.355404)'))) / (select extract(epoch from '2026-08-10 17:43:36'::timestamp) - extract(epoch from '2026-08-10 17:43:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021051 -3.355429)'), GeomFromEWKT('SRID=4674;POINT (-39.021098 -3.355404)'))) / (select extract(epoch from '2026-08-10 17:43:36'::timestamp) - extract(epoch from '2026-08-10 17:43: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'), 48138, 'SRID=4674;POINT (-39.02114 -3.355395)', '2026-08-10 17:43:44', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021098 -3.355404)'), GeomFromEWKT('SRID=4674;POINT (-39.02114 -3.355395)'))) / (select extract(epoch from '2026-08-10 17:43:44'::timestamp) - extract(epoch from '2026-08-10 17:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021098 -3.355404)'), GeomFromEWKT('SRID=4674;POINT (-39.02114 -3.355395)'))) / (select extract(epoch from '2026-08-10 17:43:44'::timestamp) - extract(epoch from '2026-08-10 17:43: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'), 48138, 'SRID=4674;POINT (-39.021188 -3.35539)', '2026-08-10 17:43:52', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02114 -3.355395)'), GeomFromEWKT('SRID=4674;POINT (-39.021188 -3.35539)'))) / (select extract(epoch from '2026-08-10 17:43:52'::timestamp) - extract(epoch from '2026-08-10 17:43:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02114 -3.355395)'), GeomFromEWKT('SRID=4674;POINT (-39.021188 -3.35539)'))) / (select extract(epoch from '2026-08-10 17:43:52'::timestamp) - extract(epoch from '2026-08-10 17:43: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'), 48138, 'SRID=4674;POINT (-39.02125 -3.355375)', '2026-08-10 17:44:02', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021188 -3.35539)'), GeomFromEWKT('SRID=4674;POINT (-39.02125 -3.355375)'))) / (select extract(epoch from '2026-08-10 17:44:02'::timestamp) - extract(epoch from '2026-08-10 17:43:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021188 -3.35539)'), GeomFromEWKT('SRID=4674;POINT (-39.02125 -3.355375)'))) / (select extract(epoch from '2026-08-10 17:44:02'::timestamp) - extract(epoch from '2026-08-10 17:43: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'), 48138, 'SRID=4674;POINT (-39.021305 -3.355349)', '2026-08-10 17:44:14', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02125 -3.355375)'), GeomFromEWKT('SRID=4674;POINT (-39.021305 -3.355349)'))) / (select extract(epoch from '2026-08-10 17:44:14'::timestamp) - extract(epoch from '2026-08-10 17:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02125 -3.355375)'), GeomFromEWKT('SRID=4674;POINT (-39.021305 -3.355349)'))) / (select extract(epoch from '2026-08-10 17:44:14'::timestamp) - extract(epoch from '2026-08-10 17:44: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'), 48138, 'SRID=4674;POINT (-39.021354 -3.35533)', '2026-08-10 17:44:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021305 -3.355349)'), GeomFromEWKT('SRID=4674;POINT (-39.021354 -3.35533)'))) / (select extract(epoch from '2026-08-10 17:44:22'::timestamp) - extract(epoch from '2026-08-10 17:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021305 -3.355349)'), GeomFromEWKT('SRID=4674;POINT (-39.021354 -3.35533)'))) / (select extract(epoch from '2026-08-10 17:44:22'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.021381 -3.355319)', '2026-08-10 17:44:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021354 -3.35533)'), GeomFromEWKT('SRID=4674;POINT (-39.021381 -3.355319)'))) / (select extract(epoch from '2026-08-10 17:44:28'::timestamp) - extract(epoch from '2026-08-10 17:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021354 -3.35533)'), GeomFromEWKT('SRID=4674;POINT (-39.021381 -3.355319)'))) / (select extract(epoch from '2026-08-10 17:44:28'::timestamp) - extract(epoch from '2026-08-10 17:44: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'), 48138, 'SRID=4674;POINT (-39.021422 -3.355283)', '2026-08-10 17:44:40', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021381 -3.355319)'), GeomFromEWKT('SRID=4674;POINT (-39.021422 -3.355283)'))) / (select extract(epoch from '2026-08-10 17:44:40'::timestamp) - extract(epoch from '2026-08-10 17:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021381 -3.355319)'), GeomFromEWKT('SRID=4674;POINT (-39.021422 -3.355283)'))) / (select extract(epoch from '2026-08-10 17:44:40'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.021461 -3.355264)', '2026-08-10 17:44:47', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021422 -3.355283)'), GeomFromEWKT('SRID=4674;POINT (-39.021461 -3.355264)'))) / (select extract(epoch from '2026-08-10 17:44:47'::timestamp) - extract(epoch from '2026-08-10 17:44:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021422 -3.355283)'), GeomFromEWKT('SRID=4674;POINT (-39.021461 -3.355264)'))) / (select extract(epoch from '2026-08-10 17:44:47'::timestamp) - extract(epoch from '2026-08-10 17:44: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'), 48138, 'SRID=4674;POINT (-39.021526 -3.355248)', '2026-08-10 17:44:57', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021461 -3.355264)'), GeomFromEWKT('SRID=4674;POINT (-39.021526 -3.355248)'))) / (select extract(epoch from '2026-08-10 17:44:57'::timestamp) - extract(epoch from '2026-08-10 17:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021461 -3.355264)'), GeomFromEWKT('SRID=4674;POINT (-39.021526 -3.355248)'))) / (select extract(epoch from '2026-08-10 17:44:57'::timestamp) - extract(epoch from '2026-08-10 17:44: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'), 48138, 'SRID=4674;POINT (-39.021568 -3.355243)', '2026-08-10 17:45:04', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021526 -3.355248)'), GeomFromEWKT('SRID=4674;POINT (-39.021568 -3.355243)'))) / (select extract(epoch from '2026-08-10 17:45:04'::timestamp) - extract(epoch from '2026-08-10 17:44:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021526 -3.355248)'), GeomFromEWKT('SRID=4674;POINT (-39.021568 -3.355243)'))) / (select extract(epoch from '2026-08-10 17:45:04'::timestamp) - extract(epoch from '2026-08-10 17:44: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'), 48138, 'SRID=4674;POINT (-39.021615 -3.355239)', '2026-08-10 17:45:13', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021568 -3.355243)'), GeomFromEWKT('SRID=4674;POINT (-39.021615 -3.355239)'))) / (select extract(epoch from '2026-08-10 17:45:13'::timestamp) - extract(epoch from '2026-08-10 17:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021568 -3.355243)'), GeomFromEWKT('SRID=4674;POINT (-39.021615 -3.355239)'))) / (select extract(epoch from '2026-08-10 17:45:13'::timestamp) - extract(epoch from '2026-08-10 17:45: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'), 48138, 'SRID=4674;POINT (-39.021665 -3.355219)', '2026-08-10 17:45:20', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021615 -3.355239)'), GeomFromEWKT('SRID=4674;POINT (-39.021665 -3.355219)'))) / (select extract(epoch from '2026-08-10 17:45:20'::timestamp) - extract(epoch from '2026-08-10 17:45:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021615 -3.355239)'), GeomFromEWKT('SRID=4674;POINT (-39.021665 -3.355219)'))) / (select extract(epoch from '2026-08-10 17:45:20'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.021694 -3.355219)', '2026-08-10 17:45:25', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021665 -3.355219)'), GeomFromEWKT('SRID=4674;POINT (-39.021694 -3.355219)'))) / (select extract(epoch from '2026-08-10 17:45:25'::timestamp) - extract(epoch from '2026-08-10 17:45:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021665 -3.355219)'), GeomFromEWKT('SRID=4674;POINT (-39.021694 -3.355219)'))) / (select extract(epoch from '2026-08-10 17:45:25'::timestamp) - extract(epoch from '2026-08-10 17:45: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'), 48138, 'SRID=4674;POINT (-39.021742 -3.355206)', '2026-08-10 17:45:36', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021694 -3.355219)'), GeomFromEWKT('SRID=4674;POINT (-39.021742 -3.355206)'))) / (select extract(epoch from '2026-08-10 17:45:36'::timestamp) - extract(epoch from '2026-08-10 17:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021694 -3.355219)'), GeomFromEWKT('SRID=4674;POINT (-39.021742 -3.355206)'))) / (select extract(epoch from '2026-08-10 17:45:36'::timestamp) - extract(epoch from '2026-08-10 17:45:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.021761 -3.355193)', '2026-08-10 17:45:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021742 -3.355206)'), GeomFromEWKT('SRID=4674;POINT (-39.021761 -3.355193)'))) / (select extract(epoch from '2026-08-10 17:45:43'::timestamp) - extract(epoch from '2026-08-10 17:45:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021742 -3.355206)'), GeomFromEWKT('SRID=4674;POINT (-39.021761 -3.355193)'))) / (select extract(epoch from '2026-08-10 17:45:43'::timestamp) - extract(epoch from '2026-08-10 17:45: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'), 48138, 'SRID=4674;POINT (-39.021796 -3.355194)', '2026-08-10 17:45:53', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021761 -3.355193)'), GeomFromEWKT('SRID=4674;POINT (-39.021796 -3.355194)'))) / (select extract(epoch from '2026-08-10 17:45:53'::timestamp) - extract(epoch from '2026-08-10 17:45:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021761 -3.355193)'), GeomFromEWKT('SRID=4674;POINT (-39.021796 -3.355194)'))) / (select extract(epoch from '2026-08-10 17:45:53'::timestamp) - extract(epoch from '2026-08-10 17:45: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'), 48138, 'SRID=4674;POINT (-39.021842 -3.355192)', '2026-08-10 17:46:04', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021796 -3.355194)'), GeomFromEWKT('SRID=4674;POINT (-39.021842 -3.355192)'))) / (select extract(epoch from '2026-08-10 17:46:04'::timestamp) - extract(epoch from '2026-08-10 17:45:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021796 -3.355194)'), GeomFromEWKT('SRID=4674;POINT (-39.021842 -3.355192)'))) / (select extract(epoch from '2026-08-10 17:46:04'::timestamp) - extract(epoch from '2026-08-10 17:45: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'), 48138, 'SRID=4674;POINT (-39.021887 -3.355179)', '2026-08-10 17:46:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021842 -3.355192)'), GeomFromEWKT('SRID=4674;POINT (-39.021887 -3.355179)'))) / (select extract(epoch from '2026-08-10 17:46:12'::timestamp) - extract(epoch from '2026-08-10 17:46:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021842 -3.355192)'), GeomFromEWKT('SRID=4674;POINT (-39.021887 -3.355179)'))) / (select extract(epoch from '2026-08-10 17:46:12'::timestamp) - extract(epoch from '2026-08-10 17:46: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'), 48138, 'SRID=4674;POINT (-39.021967 -3.355163)', '2026-08-10 17:46:22', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021887 -3.355179)'), GeomFromEWKT('SRID=4674;POINT (-39.021967 -3.355163)'))) / (select extract(epoch from '2026-08-10 17:46:22'::timestamp) - extract(epoch from '2026-08-10 17:46:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021887 -3.355179)'), GeomFromEWKT('SRID=4674;POINT (-39.021967 -3.355163)'))) / (select extract(epoch from '2026-08-10 17:46:22'::timestamp) - extract(epoch from '2026-08-10 17:46:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.021995 -3.35514)', '2026-08-10 17:46:27', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021967 -3.355163)'), GeomFromEWKT('SRID=4674;POINT (-39.021995 -3.35514)'))) / (select extract(epoch from '2026-08-10 17:46:27'::timestamp) - extract(epoch from '2026-08-10 17:46:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021967 -3.355163)'), GeomFromEWKT('SRID=4674;POINT (-39.021995 -3.35514)'))) / (select extract(epoch from '2026-08-10 17:46:27'::timestamp) - extract(epoch from '2026-08-10 17:46: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'), 48138, 'SRID=4674;POINT (-39.022029 -3.35512)', '2026-08-10 17:46:36', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021995 -3.35514)'), GeomFromEWKT('SRID=4674;POINT (-39.022029 -3.35512)'))) / (select extract(epoch from '2026-08-10 17:46:36'::timestamp) - extract(epoch from '2026-08-10 17:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021995 -3.35514)'), GeomFromEWKT('SRID=4674;POINT (-39.022029 -3.35512)'))) / (select extract(epoch from '2026-08-10 17:46:36'::timestamp) - extract(epoch from '2026-08-10 17:46: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'), 48138, 'SRID=4674;POINT (-39.022062 -3.355106)', '2026-08-10 17:46:43', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022029 -3.35512)'), GeomFromEWKT('SRID=4674;POINT (-39.022062 -3.355106)'))) / (select extract(epoch from '2026-08-10 17:46:43'::timestamp) - extract(epoch from '2026-08-10 17:46:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022029 -3.35512)'), GeomFromEWKT('SRID=4674;POINT (-39.022062 -3.355106)'))) / (select extract(epoch from '2026-08-10 17:46:43'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.022071 -3.355105)', '2026-08-10 17:46:44', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022062 -3.355106)'), GeomFromEWKT('SRID=4674;POINT (-39.022071 -3.355105)'))) / (select extract(epoch from '2026-08-10 17:46:44'::timestamp) - extract(epoch from '2026-08-10 17:46:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022062 -3.355106)'), GeomFromEWKT('SRID=4674;POINT (-39.022071 -3.355105)'))) / (select extract(epoch from '2026-08-10 17:46:44'::timestamp) - extract(epoch from '2026-08-10 17:46: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'), 48138, 'SRID=4674;POINT (-39.022099 -3.355103)', '2026-08-10 17:46:48', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022071 -3.355105)'), GeomFromEWKT('SRID=4674;POINT (-39.022099 -3.355103)'))) / (select extract(epoch from '2026-08-10 17:46:48'::timestamp) - extract(epoch from '2026-08-10 17:46:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022071 -3.355105)'), GeomFromEWKT('SRID=4674;POINT (-39.022099 -3.355103)'))) / (select extract(epoch from '2026-08-10 17:46:48'::timestamp) - extract(epoch from '2026-08-10 17:46: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'), 48138, 'SRID=4674;POINT (-39.022144 -3.355092)', '2026-08-10 17:46:58', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022099 -3.355103)'), GeomFromEWKT('SRID=4674;POINT (-39.022144 -3.355092)'))) / (select extract(epoch from '2026-08-10 17:46:58'::timestamp) - extract(epoch from '2026-08-10 17:46:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022099 -3.355103)'), GeomFromEWKT('SRID=4674;POINT (-39.022144 -3.355092)'))) / (select extract(epoch from '2026-08-10 17:46:58'::timestamp) - extract(epoch from '2026-08-10 17:46: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'), 48138, 'SRID=4674;POINT (-39.022179 -3.355099)', '2026-08-10 17:47:06', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022144 -3.355092)'), GeomFromEWKT('SRID=4674;POINT (-39.022179 -3.355099)'))) / (select extract(epoch from '2026-08-10 17:47:06'::timestamp) - extract(epoch from '2026-08-10 17:46:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022144 -3.355092)'), GeomFromEWKT('SRID=4674;POINT (-39.022179 -3.355099)'))) / (select extract(epoch from '2026-08-10 17:47:06'::timestamp) - extract(epoch from '2026-08-10 17:46: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'), 48138, 'SRID=4674;POINT (-39.022223 -3.355102)', '2026-08-10 17:47:14', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022179 -3.355099)'), GeomFromEWKT('SRID=4674;POINT (-39.022223 -3.355102)'))) / (select extract(epoch from '2026-08-10 17:47:14'::timestamp) - extract(epoch from '2026-08-10 17:47:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022179 -3.355099)'), GeomFromEWKT('SRID=4674;POINT (-39.022223 -3.355102)'))) / (select extract(epoch from '2026-08-10 17:47:14'::timestamp) - extract(epoch from '2026-08-10 17:47: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'), 48138, 'SRID=4674;POINT (-39.022271 -3.355076)', '2026-08-10 17:47:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022223 -3.355102)'), GeomFromEWKT('SRID=4674;POINT (-39.022271 -3.355076)'))) / (select extract(epoch from '2026-08-10 17:47:24'::timestamp) - extract(epoch from '2026-08-10 17:47:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022223 -3.355102)'), GeomFromEWKT('SRID=4674;POINT (-39.022271 -3.355076)'))) / (select extract(epoch from '2026-08-10 17:47:24'::timestamp) - extract(epoch from '2026-08-10 17:47: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'), 48138, 'SRID=4674;POINT (-39.02232 -3.355047)', '2026-08-10 17:47:35', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022271 -3.355076)'), GeomFromEWKT('SRID=4674;POINT (-39.02232 -3.355047)'))) / (select extract(epoch from '2026-08-10 17:47:35'::timestamp) - extract(epoch from '2026-08-10 17:47:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022271 -3.355076)'), GeomFromEWKT('SRID=4674;POINT (-39.02232 -3.355047)'))) / (select extract(epoch from '2026-08-10 17:47:35'::timestamp) - extract(epoch from '2026-08-10 17:47: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'), 48138, 'SRID=4674;POINT (-39.022347 -3.355036)', '2026-08-10 17:47:40', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02232 -3.355047)'), GeomFromEWKT('SRID=4674;POINT (-39.022347 -3.355036)'))) / (select extract(epoch from '2026-08-10 17:47:40'::timestamp) - extract(epoch from '2026-08-10 17:47:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02232 -3.355047)'), GeomFromEWKT('SRID=4674;POINT (-39.022347 -3.355036)'))) / (select extract(epoch from '2026-08-10 17:47:40'::timestamp) - extract(epoch from '2026-08-10 17:47: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'), 48138, 'SRID=4674;POINT (-39.022389 -3.355042)', '2026-08-10 17:47:47', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022347 -3.355036)'), GeomFromEWKT('SRID=4674;POINT (-39.022389 -3.355042)'))) / (select extract(epoch from '2026-08-10 17:47:47'::timestamp) - extract(epoch from '2026-08-10 17:47:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022347 -3.355036)'), GeomFromEWKT('SRID=4674;POINT (-39.022389 -3.355042)'))) / (select extract(epoch from '2026-08-10 17:47:47'::timestamp) - extract(epoch from '2026-08-10 17:47: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'), 48138, 'SRID=4674;POINT (-39.022431 -3.355039)', '2026-08-10 17:47:55', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022389 -3.355042)'), GeomFromEWKT('SRID=4674;POINT (-39.022431 -3.355039)'))) / (select extract(epoch from '2026-08-10 17:47:55'::timestamp) - extract(epoch from '2026-08-10 17:47:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022389 -3.355042)'), GeomFromEWKT('SRID=4674;POINT (-39.022431 -3.355039)'))) / (select extract(epoch from '2026-08-10 17:47:55'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.022441 -3.355036)', '2026-08-10 17:47:56', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022431 -3.355039)'), GeomFromEWKT('SRID=4674;POINT (-39.022441 -3.355036)'))) / (select extract(epoch from '2026-08-10 17:47:56'::timestamp) - extract(epoch from '2026-08-10 17:47:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022431 -3.355039)'), GeomFromEWKT('SRID=4674;POINT (-39.022441 -3.355036)'))) / (select extract(epoch from '2026-08-10 17:47:56'::timestamp) - extract(epoch from '2026-08-10 17:47: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'), 48138, 'SRID=4674;POINT (-39.022449 -3.355028)', '2026-08-10 17:47:59', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022441 -3.355036)'), GeomFromEWKT('SRID=4674;POINT (-39.022449 -3.355028)'))) / (select extract(epoch from '2026-08-10 17:47:59'::timestamp) - extract(epoch from '2026-08-10 17:47:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022441 -3.355036)'), GeomFromEWKT('SRID=4674;POINT (-39.022449 -3.355028)'))) / (select extract(epoch from '2026-08-10 17:47:59'::timestamp) - extract(epoch from '2026-08-10 17:47: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'), 48138, 'SRID=4674;POINT (-39.022458 -3.355026)', '2026-08-10 17:48:00', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022449 -3.355028)'), GeomFromEWKT('SRID=4674;POINT (-39.022458 -3.355026)'))) / (select extract(epoch from '2026-08-10 17:48:00'::timestamp) - extract(epoch from '2026-08-10 17:47:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022449 -3.355028)'), GeomFromEWKT('SRID=4674;POINT (-39.022458 -3.355026)'))) / (select extract(epoch from '2026-08-10 17:48:00'::timestamp) - extract(epoch from '2026-08-10 17:47: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'), 48138, 'SRID=4674;POINT (-39.022475 -3.355019)', '2026-08-10 17:48:03', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022458 -3.355026)'), GeomFromEWKT('SRID=4674;POINT (-39.022475 -3.355019)'))) / (select extract(epoch from '2026-08-10 17:48:03'::timestamp) - extract(epoch from '2026-08-10 17:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022458 -3.355026)'), GeomFromEWKT('SRID=4674;POINT (-39.022475 -3.355019)'))) / (select extract(epoch from '2026-08-10 17:48:03'::timestamp) - extract(epoch from '2026-08-10 17:48: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'), 48138, 'SRID=4674;POINT (-39.022518 -3.355)', '2026-08-10 17:48:11', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022475 -3.355019)'), GeomFromEWKT('SRID=4674;POINT (-39.022518 -3.355)'))) / (select extract(epoch from '2026-08-10 17:48:11'::timestamp) - extract(epoch from '2026-08-10 17:48:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022475 -3.355019)'), GeomFromEWKT('SRID=4674;POINT (-39.022518 -3.355)'))) / (select extract(epoch from '2026-08-10 17:48:11'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.022538 -3.355013)', '2026-08-10 17:48:16', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022518 -3.355)'), GeomFromEWKT('SRID=4674;POINT (-39.022538 -3.355013)'))) / (select extract(epoch from '2026-08-10 17:48:16'::timestamp) - extract(epoch from '2026-08-10 17:48:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022518 -3.355)'), GeomFromEWKT('SRID=4674;POINT (-39.022538 -3.355013)'))) / (select extract(epoch from '2026-08-10 17:48:16'::timestamp) - extract(epoch from '2026-08-10 17:48: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'), 48138, 'SRID=4674;POINT (-39.022567 -3.355)', '2026-08-10 17:48:24', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022538 -3.355013)'), GeomFromEWKT('SRID=4674;POINT (-39.022567 -3.355)'))) / (select extract(epoch from '2026-08-10 17:48:24'::timestamp) - extract(epoch from '2026-08-10 17:48:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022538 -3.355013)'), GeomFromEWKT('SRID=4674;POINT (-39.022567 -3.355)'))) / (select extract(epoch from '2026-08-10 17:48:24'::timestamp) - extract(epoch from '2026-08-10 17:48: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'), 48138, 'SRID=4674;POINT (-39.022602 -3.354977)', '2026-08-10 17:48:31', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022567 -3.355)'), GeomFromEWKT('SRID=4674;POINT (-39.022602 -3.354977)'))) / (select extract(epoch from '2026-08-10 17:48:31'::timestamp) - extract(epoch from '2026-08-10 17:48:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022567 -3.355)'), GeomFromEWKT('SRID=4674;POINT (-39.022602 -3.354977)'))) / (select extract(epoch from '2026-08-10 17:48:31'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.022668 -3.35496)', '2026-08-10 17:48:44', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022602 -3.354977)'), GeomFromEWKT('SRID=4674;POINT (-39.022668 -3.35496)'))) / (select extract(epoch from '2026-08-10 17:48:44'::timestamp) - extract(epoch from '2026-08-10 17:48:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022602 -3.354977)'), GeomFromEWKT('SRID=4674;POINT (-39.022668 -3.35496)'))) / (select extract(epoch from '2026-08-10 17:48:44'::timestamp) - extract(epoch from '2026-08-10 17:48:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.022688 -3.354956)', '2026-08-10 17:48:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022668 -3.35496)'), GeomFromEWKT('SRID=4674;POINT (-39.022688 -3.354956)'))) / (select extract(epoch from '2026-08-10 17:48:50'::timestamp) - extract(epoch from '2026-08-10 17:48:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022668 -3.35496)'), GeomFromEWKT('SRID=4674;POINT (-39.022688 -3.354956)'))) / (select extract(epoch from '2026-08-10 17:48:50'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.022728 -3.354951)', '2026-08-10 17:48:58', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022688 -3.354956)'), GeomFromEWKT('SRID=4674;POINT (-39.022728 -3.354951)'))) / (select extract(epoch from '2026-08-10 17:48:58'::timestamp) - extract(epoch from '2026-08-10 17:48:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022688 -3.354956)'), GeomFromEWKT('SRID=4674;POINT (-39.022728 -3.354951)'))) / (select extract(epoch from '2026-08-10 17:48:58'::timestamp) - extract(epoch from '2026-08-10 17:48: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'), 48138, 'SRID=4674;POINT (-39.022758 -3.354924)', '2026-08-10 17:49:06', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022728 -3.354951)'), GeomFromEWKT('SRID=4674;POINT (-39.022758 -3.354924)'))) / (select extract(epoch from '2026-08-10 17:49:06'::timestamp) - extract(epoch from '2026-08-10 17:48:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022728 -3.354951)'), GeomFromEWKT('SRID=4674;POINT (-39.022758 -3.354924)'))) / (select extract(epoch from '2026-08-10 17:49:06'::timestamp) - extract(epoch from '2026-08-10 17:48: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'), 48138, 'SRID=4674;POINT (-39.022792 -3.354902)', '2026-08-10 17:49:14', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022758 -3.354924)'), GeomFromEWKT('SRID=4674;POINT (-39.022792 -3.354902)'))) / (select extract(epoch from '2026-08-10 17:49:14'::timestamp) - extract(epoch from '2026-08-10 17:49:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022758 -3.354924)'), GeomFromEWKT('SRID=4674;POINT (-39.022792 -3.354902)'))) / (select extract(epoch from '2026-08-10 17:49:14'::timestamp) - extract(epoch from '2026-08-10 17:49: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'), 48138, 'SRID=4674;POINT (-39.022842 -3.354881)', '2026-08-10 17:49:25', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022792 -3.354902)'), GeomFromEWKT('SRID=4674;POINT (-39.022842 -3.354881)'))) / (select extract(epoch from '2026-08-10 17:49:25'::timestamp) - extract(epoch from '2026-08-10 17:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022792 -3.354902)'), GeomFromEWKT('SRID=4674;POINT (-39.022842 -3.354881)'))) / (select extract(epoch from '2026-08-10 17:49:25'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.022897 -3.354872)', '2026-08-10 17:49:35', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022842 -3.354881)'), GeomFromEWKT('SRID=4674;POINT (-39.022897 -3.354872)'))) / (select extract(epoch from '2026-08-10 17:49:35'::timestamp) - extract(epoch from '2026-08-10 17:49:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022842 -3.354881)'), GeomFromEWKT('SRID=4674;POINT (-39.022897 -3.354872)'))) / (select extract(epoch from '2026-08-10 17:49:35'::timestamp) - extract(epoch from '2026-08-10 17:49: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'), 48138, 'SRID=4674;POINT (-39.022942 -3.354884)', '2026-08-10 17:49:44', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022897 -3.354872)'), GeomFromEWKT('SRID=4674;POINT (-39.022942 -3.354884)'))) / (select extract(epoch from '2026-08-10 17:49:44'::timestamp) - extract(epoch from '2026-08-10 17:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022897 -3.354872)'), GeomFromEWKT('SRID=4674;POINT (-39.022942 -3.354884)'))) / (select extract(epoch from '2026-08-10 17:49:44'::timestamp) - extract(epoch from '2026-08-10 17:49: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'), 48138, 'SRID=4674;POINT (-39.022949 -3.354883)', '2026-08-10 17:49:46', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022942 -3.354884)'), GeomFromEWKT('SRID=4674;POINT (-39.022949 -3.354883)'))) / (select extract(epoch from '2026-08-10 17:49:46'::timestamp) - extract(epoch from '2026-08-10 17:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022942 -3.354884)'), GeomFromEWKT('SRID=4674;POINT (-39.022949 -3.354883)'))) / (select extract(epoch from '2026-08-10 17:49:46'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.022963 -3.354885)', '2026-08-10 17:49:49', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022949 -3.354883)'), GeomFromEWKT('SRID=4674;POINT (-39.022963 -3.354885)'))) / (select extract(epoch from '2026-08-10 17:49:49'::timestamp) - extract(epoch from '2026-08-10 17:49:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022949 -3.354883)'), GeomFromEWKT('SRID=4674;POINT (-39.022963 -3.354885)'))) / (select extract(epoch from '2026-08-10 17:49:49'::timestamp) - extract(epoch from '2026-08-10 17:49:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.023011 -3.354861)', '2026-08-10 17:49:59', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022963 -3.354885)'), GeomFromEWKT('SRID=4674;POINT (-39.023011 -3.354861)'))) / (select extract(epoch from '2026-08-10 17:49:59'::timestamp) - extract(epoch from '2026-08-10 17:49:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022963 -3.354885)'), GeomFromEWKT('SRID=4674;POINT (-39.023011 -3.354861)'))) / (select extract(epoch from '2026-08-10 17:49:59'::timestamp) - extract(epoch from '2026-08-10 17:49: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'), 48138, 'SRID=4674;POINT (-39.023043 -3.354841)', '2026-08-10 17:50:07', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023011 -3.354861)'), GeomFromEWKT('SRID=4674;POINT (-39.023043 -3.354841)'))) / (select extract(epoch from '2026-08-10 17:50:07'::timestamp) - extract(epoch from '2026-08-10 17:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023011 -3.354861)'), GeomFromEWKT('SRID=4674;POINT (-39.023043 -3.354841)'))) / (select extract(epoch from '2026-08-10 17:50:07'::timestamp) - extract(epoch from '2026-08-10 17:49: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'), 48138, 'SRID=4674;POINT (-39.023079 -3.354824)', '2026-08-10 17:50:16', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023043 -3.354841)'), GeomFromEWKT('SRID=4674;POINT (-39.023079 -3.354824)'))) / (select extract(epoch from '2026-08-10 17:50:16'::timestamp) - extract(epoch from '2026-08-10 17:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023043 -3.354841)'), GeomFromEWKT('SRID=4674;POINT (-39.023079 -3.354824)'))) / (select extract(epoch from '2026-08-10 17:50:16'::timestamp) - extract(epoch from '2026-08-10 17:50: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'), 48138, 'SRID=4674;POINT (-39.023117 -3.354815)', '2026-08-10 17:50:22', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023079 -3.354824)'), GeomFromEWKT('SRID=4674;POINT (-39.023117 -3.354815)'))) / (select extract(epoch from '2026-08-10 17:50:22'::timestamp) - extract(epoch from '2026-08-10 17:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023079 -3.354824)'), GeomFromEWKT('SRID=4674;POINT (-39.023117 -3.354815)'))) / (select extract(epoch from '2026-08-10 17:50:22'::timestamp) - extract(epoch from '2026-08-10 17:50: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'), 48138, 'SRID=4674;POINT (-39.02316 -3.354807)', '2026-08-10 17:50:29', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023117 -3.354815)'), GeomFromEWKT('SRID=4674;POINT (-39.02316 -3.354807)'))) / (select extract(epoch from '2026-08-10 17:50:29'::timestamp) - extract(epoch from '2026-08-10 17:50:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023117 -3.354815)'), GeomFromEWKT('SRID=4674;POINT (-39.02316 -3.354807)'))) / (select extract(epoch from '2026-08-10 17:50:29'::timestamp) - extract(epoch from '2026-08-10 17:50: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'), 48138, 'SRID=4674;POINT (-39.023203 -3.354786)', '2026-08-10 17:50:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02316 -3.354807)'), GeomFromEWKT('SRID=4674;POINT (-39.023203 -3.354786)'))) / (select extract(epoch from '2026-08-10 17:50:37'::timestamp) - extract(epoch from '2026-08-10 17:50:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02316 -3.354807)'), GeomFromEWKT('SRID=4674;POINT (-39.023203 -3.354786)'))) / (select extract(epoch from '2026-08-10 17:50:37'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.023237 -3.354777)', '2026-08-10 17:50:45', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023203 -3.354786)'), GeomFromEWKT('SRID=4674;POINT (-39.023237 -3.354777)'))) / (select extract(epoch from '2026-08-10 17:50:45'::timestamp) - extract(epoch from '2026-08-10 17:50:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023203 -3.354786)'), GeomFromEWKT('SRID=4674;POINT (-39.023237 -3.354777)'))) / (select extract(epoch from '2026-08-10 17:50:45'::timestamp) - extract(epoch from '2026-08-10 17:50:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.023267 -3.354766)', '2026-08-10 17:50:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023237 -3.354777)'), GeomFromEWKT('SRID=4674;POINT (-39.023267 -3.354766)'))) / (select extract(epoch from '2026-08-10 17:50:49'::timestamp) - extract(epoch from '2026-08-10 17:50:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023237 -3.354777)'), GeomFromEWKT('SRID=4674;POINT (-39.023267 -3.354766)'))) / (select extract(epoch from '2026-08-10 17:50:49'::timestamp) - extract(epoch from '2026-08-10 17:50:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.023272 -3.35476)', '2026-08-10 17:50:50', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023267 -3.354766)'), GeomFromEWKT('SRID=4674;POINT (-39.023272 -3.35476)'))) / (select extract(epoch from '2026-08-10 17:50:50'::timestamp) - extract(epoch from '2026-08-10 17:50:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023267 -3.354766)'), GeomFromEWKT('SRID=4674;POINT (-39.023272 -3.35476)'))) / (select extract(epoch from '2026-08-10 17:50:50'::timestamp) - extract(epoch from '2026-08-10 17:50: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'), 48138, 'SRID=4674;POINT (-39.023301 -3.354749)', '2026-08-10 17:50:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023272 -3.35476)'), GeomFromEWKT('SRID=4674;POINT (-39.023301 -3.354749)'))) / (select extract(epoch from '2026-08-10 17:50:56'::timestamp) - extract(epoch from '2026-08-10 17:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023272 -3.35476)'), GeomFromEWKT('SRID=4674;POINT (-39.023301 -3.354749)'))) / (select extract(epoch from '2026-08-10 17:50:56'::timestamp) - extract(epoch from '2026-08-10 17:50: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'), 48138, 'SRID=4674;POINT (-39.023328 -3.354737)', '2026-08-10 17:51:03', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023301 -3.354749)'), GeomFromEWKT('SRID=4674;POINT (-39.023328 -3.354737)'))) / (select extract(epoch from '2026-08-10 17:51:03'::timestamp) - extract(epoch from '2026-08-10 17:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023301 -3.354749)'), GeomFromEWKT('SRID=4674;POINT (-39.023328 -3.354737)'))) / (select extract(epoch from '2026-08-10 17:51:03'::timestamp) - extract(epoch from '2026-08-10 17:50:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.023386 -3.354705)', '2026-08-10 17:51:13', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023328 -3.354737)'), GeomFromEWKT('SRID=4674;POINT (-39.023386 -3.354705)'))) / (select extract(epoch from '2026-08-10 17:51:13'::timestamp) - extract(epoch from '2026-08-10 17:51:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023328 -3.354737)'), GeomFromEWKT('SRID=4674;POINT (-39.023386 -3.354705)'))) / (select extract(epoch from '2026-08-10 17:51:13'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.023438 -3.354683)', '2026-08-10 17:51:21', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023386 -3.354705)'), GeomFromEWKT('SRID=4674;POINT (-39.023438 -3.354683)'))) / (select extract(epoch from '2026-08-10 17:51:21'::timestamp) - extract(epoch from '2026-08-10 17:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023386 -3.354705)'), GeomFromEWKT('SRID=4674;POINT (-39.023438 -3.354683)'))) / (select extract(epoch from '2026-08-10 17:51:21'::timestamp) - extract(epoch from '2026-08-10 17:51:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.023499 -3.354667)', '2026-08-10 17:51:30', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023438 -3.354683)'), GeomFromEWKT('SRID=4674;POINT (-39.023499 -3.354667)'))) / (select extract(epoch from '2026-08-10 17:51:30'::timestamp) - extract(epoch from '2026-08-10 17:51:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023438 -3.354683)'), GeomFromEWKT('SRID=4674;POINT (-39.023499 -3.354667)'))) / (select extract(epoch from '2026-08-10 17:51:30'::timestamp) - extract(epoch from '2026-08-10 17:51: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'), 48138, 'SRID=4674;POINT (-39.023535 -3.354657)', '2026-08-10 17:51:37', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023499 -3.354667)'), GeomFromEWKT('SRID=4674;POINT (-39.023535 -3.354657)'))) / (select extract(epoch from '2026-08-10 17:51:37'::timestamp) - extract(epoch from '2026-08-10 17:51:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023499 -3.354667)'), GeomFromEWKT('SRID=4674;POINT (-39.023535 -3.354657)'))) / (select extract(epoch from '2026-08-10 17:51:37'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.023591 -3.354642)', '2026-08-10 17:51:47', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023535 -3.354657)'), GeomFromEWKT('SRID=4674;POINT (-39.023591 -3.354642)'))) / (select extract(epoch from '2026-08-10 17:51:47'::timestamp) - extract(epoch from '2026-08-10 17:51:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023535 -3.354657)'), GeomFromEWKT('SRID=4674;POINT (-39.023591 -3.354642)'))) / (select extract(epoch from '2026-08-10 17:51:47'::timestamp) - extract(epoch from '2026-08-10 17:51: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'), 48138, 'SRID=4674;POINT (-39.023653 -3.354629)', '2026-08-10 17:51:56', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023591 -3.354642)'), GeomFromEWKT('SRID=4674;POINT (-39.023653 -3.354629)'))) / (select extract(epoch from '2026-08-10 17:51:56'::timestamp) - extract(epoch from '2026-08-10 17:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023591 -3.354642)'), GeomFromEWKT('SRID=4674;POINT (-39.023653 -3.354629)'))) / (select extract(epoch from '2026-08-10 17:51:56'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.023704 -3.354615)', '2026-08-10 17:52:03', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023653 -3.354629)'), GeomFromEWKT('SRID=4674;POINT (-39.023704 -3.354615)'))) / (select extract(epoch from '2026-08-10 17:52:03'::timestamp) - extract(epoch from '2026-08-10 17:51:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023653 -3.354629)'), GeomFromEWKT('SRID=4674;POINT (-39.023704 -3.354615)'))) / (select extract(epoch from '2026-08-10 17:52:03'::timestamp) - extract(epoch from '2026-08-10 17:51: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'), 48138, 'SRID=4674;POINT (-39.023743 -3.354603)', '2026-08-10 17:52:09', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023704 -3.354615)'), GeomFromEWKT('SRID=4674;POINT (-39.023743 -3.354603)'))) / (select extract(epoch from '2026-08-10 17:52:09'::timestamp) - extract(epoch from '2026-08-10 17:52:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023704 -3.354615)'), GeomFromEWKT('SRID=4674;POINT (-39.023743 -3.354603)'))) / (select extract(epoch from '2026-08-10 17:52:09'::timestamp) - extract(epoch from '2026-08-10 17:52: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'), 48138, 'SRID=4674;POINT (-39.023774 -3.354584)', '2026-08-10 17:52:14', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023743 -3.354603)'), GeomFromEWKT('SRID=4674;POINT (-39.023774 -3.354584)'))) / (select extract(epoch from '2026-08-10 17:52:14'::timestamp) - extract(epoch from '2026-08-10 17:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023743 -3.354603)'), GeomFromEWKT('SRID=4674;POINT (-39.023774 -3.354584)'))) / (select extract(epoch from '2026-08-10 17:52:14'::timestamp) - extract(epoch from '2026-08-10 17:52: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'), 48138, 'SRID=4674;POINT (-39.02381 -3.354571)', '2026-08-10 17:52:18', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023774 -3.354584)'), GeomFromEWKT('SRID=4674;POINT (-39.02381 -3.354571)'))) / (select extract(epoch from '2026-08-10 17:52:18'::timestamp) - extract(epoch from '2026-08-10 17:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023774 -3.354584)'), GeomFromEWKT('SRID=4674;POINT (-39.02381 -3.354571)'))) / (select extract(epoch from '2026-08-10 17:52:18'::timestamp) - extract(epoch from '2026-08-10 17:52: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'), 48138, 'SRID=4674;POINT (-39.02382 -3.354566)', '2026-08-10 17:52:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02381 -3.354571)'), GeomFromEWKT('SRID=4674;POINT (-39.02382 -3.354566)'))) / (select extract(epoch from '2026-08-10 17:52:20'::timestamp) - extract(epoch from '2026-08-10 17:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02381 -3.354571)'), GeomFromEWKT('SRID=4674;POINT (-39.02382 -3.354566)'))) / (select extract(epoch from '2026-08-10 17:52:20'::timestamp) - extract(epoch from '2026-08-10 17:52:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.023837 -3.354558)', '2026-08-10 17:52:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02382 -3.354566)'), GeomFromEWKT('SRID=4674;POINT (-39.023837 -3.354558)'))) / (select extract(epoch from '2026-08-10 17:52:22'::timestamp) - extract(epoch from '2026-08-10 17:52:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02382 -3.354566)'), GeomFromEWKT('SRID=4674;POINT (-39.023837 -3.354558)'))) / (select extract(epoch from '2026-08-10 17:52:22'::timestamp) - extract(epoch from '2026-08-10 17:52: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'), 48138, 'SRID=4674;POINT (-39.02385 -3.354554)', '2026-08-10 17:52:24', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023837 -3.354558)'), GeomFromEWKT('SRID=4674;POINT (-39.02385 -3.354554)'))) / (select extract(epoch from '2026-08-10 17:52:24'::timestamp) - extract(epoch from '2026-08-10 17:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023837 -3.354558)'), GeomFromEWKT('SRID=4674;POINT (-39.02385 -3.354554)'))) / (select extract(epoch from '2026-08-10 17:52:24'::timestamp) - extract(epoch from '2026-08-10 17:52: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'), 48138, 'SRID=4674;POINT (-39.023899 -3.354543)', '2026-08-10 17:52:31', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02385 -3.354554)'), GeomFromEWKT('SRID=4674;POINT (-39.023899 -3.354543)'))) / (select extract(epoch from '2026-08-10 17:52:31'::timestamp) - extract(epoch from '2026-08-10 17:52:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02385 -3.354554)'), GeomFromEWKT('SRID=4674;POINT (-39.023899 -3.354543)'))) / (select extract(epoch from '2026-08-10 17:52:31'::timestamp) - extract(epoch from '2026-08-10 17:52:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.023943 -3.354528)', '2026-08-10 17:52:37', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023899 -3.354543)'), GeomFromEWKT('SRID=4674;POINT (-39.023943 -3.354528)'))) / (select extract(epoch from '2026-08-10 17:52:37'::timestamp) - extract(epoch from '2026-08-10 17:52:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023899 -3.354543)'), GeomFromEWKT('SRID=4674;POINT (-39.023943 -3.354528)'))) / (select extract(epoch from '2026-08-10 17:52:37'::timestamp) - extract(epoch from '2026-08-10 17:52: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'), 48138, 'SRID=4674;POINT (-39.023951 -3.354525)', '2026-08-10 17:52:38', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023943 -3.354528)'), GeomFromEWKT('SRID=4674;POINT (-39.023951 -3.354525)'))) / (select extract(epoch from '2026-08-10 17:52:38'::timestamp) - extract(epoch from '2026-08-10 17:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023943 -3.354528)'), GeomFromEWKT('SRID=4674;POINT (-39.023951 -3.354525)'))) / (select extract(epoch from '2026-08-10 17:52:38'::timestamp) - extract(epoch from '2026-08-10 17:52:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.023988 -3.35451)', '2026-08-10 17:52:44', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023951 -3.354525)'), GeomFromEWKT('SRID=4674;POINT (-39.023988 -3.35451)'))) / (select extract(epoch from '2026-08-10 17:52:44'::timestamp) - extract(epoch from '2026-08-10 17:52:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023951 -3.354525)'), GeomFromEWKT('SRID=4674;POINT (-39.023988 -3.35451)'))) / (select extract(epoch from '2026-08-10 17:52:44'::timestamp) - extract(epoch from '2026-08-10 17:52: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'), 48138, 'SRID=4674;POINT (-39.024029 -3.354497)', '2026-08-10 17:52:50', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023988 -3.35451)'), GeomFromEWKT('SRID=4674;POINT (-39.024029 -3.354497)'))) / (select extract(epoch from '2026-08-10 17:52:50'::timestamp) - extract(epoch from '2026-08-10 17:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023988 -3.35451)'), GeomFromEWKT('SRID=4674;POINT (-39.024029 -3.354497)'))) / (select extract(epoch from '2026-08-10 17:52:50'::timestamp) - extract(epoch from '2026-08-10 17:52: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'), 48138, 'SRID=4674;POINT (-39.024065 -3.354488)', '2026-08-10 17:52:54', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024029 -3.354497)'), GeomFromEWKT('SRID=4674;POINT (-39.024065 -3.354488)'))) / (select extract(epoch from '2026-08-10 17:52:54'::timestamp) - extract(epoch from '2026-08-10 17:52:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024029 -3.354497)'), GeomFromEWKT('SRID=4674;POINT (-39.024065 -3.354488)'))) / (select extract(epoch from '2026-08-10 17:52:54'::timestamp) - extract(epoch from '2026-08-10 17:52: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'), 48138, 'SRID=4674;POINT (-39.024119 -3.354475)', '2026-08-10 17:53:02', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024065 -3.354488)'), GeomFromEWKT('SRID=4674;POINT (-39.024119 -3.354475)'))) / (select extract(epoch from '2026-08-10 17:53:02'::timestamp) - extract(epoch from '2026-08-10 17:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024065 -3.354488)'), GeomFromEWKT('SRID=4674;POINT (-39.024119 -3.354475)'))) / (select extract(epoch from '2026-08-10 17:53:02'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.024165 -3.354464)', '2026-08-10 17:53:09', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024119 -3.354475)'), GeomFromEWKT('SRID=4674;POINT (-39.024165 -3.354464)'))) / (select extract(epoch from '2026-08-10 17:53:09'::timestamp) - extract(epoch from '2026-08-10 17:53:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024119 -3.354475)'), GeomFromEWKT('SRID=4674;POINT (-39.024165 -3.354464)'))) / (select extract(epoch from '2026-08-10 17:53:09'::timestamp) - extract(epoch from '2026-08-10 17:53:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.02418 -3.354477)', '2026-08-10 17:53:17', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024165 -3.354464)'), GeomFromEWKT('SRID=4674;POINT (-39.02418 -3.354477)'))) / (select extract(epoch from '2026-08-10 17:53:17'::timestamp) - extract(epoch from '2026-08-10 17:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024165 -3.354464)'), GeomFromEWKT('SRID=4674;POINT (-39.02418 -3.354477)'))) / (select extract(epoch from '2026-08-10 17:53:17'::timestamp) - extract(epoch from '2026-08-10 17:53:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024171 -3.354495)', '2026-08-10 17:53:25', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02418 -3.354477)'), GeomFromEWKT('SRID=4674;POINT (-39.024171 -3.354495)'))) / (select extract(epoch from '2026-08-10 17:53:25'::timestamp) - extract(epoch from '2026-08-10 17:53:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02418 -3.354477)'), GeomFromEWKT('SRID=4674;POINT (-39.024171 -3.354495)'))) / (select extract(epoch from '2026-08-10 17:53:25'::timestamp) - extract(epoch from '2026-08-10 17:53: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'), 48138, 'SRID=4674;POINT (-39.024171 -3.354505)', '2026-08-10 17:53:38', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024171 -3.354495)'), GeomFromEWKT('SRID=4674;POINT (-39.024171 -3.354505)'))) / (select extract(epoch from '2026-08-10 17:53:38'::timestamp) - extract(epoch from '2026-08-10 17:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024171 -3.354495)'), GeomFromEWKT('SRID=4674;POINT (-39.024171 -3.354505)'))) / (select extract(epoch from '2026-08-10 17:53:38'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.024176 -3.354518)', '2026-08-10 17:53:44', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024171 -3.354505)'), GeomFromEWKT('SRID=4674;POINT (-39.024176 -3.354518)'))) / (select extract(epoch from '2026-08-10 17:53:44'::timestamp) - extract(epoch from '2026-08-10 17:53:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024171 -3.354505)'), GeomFromEWKT('SRID=4674;POINT (-39.024176 -3.354518)'))) / (select extract(epoch from '2026-08-10 17:53:44'::timestamp) - extract(epoch from '2026-08-10 17:53: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'), 48138, 'SRID=4674;POINT (-39.024178 -3.354522)', '2026-08-10 17:53:52', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024176 -3.354518)'), GeomFromEWKT('SRID=4674;POINT (-39.024178 -3.354522)'))) / (select extract(epoch from '2026-08-10 17:53:52'::timestamp) - extract(epoch from '2026-08-10 17:53:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024176 -3.354518)'), GeomFromEWKT('SRID=4674;POINT (-39.024178 -3.354522)'))) / (select extract(epoch from '2026-08-10 17:53:52'::timestamp) - extract(epoch from '2026-08-10 17:53: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'), 48138, 'SRID=4674;POINT (-39.024198 -3.354527)', '2026-08-10 17:53:59', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024178 -3.354522)'), GeomFromEWKT('SRID=4674;POINT (-39.024198 -3.354527)'))) / (select extract(epoch from '2026-08-10 17:53:59'::timestamp) - extract(epoch from '2026-08-10 17:53:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024178 -3.354522)'), GeomFromEWKT('SRID=4674;POINT (-39.024198 -3.354527)'))) / (select extract(epoch from '2026-08-10 17:53:59'::timestamp) - extract(epoch from '2026-08-10 17:53: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'), 48138, 'SRID=4674;POINT (-39.024198 -3.354531)', '2026-08-10 17:54:07', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024198 -3.354527)'), GeomFromEWKT('SRID=4674;POINT (-39.024198 -3.354531)'))) / (select extract(epoch from '2026-08-10 17:54:07'::timestamp) - extract(epoch from '2026-08-10 17:53:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024198 -3.354527)'), GeomFromEWKT('SRID=4674;POINT (-39.024198 -3.354531)'))) / (select extract(epoch from '2026-08-10 17:54:07'::timestamp) - extract(epoch from '2026-08-10 17:53: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'), 48138, 'SRID=4674;POINT (-39.024192 -3.354537)', '2026-08-10 17:54:16', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024198 -3.354531)'), GeomFromEWKT('SRID=4674;POINT (-39.024192 -3.354537)'))) / (select extract(epoch from '2026-08-10 17:54:16'::timestamp) - extract(epoch from '2026-08-10 17:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024198 -3.354531)'), GeomFromEWKT('SRID=4674;POINT (-39.024192 -3.354537)'))) / (select extract(epoch from '2026-08-10 17:54:16'::timestamp) - extract(epoch from '2026-08-10 17:54: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'), 48138, 'SRID=4674;POINT (-39.024206 -3.354536)', '2026-08-10 17:54:21', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024192 -3.354537)'), GeomFromEWKT('SRID=4674;POINT (-39.024206 -3.354536)'))) / (select extract(epoch from '2026-08-10 17:54:21'::timestamp) - extract(epoch from '2026-08-10 17:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024192 -3.354537)'), GeomFromEWKT('SRID=4674;POINT (-39.024206 -3.354536)'))) / (select extract(epoch from '2026-08-10 17:54:21'::timestamp) - extract(epoch from '2026-08-10 17:54:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024225 -3.354549)', '2026-08-10 17:54:29', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024206 -3.354536)'), GeomFromEWKT('SRID=4674;POINT (-39.024225 -3.354549)'))) / (select extract(epoch from '2026-08-10 17:54:29'::timestamp) - extract(epoch from '2026-08-10 17:54:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024206 -3.354536)'), GeomFromEWKT('SRID=4674;POINT (-39.024225 -3.354549)'))) / (select extract(epoch from '2026-08-10 17:54:29'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.024223 -3.354547)', '2026-08-10 17:54:33', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024225 -3.354549)'), GeomFromEWKT('SRID=4674;POINT (-39.024223 -3.354547)'))) / (select extract(epoch from '2026-08-10 17:54:33'::timestamp) - extract(epoch from '2026-08-10 17:54:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024225 -3.354549)'), GeomFromEWKT('SRID=4674;POINT (-39.024223 -3.354547)'))) / (select extract(epoch from '2026-08-10 17:54:33'::timestamp) - extract(epoch from '2026-08-10 17:54: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'), 48138, 'SRID=4674;POINT (-39.024233 -3.354542)', '2026-08-10 17:54:36', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024223 -3.354547)'), GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.354542)'))) / (select extract(epoch from '2026-08-10 17:54:36'::timestamp) - extract(epoch from '2026-08-10 17:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024223 -3.354547)'), GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.354542)'))) / (select extract(epoch from '2026-08-10 17:54:36'::timestamp) - extract(epoch from '2026-08-10 17:54: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'), 48138, 'SRID=4674;POINT (-39.024225 -3.354546)', '2026-08-10 17:54:45', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.354542)'), GeomFromEWKT('SRID=4674;POINT (-39.024225 -3.354546)'))) / (select extract(epoch from '2026-08-10 17:54:45'::timestamp) - extract(epoch from '2026-08-10 17:54:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.354542)'), GeomFromEWKT('SRID=4674;POINT (-39.024225 -3.354546)'))) / (select extract(epoch from '2026-08-10 17:54:45'::timestamp) - extract(epoch from '2026-08-10 17:54:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024238 -3.35456)', '2026-08-10 17:54:50', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024225 -3.354546)'), GeomFromEWKT('SRID=4674;POINT (-39.024238 -3.35456)'))) / (select extract(epoch from '2026-08-10 17:54:50'::timestamp) - extract(epoch from '2026-08-10 17:54:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024225 -3.354546)'), GeomFromEWKT('SRID=4674;POINT (-39.024238 -3.35456)'))) / (select extract(epoch from '2026-08-10 17:54:50'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.024227 -3.354558)', '2026-08-10 17:54:58', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024238 -3.35456)'), GeomFromEWKT('SRID=4674;POINT (-39.024227 -3.354558)'))) / (select extract(epoch from '2026-08-10 17:54:58'::timestamp) - extract(epoch from '2026-08-10 17:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024238 -3.35456)'), GeomFromEWKT('SRID=4674;POINT (-39.024227 -3.354558)'))) / (select extract(epoch from '2026-08-10 17:54:58'::timestamp) - extract(epoch from '2026-08-10 17:54: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'), 48138, 'SRID=4674;POINT (-39.024228 -3.354557)', '2026-08-10 17:55:06', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024227 -3.354558)'), GeomFromEWKT('SRID=4674;POINT (-39.024228 -3.354557)'))) / (select extract(epoch from '2026-08-10 17:55:06'::timestamp) - extract(epoch from '2026-08-10 17:54:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024227 -3.354558)'), GeomFromEWKT('SRID=4674;POINT (-39.024228 -3.354557)'))) / (select extract(epoch from '2026-08-10 17:55:06'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.024234 -3.354569)', '2026-08-10 17:55:13', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024228 -3.354557)'), GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354569)'))) / (select extract(epoch from '2026-08-10 17:55:13'::timestamp) - extract(epoch from '2026-08-10 17:55:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024228 -3.354557)'), GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354569)'))) / (select extract(epoch from '2026-08-10 17:55:13'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.024228 -3.35456)', '2026-08-10 17:55:20', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354569)'), GeomFromEWKT('SRID=4674;POINT (-39.024228 -3.35456)'))) / (select extract(epoch from '2026-08-10 17:55:20'::timestamp) - extract(epoch from '2026-08-10 17:55:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354569)'), GeomFromEWKT('SRID=4674;POINT (-39.024228 -3.35456)'))) / (select extract(epoch from '2026-08-10 17:55:20'::timestamp) - extract(epoch from '2026-08-10 17:55: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'), 48138, 'SRID=4674;POINT (-39.02423 -3.354555)', '2026-08-10 17:55:26', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024228 -3.35456)'), GeomFromEWKT('SRID=4674;POINT (-39.02423 -3.354555)'))) / (select extract(epoch from '2026-08-10 17:55:26'::timestamp) - extract(epoch from '2026-08-10 17:55:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024228 -3.35456)'), GeomFromEWKT('SRID=4674;POINT (-39.02423 -3.354555)'))) / (select extract(epoch from '2026-08-10 17:55:26'::timestamp) - extract(epoch from '2026-08-10 17:55: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'), 48138, 'SRID=4674;POINT (-39.024239 -3.354554)', '2026-08-10 17:55:33', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02423 -3.354555)'), GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354554)'))) / (select extract(epoch from '2026-08-10 17:55:33'::timestamp) - extract(epoch from '2026-08-10 17:55:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02423 -3.354555)'), GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354554)'))) / (select extract(epoch from '2026-08-10 17:55:33'::timestamp) - extract(epoch from '2026-08-10 17:55:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024235 -3.354551)', '2026-08-10 17:55:36', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354554)'), GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354551)'))) / (select extract(epoch from '2026-08-10 17:55:36'::timestamp) - extract(epoch from '2026-08-10 17:55:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354554)'), GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354551)'))) / (select extract(epoch from '2026-08-10 17:55:36'::timestamp) - extract(epoch from '2026-08-10 17:55:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024235 -3.354548)', '2026-08-10 17:55:39', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354551)'), GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354548)'))) / (select extract(epoch from '2026-08-10 17:55:39'::timestamp) - extract(epoch from '2026-08-10 17:55:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354551)'), GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354548)'))) / (select extract(epoch from '2026-08-10 17:55:39'::timestamp) - extract(epoch from '2026-08-10 17:55:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024236 -3.354554)', '2026-08-10 17:55:47', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354548)'), GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354554)'))) / (select extract(epoch from '2026-08-10 17:55:47'::timestamp) - extract(epoch from '2026-08-10 17:55:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354548)'), GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354554)'))) / (select extract(epoch from '2026-08-10 17:55:47'::timestamp) - extract(epoch from '2026-08-10 17:55: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'), 48138, 'SRID=4674;POINT (-39.024239 -3.354567)', '2026-08-10 17:55:54', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354554)'), GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354567)'))) / (select extract(epoch from '2026-08-10 17:55:54'::timestamp) - extract(epoch from '2026-08-10 17:55:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354554)'), GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354567)'))) / (select extract(epoch from '2026-08-10 17:55:54'::timestamp) - extract(epoch from '2026-08-10 17:55: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'), 48138, 'SRID=4674;POINT (-39.02424 -3.354571)', '2026-08-10 17:56:00', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354567)'), GeomFromEWKT('SRID=4674;POINT (-39.02424 -3.354571)'))) / (select extract(epoch from '2026-08-10 17:56:00'::timestamp) - extract(epoch from '2026-08-10 17:55:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354567)'), GeomFromEWKT('SRID=4674;POINT (-39.02424 -3.354571)'))) / (select extract(epoch from '2026-08-10 17:56:00'::timestamp) - extract(epoch from '2026-08-10 17:55:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024228 -3.354572)', '2026-08-10 17:56:09', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02424 -3.354571)'), GeomFromEWKT('SRID=4674;POINT (-39.024228 -3.354572)'))) / (select extract(epoch from '2026-08-10 17:56:09'::timestamp) - extract(epoch from '2026-08-10 17:56:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02424 -3.354571)'), GeomFromEWKT('SRID=4674;POINT (-39.024228 -3.354572)'))) / (select extract(epoch from '2026-08-10 17:56:09'::timestamp) - extract(epoch from '2026-08-10 17:56: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'), 48138, 'SRID=4674;POINT (-39.024227 -3.354569)', '2026-08-10 17:56:14', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024228 -3.354572)'), GeomFromEWKT('SRID=4674;POINT (-39.024227 -3.354569)'))) / (select extract(epoch from '2026-08-10 17:56:14'::timestamp) - extract(epoch from '2026-08-10 17:56:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024228 -3.354572)'), GeomFromEWKT('SRID=4674;POINT (-39.024227 -3.354569)'))) / (select extract(epoch from '2026-08-10 17:56:14'::timestamp) - extract(epoch from '2026-08-10 17:56: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'), 48138, 'SRID=4674;POINT (-39.024242 -3.354575)', '2026-08-10 17:56:23', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024227 -3.354569)'), GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354575)'))) / (select extract(epoch from '2026-08-10 17:56:23'::timestamp) - extract(epoch from '2026-08-10 17:56:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024227 -3.354569)'), GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354575)'))) / (select extract(epoch from '2026-08-10 17:56:23'::timestamp) - extract(epoch from '2026-08-10 17:56:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024244 -3.354576)', '2026-08-10 17:56:32', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354575)'), GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.354576)'))) / (select extract(epoch from '2026-08-10 17:56:32'::timestamp) - extract(epoch from '2026-08-10 17:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354575)'), GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.354576)'))) / (select extract(epoch from '2026-08-10 17:56:32'::timestamp) - extract(epoch from '2026-08-10 17:56: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'), 48138, 'SRID=4674;POINT (-39.024244 -3.354585)', '2026-08-10 17:56:41', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.354576)'), GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.354585)'))) / (select extract(epoch from '2026-08-10 17:56:41'::timestamp) - extract(epoch from '2026-08-10 17:56:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.354576)'), GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.354585)'))) / (select extract(epoch from '2026-08-10 17:56:41'::timestamp) - extract(epoch from '2026-08-10 17:56: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'), 48138, 'SRID=4674;POINT (-39.024247 -3.35459)', '2026-08-10 17:56:49', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.354585)'), GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.35459)'))) / (select extract(epoch from '2026-08-10 17:56:49'::timestamp) - extract(epoch from '2026-08-10 17:56:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.354585)'), GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.35459)'))) / (select extract(epoch from '2026-08-10 17:56:49'::timestamp) - extract(epoch from '2026-08-10 17:56: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'), 48138, 'SRID=4674;POINT (-39.024255 -3.354589)', '2026-08-10 17:56:55', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.35459)'), GeomFromEWKT('SRID=4674;POINT (-39.024255 -3.354589)'))) / (select extract(epoch from '2026-08-10 17:56:55'::timestamp) - extract(epoch from '2026-08-10 17:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.35459)'), GeomFromEWKT('SRID=4674;POINT (-39.024255 -3.354589)'))) / (select extract(epoch from '2026-08-10 17:56:55'::timestamp) - extract(epoch from '2026-08-10 17:56: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'), 48138, 'SRID=4674;POINT (-39.02426 -3.354591)', '2026-08-10 17:57:03', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024255 -3.354589)'), GeomFromEWKT('SRID=4674;POINT (-39.02426 -3.354591)'))) / (select extract(epoch from '2026-08-10 17:57:03'::timestamp) - extract(epoch from '2026-08-10 17:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024255 -3.354589)'), GeomFromEWKT('SRID=4674;POINT (-39.02426 -3.354591)'))) / (select extract(epoch from '2026-08-10 17:57:03'::timestamp) - extract(epoch from '2026-08-10 17:56: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'), 48138, 'SRID=4674;POINT (-39.024268 -3.354598)', '2026-08-10 17:57:18', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02426 -3.354591)'), GeomFromEWKT('SRID=4674;POINT (-39.024268 -3.354598)'))) / (select extract(epoch from '2026-08-10 17:57:18'::timestamp) - extract(epoch from '2026-08-10 17:57:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02426 -3.354591)'), GeomFromEWKT('SRID=4674;POINT (-39.024268 -3.354598)'))) / (select extract(epoch from '2026-08-10 17:57:18'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.024268 -3.354604)', '2026-08-10 17:57:32', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024268 -3.354598)'), GeomFromEWKT('SRID=4674;POINT (-39.024268 -3.354604)'))) / (select extract(epoch from '2026-08-10 17:57:32'::timestamp) - extract(epoch from '2026-08-10 17:57:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024268 -3.354598)'), GeomFromEWKT('SRID=4674;POINT (-39.024268 -3.354604)'))) / (select extract(epoch from '2026-08-10 17:57:32'::timestamp) - extract(epoch from '2026-08-10 17:57: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'), 48138, 'SRID=4674;POINT (-39.024272 -3.354613)', '2026-08-10 17:57:41', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024268 -3.354604)'), GeomFromEWKT('SRID=4674;POINT (-39.024272 -3.354613)'))) / (select extract(epoch from '2026-08-10 17:57:41'::timestamp) - extract(epoch from '2026-08-10 17:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024268 -3.354604)'), GeomFromEWKT('SRID=4674;POINT (-39.024272 -3.354613)'))) / (select extract(epoch from '2026-08-10 17:57:41'::timestamp) - extract(epoch from '2026-08-10 17:57: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'), 48138, 'SRID=4674;POINT (-39.024284 -3.354617)', '2026-08-10 17:57:49', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024272 -3.354613)'), GeomFromEWKT('SRID=4674;POINT (-39.024284 -3.354617)'))) / (select extract(epoch from '2026-08-10 17:57:49'::timestamp) - extract(epoch from '2026-08-10 17:57:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024272 -3.354613)'), GeomFromEWKT('SRID=4674;POINT (-39.024284 -3.354617)'))) / (select extract(epoch from '2026-08-10 17:57:49'::timestamp) - extract(epoch from '2026-08-10 17:57:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024268 -3.354626)', '2026-08-10 17:57:57', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024284 -3.354617)'), GeomFromEWKT('SRID=4674;POINT (-39.024268 -3.354626)'))) / (select extract(epoch from '2026-08-10 17:57:57'::timestamp) - extract(epoch from '2026-08-10 17:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024284 -3.354617)'), GeomFromEWKT('SRID=4674;POINT (-39.024268 -3.354626)'))) / (select extract(epoch from '2026-08-10 17:57:57'::timestamp) - extract(epoch from '2026-08-10 17:57: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'), 48138, 'SRID=4674;POINT (-39.024267 -3.354633)', '2026-08-10 17:58:03', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024268 -3.354626)'), GeomFromEWKT('SRID=4674;POINT (-39.024267 -3.354633)'))) / (select extract(epoch from '2026-08-10 17:58:03'::timestamp) - extract(epoch from '2026-08-10 17:57:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024268 -3.354626)'), GeomFromEWKT('SRID=4674;POINT (-39.024267 -3.354633)'))) / (select extract(epoch from '2026-08-10 17:58:03'::timestamp) - extract(epoch from '2026-08-10 17:57:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024267 -3.354627)', '2026-08-10 17:58:11', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024267 -3.354633)'), GeomFromEWKT('SRID=4674;POINT (-39.024267 -3.354627)'))) / (select extract(epoch from '2026-08-10 17:58:11'::timestamp) - extract(epoch from '2026-08-10 17:58:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024267 -3.354633)'), GeomFromEWKT('SRID=4674;POINT (-39.024267 -3.354627)'))) / (select extract(epoch from '2026-08-10 17:58:11'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.024268 -3.354633)', '2026-08-10 17:58:26', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024267 -3.354627)'), GeomFromEWKT('SRID=4674;POINT (-39.024268 -3.354633)'))) / (select extract(epoch from '2026-08-10 17:58:26'::timestamp) - extract(epoch from '2026-08-10 17:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024267 -3.354627)'), GeomFromEWKT('SRID=4674;POINT (-39.024268 -3.354633)'))) / (select extract(epoch from '2026-08-10 17:58:26'::timestamp) - extract(epoch from '2026-08-10 17:58: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'), 48138, 'SRID=4674;POINT (-39.024263 -3.354634)', '2026-08-10 17:58:39', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024268 -3.354633)'), GeomFromEWKT('SRID=4674;POINT (-39.024263 -3.354634)'))) / (select extract(epoch from '2026-08-10 17:58:39'::timestamp) - extract(epoch from '2026-08-10 17:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024268 -3.354633)'), GeomFromEWKT('SRID=4674;POINT (-39.024263 -3.354634)'))) / (select extract(epoch from '2026-08-10 17:58:39'::timestamp) - extract(epoch from '2026-08-10 17:58: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'), 48138, 'SRID=4674;POINT (-39.024259 -3.354634)', '2026-08-10 17:58:47', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024263 -3.354634)'), GeomFromEWKT('SRID=4674;POINT (-39.024259 -3.354634)'))) / (select extract(epoch from '2026-08-10 17:58:47'::timestamp) - extract(epoch from '2026-08-10 17:58:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024263 -3.354634)'), GeomFromEWKT('SRID=4674;POINT (-39.024259 -3.354634)'))) / (select extract(epoch from '2026-08-10 17:58:47'::timestamp) - extract(epoch from '2026-08-10 17:58: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'), 48138, 'SRID=4674;POINT (-39.024255 -3.354637)', '2026-08-10 17:58:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024259 -3.354634)'), GeomFromEWKT('SRID=4674;POINT (-39.024255 -3.354637)'))) / (select extract(epoch from '2026-08-10 17:58:56'::timestamp) - extract(epoch from '2026-08-10 17:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024259 -3.354634)'), GeomFromEWKT('SRID=4674;POINT (-39.024255 -3.354637)'))) / (select extract(epoch from '2026-08-10 17:58:56'::timestamp) - extract(epoch from '2026-08-10 17:58:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024252 -3.354632)', '2026-08-10 17:59:02', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024255 -3.354637)'), GeomFromEWKT('SRID=4674;POINT (-39.024252 -3.354632)'))) / (select extract(epoch from '2026-08-10 17:59:02'::timestamp) - extract(epoch from '2026-08-10 17:58:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024255 -3.354637)'), GeomFromEWKT('SRID=4674;POINT (-39.024252 -3.354632)'))) / (select extract(epoch from '2026-08-10 17:59:02'::timestamp) - extract(epoch from '2026-08-10 17:58: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'), 48138, 'SRID=4674;POINT (-39.024257 -3.354635)', '2026-08-10 17:59:17', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024252 -3.354632)'), GeomFromEWKT('SRID=4674;POINT (-39.024257 -3.354635)'))) / (select extract(epoch from '2026-08-10 17:59:17'::timestamp) - extract(epoch from '2026-08-10 17:59:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024252 -3.354632)'), GeomFromEWKT('SRID=4674;POINT (-39.024257 -3.354635)'))) / (select extract(epoch from '2026-08-10 17:59:17'::timestamp) - extract(epoch from '2026-08-10 17:59: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'), 48138, 'SRID=4674;POINT (-39.024248 -3.354633)', '2026-08-10 17:59:27', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024257 -3.354635)'), GeomFromEWKT('SRID=4674;POINT (-39.024248 -3.354633)'))) / (select extract(epoch from '2026-08-10 17:59:27'::timestamp) - extract(epoch from '2026-08-10 17:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024257 -3.354635)'), GeomFromEWKT('SRID=4674;POINT (-39.024248 -3.354633)'))) / (select extract(epoch from '2026-08-10 17:59:27'::timestamp) - extract(epoch from '2026-08-10 17:59: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'), 48138, 'SRID=4674;POINT (-39.024258 -3.354631)', '2026-08-10 17:59:30', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024248 -3.354633)'), GeomFromEWKT('SRID=4674;POINT (-39.024258 -3.354631)'))) / (select extract(epoch from '2026-08-10 17:59:30'::timestamp) - extract(epoch from '2026-08-10 17:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024248 -3.354633)'), GeomFromEWKT('SRID=4674;POINT (-39.024258 -3.354631)'))) / (select extract(epoch from '2026-08-10 17:59:30'::timestamp) - extract(epoch from '2026-08-10 17:59: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'), 48138, 'SRID=4674;POINT (-39.024261 -3.354633)', '2026-08-10 17:59:32', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024258 -3.354631)'), GeomFromEWKT('SRID=4674;POINT (-39.024261 -3.354633)'))) / (select extract(epoch from '2026-08-10 17:59:32'::timestamp) - extract(epoch from '2026-08-10 17:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024258 -3.354631)'), GeomFromEWKT('SRID=4674;POINT (-39.024261 -3.354633)'))) / (select extract(epoch from '2026-08-10 17:59:32'::timestamp) - extract(epoch from '2026-08-10 17:59: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'), 48138, 'SRID=4674;POINT (-39.024249 -3.354633)', '2026-08-10 17:59:37', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024261 -3.354633)'), GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354633)'))) / (select extract(epoch from '2026-08-10 17:59:37'::timestamp) - extract(epoch from '2026-08-10 17:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024261 -3.354633)'), GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354633)'))) / (select extract(epoch from '2026-08-10 17:59:37'::timestamp) - extract(epoch from '2026-08-10 17:59: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'), 48138, 'SRID=4674;POINT (-39.024239 -3.354639)', '2026-08-10 17:59:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354633)'), GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354639)'))) / (select extract(epoch from '2026-08-10 17:59:45'::timestamp) - extract(epoch from '2026-08-10 17:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354633)'), GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354639)'))) / (select extract(epoch from '2026-08-10 17:59:45'::timestamp) - extract(epoch from '2026-08-10 17:59:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024231 -3.354641)', '2026-08-10 17:59:54', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354639)'), GeomFromEWKT('SRID=4674;POINT (-39.024231 -3.354641)'))) / (select extract(epoch from '2026-08-10 17:59:54'::timestamp) - extract(epoch from '2026-08-10 17:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354639)'), GeomFromEWKT('SRID=4674;POINT (-39.024231 -3.354641)'))) / (select extract(epoch from '2026-08-10 17:59:54'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.024229 -3.354638)', '2026-08-10 18:00:04', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024231 -3.354641)'), GeomFromEWKT('SRID=4674;POINT (-39.024229 -3.354638)'))) / (select extract(epoch from '2026-08-10 18:00:04'::timestamp) - extract(epoch from '2026-08-10 17:59:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024231 -3.354641)'), GeomFromEWKT('SRID=4674;POINT (-39.024229 -3.354638)'))) / (select extract(epoch from '2026-08-10 18:00:04'::timestamp) - extract(epoch from '2026-08-10 17:59:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024229 -3.354651)', '2026-08-10 18:00:13', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024229 -3.354638)'), GeomFromEWKT('SRID=4674;POINT (-39.024229 -3.354651)'))) / (select extract(epoch from '2026-08-10 18:00:13'::timestamp) - extract(epoch from '2026-08-10 18:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024229 -3.354638)'), GeomFromEWKT('SRID=4674;POINT (-39.024229 -3.354651)'))) / (select extract(epoch from '2026-08-10 18:00:13'::timestamp) - extract(epoch from '2026-08-10 18:00: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'), 48138, 'SRID=4674;POINT (-39.024224 -3.35465)', '2026-08-10 18:00:18', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024229 -3.354651)'), GeomFromEWKT('SRID=4674;POINT (-39.024224 -3.35465)'))) / (select extract(epoch from '2026-08-10 18:00:18'::timestamp) - extract(epoch from '2026-08-10 18:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024229 -3.354651)'), GeomFromEWKT('SRID=4674;POINT (-39.024224 -3.35465)'))) / (select extract(epoch from '2026-08-10 18:00:18'::timestamp) - extract(epoch from '2026-08-10 18:00:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024235 -3.354651)', '2026-08-10 18:00:27', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024224 -3.35465)'), GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354651)'))) / (select extract(epoch from '2026-08-10 18:00:27'::timestamp) - extract(epoch from '2026-08-10 18:00:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024224 -3.35465)'), GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354651)'))) / (select extract(epoch from '2026-08-10 18:00:27'::timestamp) - extract(epoch from '2026-08-10 18:00:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024236 -3.354647)', '2026-08-10 18:00:36', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354651)'), GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354647)'))) / (select extract(epoch from '2026-08-10 18:00:36'::timestamp) - extract(epoch from '2026-08-10 18:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354651)'), GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354647)'))) / (select extract(epoch from '2026-08-10 18:00:36'::timestamp) - extract(epoch from '2026-08-10 18: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'), 48138, 'SRID=4674;POINT (-39.024236 -3.354647)', '2026-08-10 18:00:45', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354647)'), GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354647)'))) / (select extract(epoch from '2026-08-10 18:00:45'::timestamp) - extract(epoch from '2026-08-10 18:00:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354647)'), GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354647)'))) / (select extract(epoch from '2026-08-10 18:00:45'::timestamp) - extract(epoch from '2026-08-10 18:00: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'), 48138, 'SRID=4674;POINT (-39.02424 -3.354659)', '2026-08-10 18:00:51', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354647)'), GeomFromEWKT('SRID=4674;POINT (-39.02424 -3.354659)'))) / (select extract(epoch from '2026-08-10 18:00:51'::timestamp) - extract(epoch from '2026-08-10 18:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354647)'), GeomFromEWKT('SRID=4674;POINT (-39.02424 -3.354659)'))) / (select extract(epoch from '2026-08-10 18:00:51'::timestamp) - extract(epoch from '2026-08-10 18: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'), 48138, 'SRID=4674;POINT (-39.024247 -3.354659)', '2026-08-10 18:00:59', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02424 -3.354659)'), GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354659)'))) / (select extract(epoch from '2026-08-10 18:00:59'::timestamp) - extract(epoch from '2026-08-10 18:00:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02424 -3.354659)'), GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354659)'))) / (select extract(epoch from '2026-08-10 18:00:59'::timestamp) - extract(epoch from '2026-08-10 18:00: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'), 48138, 'SRID=4674;POINT (-39.024245 -3.354662)', '2026-08-10 18:01:05', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354659)'), GeomFromEWKT('SRID=4674;POINT (-39.024245 -3.354662)'))) / (select extract(epoch from '2026-08-10 18:01:05'::timestamp) - extract(epoch from '2026-08-10 18:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354659)'), GeomFromEWKT('SRID=4674;POINT (-39.024245 -3.354662)'))) / (select extract(epoch from '2026-08-10 18:01:05'::timestamp) - extract(epoch from '2026-08-10 18:00: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'), 48138, 'SRID=4674;POINT (-39.024244 -3.354667)', '2026-08-10 18:01:11', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024245 -3.354662)'), GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.354667)'))) / (select extract(epoch from '2026-08-10 18:01:11'::timestamp) - extract(epoch from '2026-08-10 18:01:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024245 -3.354662)'), GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.354667)'))) / (select extract(epoch from '2026-08-10 18:01:11'::timestamp) - extract(epoch from '2026-08-10 18: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'), 48138, 'SRID=4674;POINT (-39.024247 -3.354657)', '2026-08-10 18:01:19', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.354667)'), GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354657)'))) / (select extract(epoch from '2026-08-10 18:01:19'::timestamp) - extract(epoch from '2026-08-10 18:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.354667)'), GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354657)'))) / (select extract(epoch from '2026-08-10 18:01:19'::timestamp) - extract(epoch from '2026-08-10 18:01:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024248 -3.354661)', '2026-08-10 18:01:25', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354657)'), GeomFromEWKT('SRID=4674;POINT (-39.024248 -3.354661)'))) / (select extract(epoch from '2026-08-10 18:01:25'::timestamp) - extract(epoch from '2026-08-10 18:01:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354657)'), GeomFromEWKT('SRID=4674;POINT (-39.024248 -3.354661)'))) / (select extract(epoch from '2026-08-10 18:01:25'::timestamp) - extract(epoch from '2026-08-10 18:01: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'), 48138, 'SRID=4674;POINT (-39.024252 -3.354662)', '2026-08-10 18:01:34', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024248 -3.354661)'), GeomFromEWKT('SRID=4674;POINT (-39.024252 -3.354662)'))) / (select extract(epoch from '2026-08-10 18:01:34'::timestamp) - extract(epoch from '2026-08-10 18:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024248 -3.354661)'), GeomFromEWKT('SRID=4674;POINT (-39.024252 -3.354662)'))) / (select extract(epoch from '2026-08-10 18:01:34'::timestamp) - extract(epoch from '2026-08-10 18:01:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024246 -3.354666)', '2026-08-10 18:01:38', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024252 -3.354662)'), GeomFromEWKT('SRID=4674;POINT (-39.024246 -3.354666)'))) / (select extract(epoch from '2026-08-10 18:01:38'::timestamp) - extract(epoch from '2026-08-10 18:01:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024252 -3.354662)'), GeomFromEWKT('SRID=4674;POINT (-39.024246 -3.354666)'))) / (select extract(epoch from '2026-08-10 18:01:38'::timestamp) - extract(epoch from '2026-08-10 18:01:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024239 -3.354663)', '2026-08-10 18:01:44', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024246 -3.354666)'), GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354663)'))) / (select extract(epoch from '2026-08-10 18:01:44'::timestamp) - extract(epoch from '2026-08-10 18:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024246 -3.354666)'), GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354663)'))) / (select extract(epoch from '2026-08-10 18:01:44'::timestamp) - extract(epoch from '2026-08-10 18:01: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'), 48138, 'SRID=4674;POINT (-39.024245 -3.35466)', '2026-08-10 18:01:53', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354663)'), GeomFromEWKT('SRID=4674;POINT (-39.024245 -3.35466)'))) / (select extract(epoch from '2026-08-10 18:01:53'::timestamp) - extract(epoch from '2026-08-10 18:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354663)'), GeomFromEWKT('SRID=4674;POINT (-39.024245 -3.35466)'))) / (select extract(epoch from '2026-08-10 18:01:53'::timestamp) - extract(epoch from '2026-08-10 18:01:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.02425 -3.354655)', '2026-08-10 18:01:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024245 -3.35466)'), GeomFromEWKT('SRID=4674;POINT (-39.02425 -3.354655)'))) / (select extract(epoch from '2026-08-10 18:01:58'::timestamp) - extract(epoch from '2026-08-10 18:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024245 -3.35466)'), GeomFromEWKT('SRID=4674;POINT (-39.02425 -3.354655)'))) / (select extract(epoch from '2026-08-10 18:01:58'::timestamp) - extract(epoch from '2026-08-10 18:01: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'), 48138, 'SRID=4674;POINT (-39.024251 -3.354659)', '2026-08-10 18:02:05', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02425 -3.354655)'), GeomFromEWKT('SRID=4674;POINT (-39.024251 -3.354659)'))) / (select extract(epoch from '2026-08-10 18:02:05'::timestamp) - extract(epoch from '2026-08-10 18:01:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02425 -3.354655)'), GeomFromEWKT('SRID=4674;POINT (-39.024251 -3.354659)'))) / (select extract(epoch from '2026-08-10 18:02:05'::timestamp) - extract(epoch from '2026-08-10 18:01: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'), 48138, 'SRID=4674;POINT (-39.024257 -3.354662)', '2026-08-10 18:02:06', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024251 -3.354659)'), GeomFromEWKT('SRID=4674;POINT (-39.024257 -3.354662)'))) / (select extract(epoch from '2026-08-10 18:02:06'::timestamp) - extract(epoch from '2026-08-10 18:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024251 -3.354659)'), GeomFromEWKT('SRID=4674;POINT (-39.024257 -3.354662)'))) / (select extract(epoch from '2026-08-10 18:02:06'::timestamp) - extract(epoch from '2026-08-10 18:02: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'), 48138, 'SRID=4674;POINT (-39.024249 -3.354658)', '2026-08-10 18:02:11', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024257 -3.354662)'), GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354658)'))) / (select extract(epoch from '2026-08-10 18:02:11'::timestamp) - extract(epoch from '2026-08-10 18:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024257 -3.354662)'), GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354658)'))) / (select extract(epoch from '2026-08-10 18:02:11'::timestamp) - extract(epoch from '2026-08-10 18: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'), 48138, 'SRID=4674;POINT (-39.024246 -3.354655)', '2026-08-10 18:02:20', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354658)'), GeomFromEWKT('SRID=4674;POINT (-39.024246 -3.354655)'))) / (select extract(epoch from '2026-08-10 18:02:20'::timestamp) - extract(epoch from '2026-08-10 18:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354658)'), GeomFromEWKT('SRID=4674;POINT (-39.024246 -3.354655)'))) / (select extract(epoch from '2026-08-10 18:02:20'::timestamp) - extract(epoch from '2026-08-10 18:02: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'), 48138, 'SRID=4674;POINT (-39.024252 -3.354645)', '2026-08-10 18:02:26', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024246 -3.354655)'), GeomFromEWKT('SRID=4674;POINT (-39.024252 -3.354645)'))) / (select extract(epoch from '2026-08-10 18:02:26'::timestamp) - extract(epoch from '2026-08-10 18:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024246 -3.354655)'), GeomFromEWKT('SRID=4674;POINT (-39.024252 -3.354645)'))) / (select extract(epoch from '2026-08-10 18:02:26'::timestamp) - extract(epoch from '2026-08-10 18:02: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'), 48138, 'SRID=4674;POINT (-39.024262 -3.354639)', '2026-08-10 18:02:33', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024252 -3.354645)'), GeomFromEWKT('SRID=4674;POINT (-39.024262 -3.354639)'))) / (select extract(epoch from '2026-08-10 18:02:33'::timestamp) - extract(epoch from '2026-08-10 18:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024252 -3.354645)'), GeomFromEWKT('SRID=4674;POINT (-39.024262 -3.354639)'))) / (select extract(epoch from '2026-08-10 18:02:33'::timestamp) - extract(epoch from '2026-08-10 18:02: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'), 48138, 'SRID=4674;POINT (-39.024256 -3.354635)', '2026-08-10 18:02:38', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024262 -3.354639)'), GeomFromEWKT('SRID=4674;POINT (-39.024256 -3.354635)'))) / (select extract(epoch from '2026-08-10 18:02:38'::timestamp) - extract(epoch from '2026-08-10 18:02:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024262 -3.354639)'), GeomFromEWKT('SRID=4674;POINT (-39.024256 -3.354635)'))) / (select extract(epoch from '2026-08-10 18:02:38'::timestamp) - extract(epoch from '2026-08-10 18:02: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'), 48138, 'SRID=4674;POINT (-39.024256 -3.354635)', '2026-08-10 18:02:44', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024256 -3.354635)'), GeomFromEWKT('SRID=4674;POINT (-39.024256 -3.354635)'))) / (select extract(epoch from '2026-08-10 18:02:44'::timestamp) - extract(epoch from '2026-08-10 18:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024256 -3.354635)'), GeomFromEWKT('SRID=4674;POINT (-39.024256 -3.354635)'))) / (select extract(epoch from '2026-08-10 18:02:44'::timestamp) - extract(epoch from '2026-08-10 18:02: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'), 48138, 'SRID=4674;POINT (-39.024255 -3.35463)', '2026-08-10 18:02:51', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024256 -3.354635)'), GeomFromEWKT('SRID=4674;POINT (-39.024255 -3.35463)'))) / (select extract(epoch from '2026-08-10 18:02:51'::timestamp) - extract(epoch from '2026-08-10 18:02:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024256 -3.354635)'), GeomFromEWKT('SRID=4674;POINT (-39.024255 -3.35463)'))) / (select extract(epoch from '2026-08-10 18:02:51'::timestamp) - extract(epoch from '2026-08-10 18:02:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024249 -3.35463)', '2026-08-10 18:02:56', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024255 -3.35463)'), GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.35463)'))) / (select extract(epoch from '2026-08-10 18:02:56'::timestamp) - extract(epoch from '2026-08-10 18:02:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024255 -3.35463)'), GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.35463)'))) / (select extract(epoch from '2026-08-10 18:02:56'::timestamp) - extract(epoch from '2026-08-10 18:02: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'), 48138, 'SRID=4674;POINT (-39.02426 -3.354621)', '2026-08-10 18:03:03', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.35463)'), GeomFromEWKT('SRID=4674;POINT (-39.02426 -3.354621)'))) / (select extract(epoch from '2026-08-10 18:03:03'::timestamp) - extract(epoch from '2026-08-10 18:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.35463)'), GeomFromEWKT('SRID=4674;POINT (-39.02426 -3.354621)'))) / (select extract(epoch from '2026-08-10 18:03:03'::timestamp) - extract(epoch from '2026-08-10 18:02: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'), 48138, 'SRID=4674;POINT (-39.024261 -3.354621)', '2026-08-10 18:03:12', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02426 -3.354621)'), GeomFromEWKT('SRID=4674;POINT (-39.024261 -3.354621)'))) / (select extract(epoch from '2026-08-10 18:03:12'::timestamp) - extract(epoch from '2026-08-10 18:03:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02426 -3.354621)'), GeomFromEWKT('SRID=4674;POINT (-39.024261 -3.354621)'))) / (select extract(epoch from '2026-08-10 18:03:12'::timestamp) - extract(epoch from '2026-08-10 18:03: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'), 48138, 'SRID=4674;POINT (-39.024273 -3.354612)', '2026-08-10 18:03:19', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024261 -3.354621)'), GeomFromEWKT('SRID=4674;POINT (-39.024273 -3.354612)'))) / (select extract(epoch from '2026-08-10 18:03:19'::timestamp) - extract(epoch from '2026-08-10 18:03:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024261 -3.354621)'), GeomFromEWKT('SRID=4674;POINT (-39.024273 -3.354612)'))) / (select extract(epoch from '2026-08-10 18:03:19'::timestamp) - extract(epoch from '2026-08-10 18: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'), 48138, 'SRID=4674;POINT (-39.024275 -3.354612)', '2026-08-10 18:03:27', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024273 -3.354612)'), GeomFromEWKT('SRID=4674;POINT (-39.024275 -3.354612)'))) / (select extract(epoch from '2026-08-10 18:03:27'::timestamp) - extract(epoch from '2026-08-10 18:03:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024273 -3.354612)'), GeomFromEWKT('SRID=4674;POINT (-39.024275 -3.354612)'))) / (select extract(epoch from '2026-08-10 18:03:27'::timestamp) - extract(epoch from '2026-08-10 18:03: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'), 48138, 'SRID=4674;POINT (-39.02427 -3.354609)', '2026-08-10 18:03:38', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024275 -3.354612)'), GeomFromEWKT('SRID=4674;POINT (-39.02427 -3.354609)'))) / (select extract(epoch from '2026-08-10 18:03:38'::timestamp) - extract(epoch from '2026-08-10 18:03:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024275 -3.354612)'), GeomFromEWKT('SRID=4674;POINT (-39.02427 -3.354609)'))) / (select extract(epoch from '2026-08-10 18:03:38'::timestamp) - extract(epoch from '2026-08-10 18:03:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.02426 -3.35461)', '2026-08-10 18:03:46', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02427 -3.354609)'), GeomFromEWKT('SRID=4674;POINT (-39.02426 -3.35461)'))) / (select extract(epoch from '2026-08-10 18:03:46'::timestamp) - extract(epoch from '2026-08-10 18:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02427 -3.354609)'), GeomFromEWKT('SRID=4674;POINT (-39.02426 -3.35461)'))) / (select extract(epoch from '2026-08-10 18:03:46'::timestamp) - extract(epoch from '2026-08-10 18:03: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'), 48138, 'SRID=4674;POINT (-39.024257 -3.354616)', '2026-08-10 18:03:57', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02426 -3.35461)'), GeomFromEWKT('SRID=4674;POINT (-39.024257 -3.354616)'))) / (select extract(epoch from '2026-08-10 18:03:57'::timestamp) - extract(epoch from '2026-08-10 18:03:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02426 -3.35461)'), GeomFromEWKT('SRID=4674;POINT (-39.024257 -3.354616)'))) / (select extract(epoch from '2026-08-10 18:03:57'::timestamp) - extract(epoch from '2026-08-10 18:03: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'), 48138, 'SRID=4674;POINT (-39.02426 -3.354624)', '2026-08-10 18:04:11', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024257 -3.354616)'), GeomFromEWKT('SRID=4674;POINT (-39.02426 -3.354624)'))) / (select extract(epoch from '2026-08-10 18:04:11'::timestamp) - extract(epoch from '2026-08-10 18:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024257 -3.354616)'), GeomFromEWKT('SRID=4674;POINT (-39.02426 -3.354624)'))) / (select extract(epoch from '2026-08-10 18:04:11'::timestamp) - extract(epoch from '2026-08-10 18: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'), 48138, 'SRID=4674;POINT (-39.024266 -3.354618)', '2026-08-10 18:04:19', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02426 -3.354624)'), GeomFromEWKT('SRID=4674;POINT (-39.024266 -3.354618)'))) / (select extract(epoch from '2026-08-10 18:04:19'::timestamp) - extract(epoch from '2026-08-10 18:04:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02426 -3.354624)'), GeomFromEWKT('SRID=4674;POINT (-39.024266 -3.354618)'))) / (select extract(epoch from '2026-08-10 18:04:19'::timestamp) - extract(epoch from '2026-08-10 18:04: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'), 48138, 'SRID=4674;POINT (-39.024274 -3.354617)', '2026-08-10 18:04:27', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024266 -3.354618)'), GeomFromEWKT('SRID=4674;POINT (-39.024274 -3.354617)'))) / (select extract(epoch from '2026-08-10 18:04:27'::timestamp) - extract(epoch from '2026-08-10 18:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024266 -3.354618)'), GeomFromEWKT('SRID=4674;POINT (-39.024274 -3.354617)'))) / (select extract(epoch from '2026-08-10 18:04:27'::timestamp) - extract(epoch from '2026-08-10 18:04:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024274 -3.354618)', '2026-08-10 18:04:38', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024274 -3.354617)'), GeomFromEWKT('SRID=4674;POINT (-39.024274 -3.354618)'))) / (select extract(epoch from '2026-08-10 18:04:38'::timestamp) - extract(epoch from '2026-08-10 18:04:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024274 -3.354617)'), GeomFromEWKT('SRID=4674;POINT (-39.024274 -3.354618)'))) / (select extract(epoch from '2026-08-10 18:04:38'::timestamp) - extract(epoch from '2026-08-10 18:04: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'), 48138, 'SRID=4674;POINT (-39.024262 -3.354617)', '2026-08-10 18:04:45', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024274 -3.354618)'), GeomFromEWKT('SRID=4674;POINT (-39.024262 -3.354617)'))) / (select extract(epoch from '2026-08-10 18:04:45'::timestamp) - extract(epoch from '2026-08-10 18:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024274 -3.354618)'), GeomFromEWKT('SRID=4674;POINT (-39.024262 -3.354617)'))) / (select extract(epoch from '2026-08-10 18:04:45'::timestamp) - extract(epoch from '2026-08-10 18:04: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'), 48138, 'SRID=4674;POINT (-39.024256 -3.35461)', '2026-08-10 18:04:52', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024262 -3.354617)'), GeomFromEWKT('SRID=4674;POINT (-39.024256 -3.35461)'))) / (select extract(epoch from '2026-08-10 18:04:52'::timestamp) - extract(epoch from '2026-08-10 18:04:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024262 -3.354617)'), GeomFromEWKT('SRID=4674;POINT (-39.024256 -3.35461)'))) / (select extract(epoch from '2026-08-10 18:04:52'::timestamp) - extract(epoch from '2026-08-10 18:04: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'), 48138, 'SRID=4674;POINT (-39.024251 -3.354618)', '2026-08-10 18:04:57', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024256 -3.35461)'), GeomFromEWKT('SRID=4674;POINT (-39.024251 -3.354618)'))) / (select extract(epoch from '2026-08-10 18:04:57'::timestamp) - extract(epoch from '2026-08-10 18:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024256 -3.35461)'), GeomFromEWKT('SRID=4674;POINT (-39.024251 -3.354618)'))) / (select extract(epoch from '2026-08-10 18:04:57'::timestamp) - extract(epoch from '2026-08-10 18:04:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024247 -3.354613)', '2026-08-10 18:05:04', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024251 -3.354618)'), GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354613)'))) / (select extract(epoch from '2026-08-10 18:05:04'::timestamp) - extract(epoch from '2026-08-10 18:04:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024251 -3.354618)'), GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354613)'))) / (select extract(epoch from '2026-08-10 18:05:04'::timestamp) - extract(epoch from '2026-08-10 18:04: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'), 48138, 'SRID=4674;POINT (-39.024242 -3.354614)', '2026-08-10 18:05:12', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354613)'), GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354614)'))) / (select extract(epoch from '2026-08-10 18:05:12'::timestamp) - extract(epoch from '2026-08-10 18:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354613)'), GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354614)'))) / (select extract(epoch from '2026-08-10 18:05:12'::timestamp) - extract(epoch from '2026-08-10 18:05: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'), 48138, 'SRID=4674;POINT (-39.024235 -3.354622)', '2026-08-10 18:05:28', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354614)'), GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354622)'))) / (select extract(epoch from '2026-08-10 18:05:28'::timestamp) - extract(epoch from '2026-08-10 18:05:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354614)'), GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354622)'))) / (select extract(epoch from '2026-08-10 18:05:28'::timestamp) - extract(epoch from '2026-08-10 18:05: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'), 48138, 'SRID=4674;POINT (-39.024239 -3.354626)', '2026-08-10 18:05:41', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354622)'), GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354626)'))) / (select extract(epoch from '2026-08-10 18:05:41'::timestamp) - extract(epoch from '2026-08-10 18:05:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354622)'), GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354626)'))) / (select extract(epoch from '2026-08-10 18:05:41'::timestamp) - extract(epoch from '2026-08-10 18:05: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'), 48138, 'SRID=4674;POINT (-39.024238 -3.35462)', '2026-08-10 18:05:54', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354626)'), GeomFromEWKT('SRID=4674;POINT (-39.024238 -3.35462)'))) / (select extract(epoch from '2026-08-10 18:05:54'::timestamp) - extract(epoch from '2026-08-10 18:05:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354626)'), GeomFromEWKT('SRID=4674;POINT (-39.024238 -3.35462)'))) / (select extract(epoch from '2026-08-10 18:05:54'::timestamp) - extract(epoch from '2026-08-10 18:05: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'), 48138, 'SRID=4674;POINT (-39.024228 -3.354615)', '2026-08-10 18:06:03', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024238 -3.35462)'), GeomFromEWKT('SRID=4674;POINT (-39.024228 -3.354615)'))) / (select extract(epoch from '2026-08-10 18:06:03'::timestamp) - extract(epoch from '2026-08-10 18:05:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024238 -3.35462)'), GeomFromEWKT('SRID=4674;POINT (-39.024228 -3.354615)'))) / (select extract(epoch from '2026-08-10 18:06:03'::timestamp) - extract(epoch from '2026-08-10 18:05:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024227 -3.354625)', '2026-08-10 18:06:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024228 -3.354615)'), GeomFromEWKT('SRID=4674;POINT (-39.024227 -3.354625)'))) / (select extract(epoch from '2026-08-10 18:06:12'::timestamp) - extract(epoch from '2026-08-10 18:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024228 -3.354615)'), GeomFromEWKT('SRID=4674;POINT (-39.024227 -3.354625)'))) / (select extract(epoch from '2026-08-10 18:06:12'::timestamp) - extract(epoch from '2026-08-10 18:06: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'), 48138, 'SRID=4674;POINT (-39.024226 -3.354625)', '2026-08-10 18:06:19', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024227 -3.354625)'), GeomFromEWKT('SRID=4674;POINT (-39.024226 -3.354625)'))) / (select extract(epoch from '2026-08-10 18:06:19'::timestamp) - extract(epoch from '2026-08-10 18:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024227 -3.354625)'), GeomFromEWKT('SRID=4674;POINT (-39.024226 -3.354625)'))) / (select extract(epoch from '2026-08-10 18:06:19'::timestamp) - extract(epoch from '2026-08-10 18:06:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024222 -3.354618)', '2026-08-10 18:06:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024226 -3.354625)'), GeomFromEWKT('SRID=4674;POINT (-39.024222 -3.354618)'))) / (select extract(epoch from '2026-08-10 18:06:26'::timestamp) - extract(epoch from '2026-08-10 18:06:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024226 -3.354625)'), GeomFromEWKT('SRID=4674;POINT (-39.024222 -3.354618)'))) / (select extract(epoch from '2026-08-10 18:06:26'::timestamp) - extract(epoch from '2026-08-10 18:06: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'), 48138, 'SRID=4674;POINT (-39.024229 -3.354618)', '2026-08-10 18:06:36', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024222 -3.354618)'), GeomFromEWKT('SRID=4674;POINT (-39.024229 -3.354618)'))) / (select extract(epoch from '2026-08-10 18:06:36'::timestamp) - extract(epoch from '2026-08-10 18:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024222 -3.354618)'), GeomFromEWKT('SRID=4674;POINT (-39.024229 -3.354618)'))) / (select extract(epoch from '2026-08-10 18:06:36'::timestamp) - extract(epoch from '2026-08-10 18:06:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024233 -3.35461)', '2026-08-10 18:06:43', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024229 -3.354618)'), GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.35461)'))) / (select extract(epoch from '2026-08-10 18:06:43'::timestamp) - extract(epoch from '2026-08-10 18:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024229 -3.354618)'), GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.35461)'))) / (select extract(epoch from '2026-08-10 18:06:43'::timestamp) - extract(epoch from '2026-08-10 18:06: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'), 48138, 'SRID=4674;POINT (-39.024232 -3.354609)', '2026-08-10 18:06:52', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.35461)'), GeomFromEWKT('SRID=4674;POINT (-39.024232 -3.354609)'))) / (select extract(epoch from '2026-08-10 18:06:52'::timestamp) - extract(epoch from '2026-08-10 18:06:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.35461)'), GeomFromEWKT('SRID=4674;POINT (-39.024232 -3.354609)'))) / (select extract(epoch from '2026-08-10 18:06:52'::timestamp) - extract(epoch from '2026-08-10 18:06: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'), 48138, 'SRID=4674;POINT (-39.02425 -3.354607)', '2026-08-10 18:06:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024232 -3.354609)'), GeomFromEWKT('SRID=4674;POINT (-39.02425 -3.354607)'))) / (select extract(epoch from '2026-08-10 18:06:54'::timestamp) - extract(epoch from '2026-08-10 18:06:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024232 -3.354609)'), GeomFromEWKT('SRID=4674;POINT (-39.02425 -3.354607)'))) / (select extract(epoch from '2026-08-10 18:06:54'::timestamp) - extract(epoch from '2026-08-10 18:06: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'), 48138, 'SRID=4674;POINT (-39.02425 -3.354608)', '2026-08-10 18:06:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02425 -3.354607)'), GeomFromEWKT('SRID=4674;POINT (-39.02425 -3.354608)'))) / (select extract(epoch from '2026-08-10 18:06:56'::timestamp) - extract(epoch from '2026-08-10 18:06:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02425 -3.354607)'), GeomFromEWKT('SRID=4674;POINT (-39.02425 -3.354608)'))) / (select extract(epoch from '2026-08-10 18:06:56'::timestamp) - extract(epoch from '2026-08-10 18:06: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'), 48138, 'SRID=4674;POINT (-39.024243 -3.354609)', '2026-08-10 18:06:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02425 -3.354608)'), GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354609)'))) / (select extract(epoch from '2026-08-10 18:06:57'::timestamp) - extract(epoch from '2026-08-10 18:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02425 -3.354608)'), GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354609)'))) / (select extract(epoch from '2026-08-10 18:06:57'::timestamp) - extract(epoch from '2026-08-10 18:06:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024235 -3.354608)', '2026-08-10 18:07:01', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354609)'), GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354608)'))) / (select extract(epoch from '2026-08-10 18:07:01'::timestamp) - extract(epoch from '2026-08-10 18:06:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354609)'), GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354608)'))) / (select extract(epoch from '2026-08-10 18:07:01'::timestamp) - extract(epoch from '2026-08-10 18:06:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024243 -3.354607)', '2026-08-10 18:07:07', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354608)'), GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354607)'))) / (select extract(epoch from '2026-08-10 18:07:07'::timestamp) - extract(epoch from '2026-08-10 18:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354608)'), GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354607)'))) / (select extract(epoch from '2026-08-10 18:07:07'::timestamp) - extract(epoch from '2026-08-10 18:07: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'), 48138, 'SRID=4674;POINT (-39.024237 -3.354609)', '2026-08-10 18:07:18', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354607)'), GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354609)'))) / (select extract(epoch from '2026-08-10 18:07:18'::timestamp) - extract(epoch from '2026-08-10 18:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354607)'), GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354609)'))) / (select extract(epoch from '2026-08-10 18:07:18'::timestamp) - extract(epoch from '2026-08-10 18:07: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'), 48138, 'SRID=4674;POINT (-39.024237 -3.354609)', '2026-08-10 18:07:25', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354609)'), GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354609)'))) / (select extract(epoch from '2026-08-10 18:07:25'::timestamp) - extract(epoch from '2026-08-10 18:07:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354609)'), GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354609)'))) / (select extract(epoch from '2026-08-10 18:07:25'::timestamp) - extract(epoch from '2026-08-10 18:07: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'), 48138, 'SRID=4674;POINT (-39.024239 -3.354607)', '2026-08-10 18:07:31', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354609)'), GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354607)'))) / (select extract(epoch from '2026-08-10 18:07:31'::timestamp) - extract(epoch from '2026-08-10 18:07:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354609)'), GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354607)'))) / (select extract(epoch from '2026-08-10 18:07:31'::timestamp) - extract(epoch from '2026-08-10 18:07: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'), 48138, 'SRID=4674;POINT (-39.024233 -3.35461)', '2026-08-10 18:07:39', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354607)'), GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.35461)'))) / (select extract(epoch from '2026-08-10 18:07:39'::timestamp) - extract(epoch from '2026-08-10 18:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354607)'), GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.35461)'))) / (select extract(epoch from '2026-08-10 18:07:39'::timestamp) - extract(epoch from '2026-08-10 18:07: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'), 48138, 'SRID=4674;POINT (-39.024234 -3.354619)', '2026-08-10 18:07:46', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.35461)'), GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354619)'))) / (select extract(epoch from '2026-08-10 18:07:46'::timestamp) - extract(epoch from '2026-08-10 18:07:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.35461)'), GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354619)'))) / (select extract(epoch from '2026-08-10 18:07:46'::timestamp) - extract(epoch from '2026-08-10 18:07: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'), 48138, 'SRID=4674;POINT (-39.024241 -3.354619)', '2026-08-10 18:07:52', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354619)'), GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354619)'))) / (select extract(epoch from '2026-08-10 18:07:52'::timestamp) - extract(epoch from '2026-08-10 18:07:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354619)'), GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354619)'))) / (select extract(epoch from '2026-08-10 18:07:52'::timestamp) - extract(epoch from '2026-08-10 18:07: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'), 48138, 'SRID=4674;POINT (-39.02424 -3.354622)', '2026-08-10 18:08:01', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354619)'), GeomFromEWKT('SRID=4674;POINT (-39.02424 -3.354622)'))) / (select extract(epoch from '2026-08-10 18:08:01'::timestamp) - extract(epoch from '2026-08-10 18:07:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354619)'), GeomFromEWKT('SRID=4674;POINT (-39.02424 -3.354622)'))) / (select extract(epoch from '2026-08-10 18:08:01'::timestamp) - extract(epoch from '2026-08-10 18:07: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'), 48138, 'SRID=4674;POINT (-39.024237 -3.354619)', '2026-08-10 18:08:09', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02424 -3.354622)'), GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354619)'))) / (select extract(epoch from '2026-08-10 18:08:09'::timestamp) - extract(epoch from '2026-08-10 18:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02424 -3.354622)'), GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354619)'))) / (select extract(epoch from '2026-08-10 18:08:09'::timestamp) - extract(epoch from '2026-08-10 18:08: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'), 48138, 'SRID=4674;POINT (-39.024229 -3.354618)', '2026-08-10 18:08:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354619)'), GeomFromEWKT('SRID=4674;POINT (-39.024229 -3.354618)'))) / (select extract(epoch from '2026-08-10 18:08:16'::timestamp) - extract(epoch from '2026-08-10 18:08:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354619)'), GeomFromEWKT('SRID=4674;POINT (-39.024229 -3.354618)'))) / (select extract(epoch from '2026-08-10 18:08:16'::timestamp) - extract(epoch from '2026-08-10 18:08:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.02423 -3.354623)', '2026-08-10 18:08:21', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024229 -3.354618)'), GeomFromEWKT('SRID=4674;POINT (-39.02423 -3.354623)'))) / (select extract(epoch from '2026-08-10 18:08:21'::timestamp) - extract(epoch from '2026-08-10 18:08:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024229 -3.354618)'), GeomFromEWKT('SRID=4674;POINT (-39.02423 -3.354623)'))) / (select extract(epoch from '2026-08-10 18:08:21'::timestamp) - extract(epoch from '2026-08-10 18:08:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024232 -3.354629)', '2026-08-10 18:08:28', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02423 -3.354623)'), GeomFromEWKT('SRID=4674;POINT (-39.024232 -3.354629)'))) / (select extract(epoch from '2026-08-10 18:08:28'::timestamp) - extract(epoch from '2026-08-10 18:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02423 -3.354623)'), GeomFromEWKT('SRID=4674;POINT (-39.024232 -3.354629)'))) / (select extract(epoch from '2026-08-10 18:08:28'::timestamp) - extract(epoch from '2026-08-10 18:08:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024237 -3.35463)', '2026-08-10 18:08:37', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024232 -3.354629)'), GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.35463)'))) / (select extract(epoch from '2026-08-10 18:08:37'::timestamp) - extract(epoch from '2026-08-10 18:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024232 -3.354629)'), GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.35463)'))) / (select extract(epoch from '2026-08-10 18:08:37'::timestamp) - extract(epoch from '2026-08-10 18:08: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'), 48138, 'SRID=4674;POINT (-39.024235 -3.354631)', '2026-08-10 18:08:43', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.35463)'), GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354631)'))) / (select extract(epoch from '2026-08-10 18:08:43'::timestamp) - extract(epoch from '2026-08-10 18:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.35463)'), GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354631)'))) / (select extract(epoch from '2026-08-10 18:08:43'::timestamp) - extract(epoch from '2026-08-10 18:08: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'), 48138, 'SRID=4674;POINT (-39.024233 -3.35463)', '2026-08-10 18:08:50', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354631)'), GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.35463)'))) / (select extract(epoch from '2026-08-10 18:08:50'::timestamp) - extract(epoch from '2026-08-10 18:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354631)'), GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.35463)'))) / (select extract(epoch from '2026-08-10 18:08:50'::timestamp) - extract(epoch from '2026-08-10 18:08:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024238 -3.354632)', '2026-08-10 18:08:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.35463)'), GeomFromEWKT('SRID=4674;POINT (-39.024238 -3.354632)'))) / (select extract(epoch from '2026-08-10 18:08:56'::timestamp) - extract(epoch from '2026-08-10 18:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.35463)'), GeomFromEWKT('SRID=4674;POINT (-39.024238 -3.354632)'))) / (select extract(epoch from '2026-08-10 18:08:56'::timestamp) - extract(epoch from '2026-08-10 18:08: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'), 48138, 'SRID=4674;POINT (-39.024235 -3.354633)', '2026-08-10 18:09:04', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024238 -3.354632)'), GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354633)'))) / (select extract(epoch from '2026-08-10 18:09:04'::timestamp) - extract(epoch from '2026-08-10 18:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024238 -3.354632)'), GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354633)'))) / (select extract(epoch from '2026-08-10 18:09:04'::timestamp) - extract(epoch from '2026-08-10 18:08: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'), 48138, 'SRID=4674;POINT (-39.024241 -3.354637)', '2026-08-10 18:09:10', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354633)'), GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354637)'))) / (select extract(epoch from '2026-08-10 18:09:10'::timestamp) - extract(epoch from '2026-08-10 18:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354633)'), GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354637)'))) / (select extract(epoch from '2026-08-10 18:09:10'::timestamp) - extract(epoch from '2026-08-10 18:09:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024241 -3.354647)', '2026-08-10 18:09:19', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354637)'), GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354647)'))) / (select extract(epoch from '2026-08-10 18:09:19'::timestamp) - extract(epoch from '2026-08-10 18:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354637)'), GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354647)'))) / (select extract(epoch from '2026-08-10 18:09:19'::timestamp) - extract(epoch from '2026-08-10 18:09: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'), 48138, 'SRID=4674;POINT (-39.024236 -3.354648)', '2026-08-10 18:09:20', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354647)'), GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354648)'))) / (select extract(epoch from '2026-08-10 18:09:20'::timestamp) - extract(epoch from '2026-08-10 18:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354647)'), GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354648)'))) / (select extract(epoch from '2026-08-10 18:09:20'::timestamp) - extract(epoch from '2026-08-10 18:09: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'), 48138, 'SRID=4674;POINT (-39.024229 -3.354654)', '2026-08-10 18:09:25', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354648)'), GeomFromEWKT('SRID=4674;POINT (-39.024229 -3.354654)'))) / (select extract(epoch from '2026-08-10 18:09:25'::timestamp) - extract(epoch from '2026-08-10 18:09:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354648)'), GeomFromEWKT('SRID=4674;POINT (-39.024229 -3.354654)'))) / (select extract(epoch from '2026-08-10 18:09:25'::timestamp) - extract(epoch from '2026-08-10 18:09: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'), 48138, 'SRID=4674;POINT (-39.024232 -3.354653)', '2026-08-10 18:09:31', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024229 -3.354654)'), GeomFromEWKT('SRID=4674;POINT (-39.024232 -3.354653)'))) / (select extract(epoch from '2026-08-10 18:09:31'::timestamp) - extract(epoch from '2026-08-10 18:09:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024229 -3.354654)'), GeomFromEWKT('SRID=4674;POINT (-39.024232 -3.354653)'))) / (select extract(epoch from '2026-08-10 18:09:31'::timestamp) - extract(epoch from '2026-08-10 18:09: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'), 48138, 'SRID=4674;POINT (-39.024242 -3.354654)', '2026-08-10 18:09:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024232 -3.354653)'), GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354654)'))) / (select extract(epoch from '2026-08-10 18:09:41'::timestamp) - extract(epoch from '2026-08-10 18:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024232 -3.354653)'), GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354654)'))) / (select extract(epoch from '2026-08-10 18:09:41'::timestamp) - extract(epoch from '2026-08-10 18:09:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024241 -3.354659)', '2026-08-10 18:09:51', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354654)'), GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354659)'))) / (select extract(epoch from '2026-08-10 18:09:51'::timestamp) - extract(epoch from '2026-08-10 18:09:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354654)'), GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354659)'))) / (select extract(epoch from '2026-08-10 18:09:51'::timestamp) - extract(epoch from '2026-08-10 18:09: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'), 48138, 'SRID=4674;POINT (-39.024246 -3.354663)', '2026-08-10 18:09:56', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354659)'), GeomFromEWKT('SRID=4674;POINT (-39.024246 -3.354663)'))) / (select extract(epoch from '2026-08-10 18:09:56'::timestamp) - extract(epoch from '2026-08-10 18:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354659)'), GeomFromEWKT('SRID=4674;POINT (-39.024246 -3.354663)'))) / (select extract(epoch from '2026-08-10 18:09:56'::timestamp) - extract(epoch from '2026-08-10 18:09: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'), 48138, 'SRID=4674;POINT (-39.024241 -3.354679)', '2026-08-10 18:10:06', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024246 -3.354663)'), GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354679)'))) / (select extract(epoch from '2026-08-10 18:10:06'::timestamp) - extract(epoch from '2026-08-10 18:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024246 -3.354663)'), GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354679)'))) / (select extract(epoch from '2026-08-10 18:10:06'::timestamp) - extract(epoch from '2026-08-10 18:09: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'), 48138, 'SRID=4674;POINT (-39.024244 -3.354685)', '2026-08-10 18:10:13', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354679)'), GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.354685)'))) / (select extract(epoch from '2026-08-10 18:10:13'::timestamp) - extract(epoch from '2026-08-10 18:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354679)'), GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.354685)'))) / (select extract(epoch from '2026-08-10 18:10:13'::timestamp) - extract(epoch from '2026-08-10 18:10:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024241 -3.354693)', '2026-08-10 18:10:20', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.354685)'), GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354693)'))) / (select extract(epoch from '2026-08-10 18:10:20'::timestamp) - extract(epoch from '2026-08-10 18:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.354685)'), GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354693)'))) / (select extract(epoch from '2026-08-10 18:10:20'::timestamp) - extract(epoch from '2026-08-10 18:10: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'), 48138, 'SRID=4674;POINT (-39.024244 -3.35469)', '2026-08-10 18:10:25', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354693)'), GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.35469)'))) / (select extract(epoch from '2026-08-10 18:10:25'::timestamp) - extract(epoch from '2026-08-10 18:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354693)'), GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.35469)'))) / (select extract(epoch from '2026-08-10 18:10:25'::timestamp) - extract(epoch from '2026-08-10 18:10: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'), 48138, 'SRID=4674;POINT (-39.024247 -3.354687)', '2026-08-10 18:10:34', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.35469)'), GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354687)'))) / (select extract(epoch from '2026-08-10 18:10:34'::timestamp) - extract(epoch from '2026-08-10 18:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.35469)'), GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354687)'))) / (select extract(epoch from '2026-08-10 18:10:34'::timestamp) - extract(epoch from '2026-08-10 18:10: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'), 48138, 'SRID=4674;POINT (-39.024249 -3.354686)', '2026-08-10 18:10:40', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354687)'), GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354686)'))) / (select extract(epoch from '2026-08-10 18:10:40'::timestamp) - extract(epoch from '2026-08-10 18:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354687)'), GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354686)'))) / (select extract(epoch from '2026-08-10 18:10:40'::timestamp) - extract(epoch from '2026-08-10 18:10: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'), 48138, 'SRID=4674;POINT (-39.024255 -3.354678)', '2026-08-10 18:10:47', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354686)'), GeomFromEWKT('SRID=4674;POINT (-39.024255 -3.354678)'))) / (select extract(epoch from '2026-08-10 18:10:47'::timestamp) - extract(epoch from '2026-08-10 18:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354686)'), GeomFromEWKT('SRID=4674;POINT (-39.024255 -3.354678)'))) / (select extract(epoch from '2026-08-10 18:10:47'::timestamp) - extract(epoch from '2026-08-10 18:10:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.02426 -3.354677)', '2026-08-10 18:10:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024255 -3.354678)'), GeomFromEWKT('SRID=4674;POINT (-39.02426 -3.354677)'))) / (select extract(epoch from '2026-08-10 18:10:55'::timestamp) - extract(epoch from '2026-08-10 18:10:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024255 -3.354678)'), GeomFromEWKT('SRID=4674;POINT (-39.02426 -3.354677)'))) / (select extract(epoch from '2026-08-10 18:10:55'::timestamp) - extract(epoch from '2026-08-10 18:10: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'), 48138, 'SRID=4674;POINT (-39.024248 -3.354673)', '2026-08-10 18:11:02', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02426 -3.354677)'), GeomFromEWKT('SRID=4674;POINT (-39.024248 -3.354673)'))) / (select extract(epoch from '2026-08-10 18:11:02'::timestamp) - extract(epoch from '2026-08-10 18:10:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02426 -3.354677)'), GeomFromEWKT('SRID=4674;POINT (-39.024248 -3.354673)'))) / (select extract(epoch from '2026-08-10 18:11:02'::timestamp) - extract(epoch from '2026-08-10 18:10: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'), 48138, 'SRID=4674;POINT (-39.024258 -3.354652)', '2026-08-10 18:11:11', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024248 -3.354673)'), GeomFromEWKT('SRID=4674;POINT (-39.024258 -3.354652)'))) / (select extract(epoch from '2026-08-10 18:11:11'::timestamp) - extract(epoch from '2026-08-10 18:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024248 -3.354673)'), GeomFromEWKT('SRID=4674;POINT (-39.024258 -3.354652)'))) / (select extract(epoch from '2026-08-10 18:11:11'::timestamp) - extract(epoch from '2026-08-10 18:11: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'), 48138, 'SRID=4674;POINT (-39.024264 -3.354646)', '2026-08-10 18:11:18', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024258 -3.354652)'), GeomFromEWKT('SRID=4674;POINT (-39.024264 -3.354646)'))) / (select extract(epoch from '2026-08-10 18:11:18'::timestamp) - extract(epoch from '2026-08-10 18:11:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024258 -3.354652)'), GeomFromEWKT('SRID=4674;POINT (-39.024264 -3.354646)'))) / (select extract(epoch from '2026-08-10 18:11:18'::timestamp) - extract(epoch from '2026-08-10 18:11:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024267 -3.354648)', '2026-08-10 18:11:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024264 -3.354646)'), GeomFromEWKT('SRID=4674;POINT (-39.024267 -3.354648)'))) / (select extract(epoch from '2026-08-10 18:11:23'::timestamp) - extract(epoch from '2026-08-10 18:11:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024264 -3.354646)'), GeomFromEWKT('SRID=4674;POINT (-39.024267 -3.354648)'))) / (select extract(epoch from '2026-08-10 18:11:23'::timestamp) - extract(epoch from '2026-08-10 18:11: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'), 48138, 'SRID=4674;POINT (-39.024263 -3.354651)', '2026-08-10 18:11:30', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024267 -3.354648)'), GeomFromEWKT('SRID=4674;POINT (-39.024263 -3.354651)'))) / (select extract(epoch from '2026-08-10 18:11:30'::timestamp) - extract(epoch from '2026-08-10 18:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024267 -3.354648)'), GeomFromEWKT('SRID=4674;POINT (-39.024263 -3.354651)'))) / (select extract(epoch from '2026-08-10 18:11:30'::timestamp) - extract(epoch from '2026-08-10 18:11: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'), 48138, 'SRID=4674;POINT (-39.024257 -3.354653)', '2026-08-10 18:11:31', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024263 -3.354651)'), GeomFromEWKT('SRID=4674;POINT (-39.024257 -3.354653)'))) / (select extract(epoch from '2026-08-10 18:11:31'::timestamp) - extract(epoch from '2026-08-10 18:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024263 -3.354651)'), GeomFromEWKT('SRID=4674;POINT (-39.024257 -3.354653)'))) / (select extract(epoch from '2026-08-10 18:11:31'::timestamp) - extract(epoch from '2026-08-10 18:11:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.02425 -3.354663)', '2026-08-10 18:11:41', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024257 -3.354653)'), GeomFromEWKT('SRID=4674;POINT (-39.02425 -3.354663)'))) / (select extract(epoch from '2026-08-10 18:11:41'::timestamp) - extract(epoch from '2026-08-10 18:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024257 -3.354653)'), GeomFromEWKT('SRID=4674;POINT (-39.02425 -3.354663)'))) / (select extract(epoch from '2026-08-10 18:11:41'::timestamp) - extract(epoch from '2026-08-10 18:11: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'), 48138, 'SRID=4674;POINT (-39.024249 -3.354669)', '2026-08-10 18:11:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02425 -3.354663)'), GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354669)'))) / (select extract(epoch from '2026-08-10 18:11:47'::timestamp) - extract(epoch from '2026-08-10 18:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02425 -3.354663)'), GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354669)'))) / (select extract(epoch from '2026-08-10 18:11:47'::timestamp) - extract(epoch from '2026-08-10 18:11: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'), 48138, 'SRID=4674;POINT (-39.024254 -3.354677)', '2026-08-10 18:11:57', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354669)'), GeomFromEWKT('SRID=4674;POINT (-39.024254 -3.354677)'))) / (select extract(epoch from '2026-08-10 18:11:57'::timestamp) - extract(epoch from '2026-08-10 18:11:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354669)'), GeomFromEWKT('SRID=4674;POINT (-39.024254 -3.354677)'))) / (select extract(epoch from '2026-08-10 18:11:57'::timestamp) - extract(epoch from '2026-08-10 18:11: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'), 48138, 'SRID=4674;POINT (-39.024249 -3.354684)', '2026-08-10 18:12:07', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024254 -3.354677)'), GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354684)'))) / (select extract(epoch from '2026-08-10 18:12:07'::timestamp) - extract(epoch from '2026-08-10 18:11:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024254 -3.354677)'), GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354684)'))) / (select extract(epoch from '2026-08-10 18:12:07'::timestamp) - extract(epoch from '2026-08-10 18:11: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'), 48138, 'SRID=4674;POINT (-39.02425 -3.354678)', '2026-08-10 18:12:15', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354684)'), GeomFromEWKT('SRID=4674;POINT (-39.02425 -3.354678)'))) / (select extract(epoch from '2026-08-10 18:12:15'::timestamp) - extract(epoch from '2026-08-10 18:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354684)'), GeomFromEWKT('SRID=4674;POINT (-39.02425 -3.354678)'))) / (select extract(epoch from '2026-08-10 18:12:15'::timestamp) - extract(epoch from '2026-08-10 18:12:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024233 -3.354684)', '2026-08-10 18:12:21', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02425 -3.354678)'), GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.354684)'))) / (select extract(epoch from '2026-08-10 18:12:21'::timestamp) - extract(epoch from '2026-08-10 18:12:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02425 -3.354678)'), GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.354684)'))) / (select extract(epoch from '2026-08-10 18:12:21'::timestamp) - extract(epoch from '2026-08-10 18:12: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'), 48138, 'SRID=4674;POINT (-39.024243 -3.354689)', '2026-08-10 18:12:29', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.354684)'), GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354689)'))) / (select extract(epoch from '2026-08-10 18:12:29'::timestamp) - extract(epoch from '2026-08-10 18:12:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.354684)'), GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354689)'))) / (select extract(epoch from '2026-08-10 18:12:29'::timestamp) - extract(epoch from '2026-08-10 18:12: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'), 48138, 'SRID=4674;POINT (-39.024241 -3.354689)', '2026-08-10 18:12:36', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354689)'), GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354689)'))) / (select extract(epoch from '2026-08-10 18:12:36'::timestamp) - extract(epoch from '2026-08-10 18:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354689)'), GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354689)'))) / (select extract(epoch from '2026-08-10 18:12:36'::timestamp) - extract(epoch from '2026-08-10 18:12:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024235 -3.354683)', '2026-08-10 18:12:41', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354689)'), GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354683)'))) / (select extract(epoch from '2026-08-10 18:12:41'::timestamp) - extract(epoch from '2026-08-10 18:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354689)'), GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354683)'))) / (select extract(epoch from '2026-08-10 18:12:41'::timestamp) - extract(epoch from '2026-08-10 18:12: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'), 48138, 'SRID=4674;POINT (-39.024242 -3.354677)', '2026-08-10 18:12:47', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354683)'), GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354677)'))) / (select extract(epoch from '2026-08-10 18:12:47'::timestamp) - extract(epoch from '2026-08-10 18:12:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354683)'), GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354677)'))) / (select extract(epoch from '2026-08-10 18:12:47'::timestamp) - extract(epoch from '2026-08-10 18:12:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024244 -3.354674)', '2026-08-10 18:12:52', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354677)'), GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.354674)'))) / (select extract(epoch from '2026-08-10 18:12:52'::timestamp) - extract(epoch from '2026-08-10 18:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354677)'), GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.354674)'))) / (select extract(epoch from '2026-08-10 18:12:52'::timestamp) - extract(epoch from '2026-08-10 18:12:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024236 -3.354668)', '2026-08-10 18:12:57', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.354674)'), GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354668)'))) / (select extract(epoch from '2026-08-10 18:12:57'::timestamp) - extract(epoch from '2026-08-10 18:12:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.354674)'), GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354668)'))) / (select extract(epoch from '2026-08-10 18:12:57'::timestamp) - extract(epoch from '2026-08-10 18:12: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'), 48138, 'SRID=4674;POINT (-39.024233 -3.354666)', '2026-08-10 18:12:59', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354668)'), GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.354666)'))) / (select extract(epoch from '2026-08-10 18:12:59'::timestamp) - extract(epoch from '2026-08-10 18:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354668)'), GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.354666)'))) / (select extract(epoch from '2026-08-10 18:12:59'::timestamp) - extract(epoch from '2026-08-10 18:12:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024238 -3.354673)', '2026-08-10 18:13:07', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.354666)'), GeomFromEWKT('SRID=4674;POINT (-39.024238 -3.354673)'))) / (select extract(epoch from '2026-08-10 18:13:07'::timestamp) - extract(epoch from '2026-08-10 18:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.354666)'), GeomFromEWKT('SRID=4674;POINT (-39.024238 -3.354673)'))) / (select extract(epoch from '2026-08-10 18:13:07'::timestamp) - extract(epoch from '2026-08-10 18:12: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'), 48138, 'SRID=4674;POINT (-39.024236 -3.354668)', '2026-08-10 18:13:13', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024238 -3.354673)'), GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354668)'))) / (select extract(epoch from '2026-08-10 18:13:13'::timestamp) - extract(epoch from '2026-08-10 18:13:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024238 -3.354673)'), GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354668)'))) / (select extract(epoch from '2026-08-10 18:13:13'::timestamp) - extract(epoch from '2026-08-10 18:13:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024243 -3.354657)', '2026-08-10 18:13:18', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354668)'), GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354657)'))) / (select extract(epoch from '2026-08-10 18:13:18'::timestamp) - extract(epoch from '2026-08-10 18:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354668)'), GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354657)'))) / (select extract(epoch from '2026-08-10 18:13:18'::timestamp) - extract(epoch from '2026-08-10 18:13:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024249 -3.354657)', '2026-08-10 18:13:26', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354657)'), GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354657)'))) / (select extract(epoch from '2026-08-10 18:13:26'::timestamp) - extract(epoch from '2026-08-10 18:13:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354657)'), GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354657)'))) / (select extract(epoch from '2026-08-10 18:13:26'::timestamp) - extract(epoch from '2026-08-10 18:13:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024249 -3.354659)', '2026-08-10 18:13:35', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354657)'), GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354659)'))) / (select extract(epoch from '2026-08-10 18:13:35'::timestamp) - extract(epoch from '2026-08-10 18:13:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354657)'), GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354659)'))) / (select extract(epoch from '2026-08-10 18:13:35'::timestamp) - extract(epoch from '2026-08-10 18:13: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'), 48138, 'SRID=4674;POINT (-39.024245 -3.35466)', '2026-08-10 18:13:44', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354659)'), GeomFromEWKT('SRID=4674;POINT (-39.024245 -3.35466)'))) / (select extract(epoch from '2026-08-10 18:13:44'::timestamp) - extract(epoch from '2026-08-10 18:13:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354659)'), GeomFromEWKT('SRID=4674;POINT (-39.024245 -3.35466)'))) / (select extract(epoch from '2026-08-10 18:13:44'::timestamp) - extract(epoch from '2026-08-10 18:13:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024243 -3.354655)', '2026-08-10 18:13:50', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024245 -3.35466)'), GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354655)'))) / (select extract(epoch from '2026-08-10 18:13:50'::timestamp) - extract(epoch from '2026-08-10 18:13:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024245 -3.35466)'), GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354655)'))) / (select extract(epoch from '2026-08-10 18:13:50'::timestamp) - extract(epoch from '2026-08-10 18:13: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'), 48138, 'SRID=4674;POINT (-39.02425 -3.354655)', '2026-08-10 18:14:02', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354655)'), GeomFromEWKT('SRID=4674;POINT (-39.02425 -3.354655)'))) / (select extract(epoch from '2026-08-10 18:14:02'::timestamp) - extract(epoch from '2026-08-10 18:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354655)'), GeomFromEWKT('SRID=4674;POINT (-39.02425 -3.354655)'))) / (select extract(epoch from '2026-08-10 18:14:02'::timestamp) - extract(epoch from '2026-08-10 18:13: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'), 48138, 'SRID=4674;POINT (-39.024263 -3.354647)', '2026-08-10 18:14:10', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02425 -3.354655)'), GeomFromEWKT('SRID=4674;POINT (-39.024263 -3.354647)'))) / (select extract(epoch from '2026-08-10 18:14:10'::timestamp) - extract(epoch from '2026-08-10 18:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02425 -3.354655)'), GeomFromEWKT('SRID=4674;POINT (-39.024263 -3.354647)'))) / (select extract(epoch from '2026-08-10 18:14:10'::timestamp) - extract(epoch from '2026-08-10 18:14: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'), 48138, 'SRID=4674;POINT (-39.024245 -3.354641)', '2026-08-10 18:14:20', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024263 -3.354647)'), GeomFromEWKT('SRID=4674;POINT (-39.024245 -3.354641)'))) / (select extract(epoch from '2026-08-10 18:14:20'::timestamp) - extract(epoch from '2026-08-10 18:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024263 -3.354647)'), GeomFromEWKT('SRID=4674;POINT (-39.024245 -3.354641)'))) / (select extract(epoch from '2026-08-10 18:14:20'::timestamp) - extract(epoch from '2026-08-10 18:14:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024248 -3.354645)', '2026-08-10 18:14:27', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024245 -3.354641)'), GeomFromEWKT('SRID=4674;POINT (-39.024248 -3.354645)'))) / (select extract(epoch from '2026-08-10 18:14:27'::timestamp) - extract(epoch from '2026-08-10 18:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024245 -3.354641)'), GeomFromEWKT('SRID=4674;POINT (-39.024248 -3.354645)'))) / (select extract(epoch from '2026-08-10 18:14:27'::timestamp) - extract(epoch from '2026-08-10 18:14: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'), 48138, 'SRID=4674;POINT (-39.024251 -3.354644)', '2026-08-10 18:14:36', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024248 -3.354645)'), GeomFromEWKT('SRID=4674;POINT (-39.024251 -3.354644)'))) / (select extract(epoch from '2026-08-10 18:14:36'::timestamp) - extract(epoch from '2026-08-10 18:14:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024248 -3.354645)'), GeomFromEWKT('SRID=4674;POINT (-39.024251 -3.354644)'))) / (select extract(epoch from '2026-08-10 18:14:36'::timestamp) - extract(epoch from '2026-08-10 18:14:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.02424 -3.354639)', '2026-08-10 18:14:42', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024251 -3.354644)'), GeomFromEWKT('SRID=4674;POINT (-39.02424 -3.354639)'))) / (select extract(epoch from '2026-08-10 18:14:42'::timestamp) - extract(epoch from '2026-08-10 18:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024251 -3.354644)'), GeomFromEWKT('SRID=4674;POINT (-39.02424 -3.354639)'))) / (select extract(epoch from '2026-08-10 18:14:42'::timestamp) - extract(epoch from '2026-08-10 18:14:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024254 -3.354632)', '2026-08-10 18:14:49', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02424 -3.354639)'), GeomFromEWKT('SRID=4674;POINT (-39.024254 -3.354632)'))) / (select extract(epoch from '2026-08-10 18:14:49'::timestamp) - extract(epoch from '2026-08-10 18:14:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02424 -3.354639)'), GeomFromEWKT('SRID=4674;POINT (-39.024254 -3.354632)'))) / (select extract(epoch from '2026-08-10 18:14:49'::timestamp) - extract(epoch from '2026-08-10 18:14:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024255 -3.354633)', '2026-08-10 18:14:54', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024254 -3.354632)'), GeomFromEWKT('SRID=4674;POINT (-39.024255 -3.354633)'))) / (select extract(epoch from '2026-08-10 18:14:54'::timestamp) - extract(epoch from '2026-08-10 18:14:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024254 -3.354632)'), GeomFromEWKT('SRID=4674;POINT (-39.024255 -3.354633)'))) / (select extract(epoch from '2026-08-10 18:14:54'::timestamp) - extract(epoch from '2026-08-10 18:14: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'), 48138, 'SRID=4674;POINT (-39.024273 -3.354628)', '2026-08-10 18:15:03', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024255 -3.354633)'), GeomFromEWKT('SRID=4674;POINT (-39.024273 -3.354628)'))) / (select extract(epoch from '2026-08-10 18:15:03'::timestamp) - extract(epoch from '2026-08-10 18:14:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024255 -3.354633)'), GeomFromEWKT('SRID=4674;POINT (-39.024273 -3.354628)'))) / (select extract(epoch from '2026-08-10 18:15:03'::timestamp) - extract(epoch from '2026-08-10 18:14: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'), 48138, 'SRID=4674;POINT (-39.024257 -3.354634)', '2026-08-10 18:15:15', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024273 -3.354628)'), GeomFromEWKT('SRID=4674;POINT (-39.024257 -3.354634)'))) / (select extract(epoch from '2026-08-10 18:15:15'::timestamp) - extract(epoch from '2026-08-10 18:15:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024273 -3.354628)'), GeomFromEWKT('SRID=4674;POINT (-39.024257 -3.354634)'))) / (select extract(epoch from '2026-08-10 18:15:15'::timestamp) - extract(epoch from '2026-08-10 18:15: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'), 48138, 'SRID=4674;POINT (-39.024253 -3.354636)', '2026-08-10 18:15:18', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024257 -3.354634)'), GeomFromEWKT('SRID=4674;POINT (-39.024253 -3.354636)'))) / (select extract(epoch from '2026-08-10 18:15:18'::timestamp) - extract(epoch from '2026-08-10 18:15:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024257 -3.354634)'), GeomFromEWKT('SRID=4674;POINT (-39.024253 -3.354636)'))) / (select extract(epoch from '2026-08-10 18:15:18'::timestamp) - extract(epoch from '2026-08-10 18:15: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'), 48138, 'SRID=4674;POINT (-39.024248 -3.354644)', '2026-08-10 18:15:21', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024253 -3.354636)'), GeomFromEWKT('SRID=4674;POINT (-39.024248 -3.354644)'))) / (select extract(epoch from '2026-08-10 18:15:21'::timestamp) - extract(epoch from '2026-08-10 18:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024253 -3.354636)'), GeomFromEWKT('SRID=4674;POINT (-39.024248 -3.354644)'))) / (select extract(epoch from '2026-08-10 18:15:21'::timestamp) - extract(epoch from '2026-08-10 18:15: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'), 48138, 'SRID=4674;POINT (-39.024241 -3.354653)', '2026-08-10 18:15:26', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024248 -3.354644)'), GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354653)'))) / (select extract(epoch from '2026-08-10 18:15:26'::timestamp) - extract(epoch from '2026-08-10 18:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024248 -3.354644)'), GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354653)'))) / (select extract(epoch from '2026-08-10 18:15:26'::timestamp) - extract(epoch from '2026-08-10 18:15: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'), 48138, 'SRID=4674;POINT (-39.024237 -3.35466)', '2026-08-10 18:15:31', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354653)'), GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.35466)'))) / (select extract(epoch from '2026-08-10 18:15:31'::timestamp) - extract(epoch from '2026-08-10 18:15:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354653)'), GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.35466)'))) / (select extract(epoch from '2026-08-10 18:15:31'::timestamp) - extract(epoch from '2026-08-10 18:15:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024235 -3.354663)', '2026-08-10 18:15:40', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.35466)'), GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354663)'))) / (select extract(epoch from '2026-08-10 18:15:40'::timestamp) - extract(epoch from '2026-08-10 18:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.35466)'), GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354663)'))) / (select extract(epoch from '2026-08-10 18:15:40'::timestamp) - extract(epoch from '2026-08-10 18:15:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024239 -3.354659)', '2026-08-10 18:15:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354663)'), GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354659)'))) / (select extract(epoch from '2026-08-10 18:15:50'::timestamp) - extract(epoch from '2026-08-10 18:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354663)'), GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354659)'))) / (select extract(epoch from '2026-08-10 18:15:50'::timestamp) - extract(epoch from '2026-08-10 18:15: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'), 48138, 'SRID=4674;POINT (-39.024236 -3.354658)', '2026-08-10 18:15:58', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354659)'), GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354658)'))) / (select extract(epoch from '2026-08-10 18:15:58'::timestamp) - extract(epoch from '2026-08-10 18:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354659)'), GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354658)'))) / (select extract(epoch from '2026-08-10 18:15:58'::timestamp) - extract(epoch from '2026-08-10 18:15: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'), 48138, 'SRID=4674;POINT (-39.024242 -3.354656)', '2026-08-10 18:16:11', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354658)'), GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354656)'))) / (select extract(epoch from '2026-08-10 18:16:11'::timestamp) - extract(epoch from '2026-08-10 18:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354658)'), GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354656)'))) / (select extract(epoch from '2026-08-10 18:16:11'::timestamp) - extract(epoch from '2026-08-10 18:15:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024247 -3.354654)', '2026-08-10 18:16:17', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354656)'), GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354654)'))) / (select extract(epoch from '2026-08-10 18:16:17'::timestamp) - extract(epoch from '2026-08-10 18:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354656)'), GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354654)'))) / (select extract(epoch from '2026-08-10 18:16:17'::timestamp) - extract(epoch from '2026-08-10 18:16: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'), 48138, 'SRID=4674;POINT (-39.024245 -3.354654)', '2026-08-10 18:16:23', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354654)'), GeomFromEWKT('SRID=4674;POINT (-39.024245 -3.354654)'))) / (select extract(epoch from '2026-08-10 18:16:23'::timestamp) - extract(epoch from '2026-08-10 18:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354654)'), GeomFromEWKT('SRID=4674;POINT (-39.024245 -3.354654)'))) / (select extract(epoch from '2026-08-10 18:16:23'::timestamp) - extract(epoch from '2026-08-10 18:16:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024252 -3.354652)', '2026-08-10 18:16:29', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024245 -3.354654)'), GeomFromEWKT('SRID=4674;POINT (-39.024252 -3.354652)'))) / (select extract(epoch from '2026-08-10 18:16:29'::timestamp) - extract(epoch from '2026-08-10 18:16:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024245 -3.354654)'), GeomFromEWKT('SRID=4674;POINT (-39.024252 -3.354652)'))) / (select extract(epoch from '2026-08-10 18:16:29'::timestamp) - extract(epoch from '2026-08-10 18:16: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'), 48138, 'SRID=4674;POINT (-39.024244 -3.354651)', '2026-08-10 18:16:39', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024252 -3.354652)'), GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.354651)'))) / (select extract(epoch from '2026-08-10 18:16:39'::timestamp) - extract(epoch from '2026-08-10 18:16:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024252 -3.354652)'), GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.354651)'))) / (select extract(epoch from '2026-08-10 18:16:39'::timestamp) - extract(epoch from '2026-08-10 18:16: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'), 48138, 'SRID=4674;POINT (-39.024246 -3.354648)', '2026-08-10 18:16:50', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.354651)'), GeomFromEWKT('SRID=4674;POINT (-39.024246 -3.354648)'))) / (select extract(epoch from '2026-08-10 18:16:50'::timestamp) - extract(epoch from '2026-08-10 18:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.354651)'), GeomFromEWKT('SRID=4674;POINT (-39.024246 -3.354648)'))) / (select extract(epoch from '2026-08-10 18:16:50'::timestamp) - extract(epoch from '2026-08-10 18:16:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024244 -3.354656)', '2026-08-10 18:16:56', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024246 -3.354648)'), GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.354656)'))) / (select extract(epoch from '2026-08-10 18:16:56'::timestamp) - extract(epoch from '2026-08-10 18:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024246 -3.354648)'), GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.354656)'))) / (select extract(epoch from '2026-08-10 18:16:56'::timestamp) - extract(epoch from '2026-08-10 18:16: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'), 48138, 'SRID=4674;POINT (-39.024233 -3.354659)', '2026-08-10 18:17:03', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.354656)'), GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.354659)'))) / (select extract(epoch from '2026-08-10 18:17:03'::timestamp) - extract(epoch from '2026-08-10 18:16:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.354656)'), GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.354659)'))) / (select extract(epoch from '2026-08-10 18:17:03'::timestamp) - extract(epoch from '2026-08-10 18:16:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024242 -3.354663)', '2026-08-10 18:17:13', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.354659)'), GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354663)'))) / (select extract(epoch from '2026-08-10 18:17:13'::timestamp) - extract(epoch from '2026-08-10 18:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.354659)'), GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354663)'))) / (select extract(epoch from '2026-08-10 18:17:13'::timestamp) - extract(epoch from '2026-08-10 18:17:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024247 -3.35466)', '2026-08-10 18:17:21', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354663)'), GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.35466)'))) / (select extract(epoch from '2026-08-10 18:17:21'::timestamp) - extract(epoch from '2026-08-10 18:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354663)'), GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.35466)'))) / (select extract(epoch from '2026-08-10 18:17:21'::timestamp) - extract(epoch from '2026-08-10 18:17:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024248 -3.354666)', '2026-08-10 18:17:29', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.35466)'), GeomFromEWKT('SRID=4674;POINT (-39.024248 -3.354666)'))) / (select extract(epoch from '2026-08-10 18:17:29'::timestamp) - extract(epoch from '2026-08-10 18:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.35466)'), GeomFromEWKT('SRID=4674;POINT (-39.024248 -3.354666)'))) / (select extract(epoch from '2026-08-10 18:17:29'::timestamp) - extract(epoch from '2026-08-10 18:17: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'), 48138, 'SRID=4674;POINT (-39.024235 -3.354673)', '2026-08-10 18:17:41', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024248 -3.354666)'), GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354673)'))) / (select extract(epoch from '2026-08-10 18:17:41'::timestamp) - extract(epoch from '2026-08-10 18:17:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024248 -3.354666)'), GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354673)'))) / (select extract(epoch from '2026-08-10 18:17:41'::timestamp) - extract(epoch from '2026-08-10 18:17:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024231 -3.354679)', '2026-08-10 18:17:46', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354673)'), GeomFromEWKT('SRID=4674;POINT (-39.024231 -3.354679)'))) / (select extract(epoch from '2026-08-10 18:17:46'::timestamp) - extract(epoch from '2026-08-10 18:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354673)'), GeomFromEWKT('SRID=4674;POINT (-39.024231 -3.354679)'))) / (select extract(epoch from '2026-08-10 18:17:46'::timestamp) - extract(epoch from '2026-08-10 18:17:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024239 -3.354679)', '2026-08-10 18:17:54', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024231 -3.354679)'), GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354679)'))) / (select extract(epoch from '2026-08-10 18:17:54'::timestamp) - extract(epoch from '2026-08-10 18:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024231 -3.354679)'), GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354679)'))) / (select extract(epoch from '2026-08-10 18:17:54'::timestamp) - extract(epoch from '2026-08-10 18:17:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024246 -3.354678)', '2026-08-10 18:17:55', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354679)'), GeomFromEWKT('SRID=4674;POINT (-39.024246 -3.354678)'))) / (select extract(epoch from '2026-08-10 18:17:55'::timestamp) - extract(epoch from '2026-08-10 18:17:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354679)'), GeomFromEWKT('SRID=4674;POINT (-39.024246 -3.354678)'))) / (select extract(epoch from '2026-08-10 18:17:55'::timestamp) - extract(epoch from '2026-08-10 18:17: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'), 48138, 'SRID=4674;POINT (-39.024247 -3.354672)', '2026-08-10 18:17:56', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024246 -3.354678)'), GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354672)'))) / (select extract(epoch from '2026-08-10 18:17:56'::timestamp) - extract(epoch from '2026-08-10 18:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024246 -3.354678)'), GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354672)'))) / (select extract(epoch from '2026-08-10 18:17:56'::timestamp) - extract(epoch from '2026-08-10 18:17: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'), 48138, 'SRID=4674;POINT (-39.024257 -3.354663)', '2026-08-10 18:17:59', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354672)'), GeomFromEWKT('SRID=4674;POINT (-39.024257 -3.354663)'))) / (select extract(epoch from '2026-08-10 18:17:59'::timestamp) - extract(epoch from '2026-08-10 18:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354672)'), GeomFromEWKT('SRID=4674;POINT (-39.024257 -3.354663)'))) / (select extract(epoch from '2026-08-10 18:17:59'::timestamp) - extract(epoch from '2026-08-10 18:17:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024247 -3.354663)', '2026-08-10 18:18:05', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024257 -3.354663)'), GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354663)'))) / (select extract(epoch from '2026-08-10 18:18:05'::timestamp) - extract(epoch from '2026-08-10 18:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024257 -3.354663)'), GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354663)'))) / (select extract(epoch from '2026-08-10 18:18:05'::timestamp) - extract(epoch from '2026-08-10 18:17: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'), 48138, 'SRID=4674;POINT (-39.024245 -3.35466)', '2026-08-10 18:18:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354663)'), GeomFromEWKT('SRID=4674;POINT (-39.024245 -3.35466)'))) / (select extract(epoch from '2026-08-10 18:18:08'::timestamp) - extract(epoch from '2026-08-10 18:18:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354663)'), GeomFromEWKT('SRID=4674;POINT (-39.024245 -3.35466)'))) / (select extract(epoch from '2026-08-10 18:18:08'::timestamp) - extract(epoch from '2026-08-10 18:18: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'), 48138, 'SRID=4674;POINT (-39.024244 -3.354659)', '2026-08-10 18:18:10', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024245 -3.35466)'), GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.354659)'))) / (select extract(epoch from '2026-08-10 18:18:10'::timestamp) - extract(epoch from '2026-08-10 18:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024245 -3.35466)'), GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.354659)'))) / (select extract(epoch from '2026-08-10 18:18:10'::timestamp) - extract(epoch from '2026-08-10 18:18: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'), 48138, 'SRID=4674;POINT (-39.024241 -3.354651)', '2026-08-10 18:18:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.354659)'), GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354651)'))) / (select extract(epoch from '2026-08-10 18:18:20'::timestamp) - extract(epoch from '2026-08-10 18:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.354659)'), GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354651)'))) / (select extract(epoch from '2026-08-10 18:18:20'::timestamp) - extract(epoch from '2026-08-10 18:18: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'), 48138, 'SRID=4674;POINT (-39.024238 -3.354646)', '2026-08-10 18:18:28', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354651)'), GeomFromEWKT('SRID=4674;POINT (-39.024238 -3.354646)'))) / (select extract(epoch from '2026-08-10 18:18:28'::timestamp) - extract(epoch from '2026-08-10 18:18:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354651)'), GeomFromEWKT('SRID=4674;POINT (-39.024238 -3.354646)'))) / (select extract(epoch from '2026-08-10 18:18:28'::timestamp) - extract(epoch from '2026-08-10 18:18: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'), 48138, 'SRID=4674;POINT (-39.024239 -3.35465)', '2026-08-10 18:18:37', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024238 -3.354646)'), GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.35465)'))) / (select extract(epoch from '2026-08-10 18:18:37'::timestamp) - extract(epoch from '2026-08-10 18:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024238 -3.354646)'), GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.35465)'))) / (select extract(epoch from '2026-08-10 18:18:37'::timestamp) - extract(epoch from '2026-08-10 18:18: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'), 48138, 'SRID=4674;POINT (-39.024234 -3.354657)', '2026-08-10 18:18:46', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.35465)'), GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354657)'))) / (select extract(epoch from '2026-08-10 18:18:46'::timestamp) - extract(epoch from '2026-08-10 18:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.35465)'), GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354657)'))) / (select extract(epoch from '2026-08-10 18:18:46'::timestamp) - extract(epoch from '2026-08-10 18:18:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024237 -3.354653)', '2026-08-10 18:18:52', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354657)'), GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354653)'))) / (select extract(epoch from '2026-08-10 18:18:52'::timestamp) - extract(epoch from '2026-08-10 18:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354657)'), GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354653)'))) / (select extract(epoch from '2026-08-10 18:18:52'::timestamp) - extract(epoch from '2026-08-10 18:18:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024242 -3.354658)', '2026-08-10 18:19:00', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354653)'), GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354658)'))) / (select extract(epoch from '2026-08-10 18:19:00'::timestamp) - extract(epoch from '2026-08-10 18:18:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354653)'), GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354658)'))) / (select extract(epoch from '2026-08-10 18:19:00'::timestamp) - extract(epoch from '2026-08-10 18:18: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'), 48138, 'SRID=4674;POINT (-39.024239 -3.354649)', '2026-08-10 18:19:09', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354658)'), GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354649)'))) / (select extract(epoch from '2026-08-10 18:19:09'::timestamp) - extract(epoch from '2026-08-10 18:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354658)'), GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354649)'))) / (select extract(epoch from '2026-08-10 18:19:09'::timestamp) - extract(epoch from '2026-08-10 18:19: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'), 48138, 'SRID=4674;POINT (-39.024239 -3.354651)', '2026-08-10 18:19:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354649)'), GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354651)'))) / (select extract(epoch from '2026-08-10 18:19:18'::timestamp) - extract(epoch from '2026-08-10 18:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354649)'), GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354651)'))) / (select extract(epoch from '2026-08-10 18:19:18'::timestamp) - extract(epoch from '2026-08-10 18:19: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'), 48138, 'SRID=4674;POINT (-39.024236 -3.354655)', '2026-08-10 18:19:26', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354651)'), GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354655)'))) / (select extract(epoch from '2026-08-10 18:19:26'::timestamp) - extract(epoch from '2026-08-10 18:19:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354651)'), GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354655)'))) / (select extract(epoch from '2026-08-10 18:19:26'::timestamp) - extract(epoch from '2026-08-10 18:19:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024237 -3.354659)', '2026-08-10 18:19:37', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354655)'), GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354659)'))) / (select extract(epoch from '2026-08-10 18:19:37'::timestamp) - extract(epoch from '2026-08-10 18:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354655)'), GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354659)'))) / (select extract(epoch from '2026-08-10 18:19:37'::timestamp) - extract(epoch from '2026-08-10 18:19: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'), 48138, 'SRID=4674;POINT (-39.024239 -3.354664)', '2026-08-10 18:19:49', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354659)'), GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354664)'))) / (select extract(epoch from '2026-08-10 18:19:49'::timestamp) - extract(epoch from '2026-08-10 18:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354659)'), GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354664)'))) / (select extract(epoch from '2026-08-10 18:19:49'::timestamp) - extract(epoch from '2026-08-10 18:19: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'), 48138, 'SRID=4674;POINT (-39.024249 -3.354662)', '2026-08-10 18:19:58', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354664)'), GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354662)'))) / (select extract(epoch from '2026-08-10 18:19:58'::timestamp) - extract(epoch from '2026-08-10 18:19:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354664)'), GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354662)'))) / (select extract(epoch from '2026-08-10 18:19:58'::timestamp) - extract(epoch from '2026-08-10 18:19:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024247 -3.354661)', '2026-08-10 18:20:03', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354662)'), GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354661)'))) / (select extract(epoch from '2026-08-10 18:20:03'::timestamp) - extract(epoch from '2026-08-10 18:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354662)'), GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354661)'))) / (select extract(epoch from '2026-08-10 18:20:03'::timestamp) - extract(epoch from '2026-08-10 18:19:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024254 -3.35466)', '2026-08-10 18:20:10', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354661)'), GeomFromEWKT('SRID=4674;POINT (-39.024254 -3.35466)'))) / (select extract(epoch from '2026-08-10 18:20:10'::timestamp) - extract(epoch from '2026-08-10 18:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354661)'), GeomFromEWKT('SRID=4674;POINT (-39.024254 -3.35466)'))) / (select extract(epoch from '2026-08-10 18:20:10'::timestamp) - extract(epoch from '2026-08-10 18:20:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024247 -3.354658)', '2026-08-10 18:20:12', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024254 -3.35466)'), GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354658)'))) / (select extract(epoch from '2026-08-10 18:20:12'::timestamp) - extract(epoch from '2026-08-10 18:20:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024254 -3.35466)'), GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354658)'))) / (select extract(epoch from '2026-08-10 18:20:12'::timestamp) - extract(epoch from '2026-08-10 18:20:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024247 -3.354658)', '2026-08-10 18:20:15', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354658)'), GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354658)'))) / (select extract(epoch from '2026-08-10 18:20:15'::timestamp) - extract(epoch from '2026-08-10 18:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354658)'), GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354658)'))) / (select extract(epoch from '2026-08-10 18:20:15'::timestamp) - extract(epoch from '2026-08-10 18:20: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'), 48138, 'SRID=4674;POINT (-39.024251 -3.354663)', '2026-08-10 18:20:21', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354658)'), GeomFromEWKT('SRID=4674;POINT (-39.024251 -3.354663)'))) / (select extract(epoch from '2026-08-10 18:20:21'::timestamp) - extract(epoch from '2026-08-10 18:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354658)'), GeomFromEWKT('SRID=4674;POINT (-39.024251 -3.354663)'))) / (select extract(epoch from '2026-08-10 18:20:21'::timestamp) - extract(epoch from '2026-08-10 18:20:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.02424 -3.354662)', '2026-08-10 18:20:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024251 -3.354663)'), GeomFromEWKT('SRID=4674;POINT (-39.02424 -3.354662)'))) / (select extract(epoch from '2026-08-10 18:20:28'::timestamp) - extract(epoch from '2026-08-10 18:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024251 -3.354663)'), GeomFromEWKT('SRID=4674;POINT (-39.02424 -3.354662)'))) / (select extract(epoch from '2026-08-10 18:20:28'::timestamp) - extract(epoch from '2026-08-10 18:20:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024243 -3.354657)', '2026-08-10 18:20:35', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02424 -3.354662)'), GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354657)'))) / (select extract(epoch from '2026-08-10 18:20:35'::timestamp) - extract(epoch from '2026-08-10 18:20:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02424 -3.354662)'), GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354657)'))) / (select extract(epoch from '2026-08-10 18:20:35'::timestamp) - extract(epoch from '2026-08-10 18:20:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024228 -3.354663)', '2026-08-10 18:20:43', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354657)'), GeomFromEWKT('SRID=4674;POINT (-39.024228 -3.354663)'))) / (select extract(epoch from '2026-08-10 18:20:43'::timestamp) - extract(epoch from '2026-08-10 18:20:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354657)'), GeomFromEWKT('SRID=4674;POINT (-39.024228 -3.354663)'))) / (select extract(epoch from '2026-08-10 18:20:43'::timestamp) - extract(epoch from '2026-08-10 18:20: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'), 48138, 'SRID=4674;POINT (-39.02422 -3.354677)', '2026-08-10 18:20:51', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024228 -3.354663)'), GeomFromEWKT('SRID=4674;POINT (-39.02422 -3.354677)'))) / (select extract(epoch from '2026-08-10 18:20:51'::timestamp) - extract(epoch from '2026-08-10 18:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024228 -3.354663)'), GeomFromEWKT('SRID=4674;POINT (-39.02422 -3.354677)'))) / (select extract(epoch from '2026-08-10 18:20:51'::timestamp) - extract(epoch from '2026-08-10 18:20: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'), 48138, 'SRID=4674;POINT (-39.024207 -3.35468)', '2026-08-10 18:20:59', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02422 -3.354677)'), GeomFromEWKT('SRID=4674;POINT (-39.024207 -3.35468)'))) / (select extract(epoch from '2026-08-10 18:20:59'::timestamp) - extract(epoch from '2026-08-10 18:20:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02422 -3.354677)'), GeomFromEWKT('SRID=4674;POINT (-39.024207 -3.35468)'))) / (select extract(epoch from '2026-08-10 18:20:59'::timestamp) - extract(epoch from '2026-08-10 18:20: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'), 48138, 'SRID=4674;POINT (-39.024208 -3.354683)', '2026-08-10 18:21:06', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024207 -3.35468)'), GeomFromEWKT('SRID=4674;POINT (-39.024208 -3.354683)'))) / (select extract(epoch from '2026-08-10 18:21:06'::timestamp) - extract(epoch from '2026-08-10 18:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024207 -3.35468)'), GeomFromEWKT('SRID=4674;POINT (-39.024208 -3.354683)'))) / (select extract(epoch from '2026-08-10 18:21:06'::timestamp) - extract(epoch from '2026-08-10 18:20: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'), 48138, 'SRID=4674;POINT (-39.024204 -3.354674)', '2026-08-10 18:21:14', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024208 -3.354683)'), GeomFromEWKT('SRID=4674;POINT (-39.024204 -3.354674)'))) / (select extract(epoch from '2026-08-10 18:21:14'::timestamp) - extract(epoch from '2026-08-10 18:21:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024208 -3.354683)'), GeomFromEWKT('SRID=4674;POINT (-39.024204 -3.354674)'))) / (select extract(epoch from '2026-08-10 18:21:14'::timestamp) - extract(epoch from '2026-08-10 18:21: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'), 48138, 'SRID=4674;POINT (-39.024208 -3.354666)', '2026-08-10 18:21:20', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024204 -3.354674)'), GeomFromEWKT('SRID=4674;POINT (-39.024208 -3.354666)'))) / (select extract(epoch from '2026-08-10 18:21:20'::timestamp) - extract(epoch from '2026-08-10 18:21:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024204 -3.354674)'), GeomFromEWKT('SRID=4674;POINT (-39.024208 -3.354666)'))) / (select extract(epoch from '2026-08-10 18:21:20'::timestamp) - extract(epoch from '2026-08-10 18:21: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'), 48138, 'SRID=4674;POINT (-39.024224 -3.354666)', '2026-08-10 18:21:25', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024208 -3.354666)'), GeomFromEWKT('SRID=4674;POINT (-39.024224 -3.354666)'))) / (select extract(epoch from '2026-08-10 18:21:25'::timestamp) - extract(epoch from '2026-08-10 18:21:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024208 -3.354666)'), GeomFromEWKT('SRID=4674;POINT (-39.024224 -3.354666)'))) / (select extract(epoch from '2026-08-10 18:21:25'::timestamp) - extract(epoch from '2026-08-10 18:21:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024231 -3.354675)', '2026-08-10 18:21:37', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024224 -3.354666)'), GeomFromEWKT('SRID=4674;POINT (-39.024231 -3.354675)'))) / (select extract(epoch from '2026-08-10 18:21:37'::timestamp) - extract(epoch from '2026-08-10 18:21:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024224 -3.354666)'), GeomFromEWKT('SRID=4674;POINT (-39.024231 -3.354675)'))) / (select extract(epoch from '2026-08-10 18:21:37'::timestamp) - extract(epoch from '2026-08-10 18:21:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024249 -3.354676)', '2026-08-10 18:21:50', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024231 -3.354675)'), GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354676)'))) / (select extract(epoch from '2026-08-10 18:21:50'::timestamp) - extract(epoch from '2026-08-10 18:21:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024231 -3.354675)'), GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354676)'))) / (select extract(epoch from '2026-08-10 18:21:50'::timestamp) - extract(epoch from '2026-08-10 18:21:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024249 -3.354684)', '2026-08-10 18:21:58', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354676)'), GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354684)'))) / (select extract(epoch from '2026-08-10 18:21:58'::timestamp) - extract(epoch from '2026-08-10 18:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354676)'), GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354684)'))) / (select extract(epoch from '2026-08-10 18:21:58'::timestamp) - extract(epoch from '2026-08-10 18:21: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'), 48138, 'SRID=4674;POINT (-39.024244 -3.354687)', '2026-08-10 18:22:06', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354684)'), GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.354687)'))) / (select extract(epoch from '2026-08-10 18:22:06'::timestamp) - extract(epoch from '2026-08-10 18:21:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354684)'), GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.354687)'))) / (select extract(epoch from '2026-08-10 18:22:06'::timestamp) - extract(epoch from '2026-08-10 18:21:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024242 -3.354692)', '2026-08-10 18:22:11', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.354687)'), GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354692)'))) / (select extract(epoch from '2026-08-10 18:22:11'::timestamp) - extract(epoch from '2026-08-10 18:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024244 -3.354687)'), GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354692)'))) / (select extract(epoch from '2026-08-10 18:22:11'::timestamp) - extract(epoch from '2026-08-10 18:22: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'), 48138, 'SRID=4674;POINT (-39.024245 -3.354697)', '2026-08-10 18:22:21', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354692)'), GeomFromEWKT('SRID=4674;POINT (-39.024245 -3.354697)'))) / (select extract(epoch from '2026-08-10 18:22:21'::timestamp) - extract(epoch from '2026-08-10 18:22:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354692)'), GeomFromEWKT('SRID=4674;POINT (-39.024245 -3.354697)'))) / (select extract(epoch from '2026-08-10 18:22:21'::timestamp) - extract(epoch from '2026-08-10 18:22: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'), 48138, 'SRID=4674;POINT (-39.024246 -3.354696)', '2026-08-10 18:22:26', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024245 -3.354697)'), GeomFromEWKT('SRID=4674;POINT (-39.024246 -3.354696)'))) / (select extract(epoch from '2026-08-10 18:22:26'::timestamp) - extract(epoch from '2026-08-10 18:22:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024245 -3.354697)'), GeomFromEWKT('SRID=4674;POINT (-39.024246 -3.354696)'))) / (select extract(epoch from '2026-08-10 18:22:26'::timestamp) - extract(epoch from '2026-08-10 18:22:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024231 -3.354697)', '2026-08-10 18:22:30', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024246 -3.354696)'), GeomFromEWKT('SRID=4674;POINT (-39.024231 -3.354697)'))) / (select extract(epoch from '2026-08-10 18:22:30'::timestamp) - extract(epoch from '2026-08-10 18:22:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024246 -3.354696)'), GeomFromEWKT('SRID=4674;POINT (-39.024231 -3.354697)'))) / (select extract(epoch from '2026-08-10 18:22:30'::timestamp) - extract(epoch from '2026-08-10 18:22:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024236 -3.354705)', '2026-08-10 18:22:37', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024231 -3.354697)'), GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354705)'))) / (select extract(epoch from '2026-08-10 18:22:37'::timestamp) - extract(epoch from '2026-08-10 18:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024231 -3.354697)'), GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354705)'))) / (select extract(epoch from '2026-08-10 18:22:37'::timestamp) - extract(epoch from '2026-08-10 18:22:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024233 -3.354706)', '2026-08-10 18:22:45', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354705)'), GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.354706)'))) / (select extract(epoch from '2026-08-10 18:22:45'::timestamp) - extract(epoch from '2026-08-10 18:22:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354705)'), GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.354706)'))) / (select extract(epoch from '2026-08-10 18:22:45'::timestamp) - extract(epoch from '2026-08-10 18:22:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.02424 -3.354702)', '2026-08-10 18:22:54', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.354706)'), GeomFromEWKT('SRID=4674;POINT (-39.02424 -3.354702)'))) / (select extract(epoch from '2026-08-10 18:22:54'::timestamp) - extract(epoch from '2026-08-10 18:22:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.354706)'), GeomFromEWKT('SRID=4674;POINT (-39.02424 -3.354702)'))) / (select extract(epoch from '2026-08-10 18:22:54'::timestamp) - extract(epoch from '2026-08-10 18:22: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'), 48138, 'SRID=4674;POINT (-39.024236 -3.3547)', '2026-08-10 18:23:01', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02424 -3.354702)'), GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.3547)'))) / (select extract(epoch from '2026-08-10 18:23:01'::timestamp) - extract(epoch from '2026-08-10 18:22:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02424 -3.354702)'), GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.3547)'))) / (select extract(epoch from '2026-08-10 18:23:01'::timestamp) - extract(epoch from '2026-08-10 18:22: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'), 48138, 'SRID=4674;POINT (-39.024235 -3.354704)', '2026-08-10 18:23:11', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.3547)'), GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354704)'))) / (select extract(epoch from '2026-08-10 18:23:11'::timestamp) - extract(epoch from '2026-08-10 18:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.3547)'), GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354704)'))) / (select extract(epoch from '2026-08-10 18:23:11'::timestamp) - extract(epoch from '2026-08-10 18:23: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'), 48138, 'SRID=4674;POINT (-39.024246 -3.354708)', '2026-08-10 18:23:18', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354704)'), GeomFromEWKT('SRID=4674;POINT (-39.024246 -3.354708)'))) / (select extract(epoch from '2026-08-10 18:23:18'::timestamp) - extract(epoch from '2026-08-10 18:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354704)'), GeomFromEWKT('SRID=4674;POINT (-39.024246 -3.354708)'))) / (select extract(epoch from '2026-08-10 18:23:18'::timestamp) - extract(epoch from '2026-08-10 18:23: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'), 48138, 'SRID=4674;POINT (-39.024246 -3.354703)', '2026-08-10 18:23:27', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024246 -3.354708)'), GeomFromEWKT('SRID=4674;POINT (-39.024246 -3.354703)'))) / (select extract(epoch from '2026-08-10 18:23:27'::timestamp) - extract(epoch from '2026-08-10 18:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024246 -3.354708)'), GeomFromEWKT('SRID=4674;POINT (-39.024246 -3.354703)'))) / (select extract(epoch from '2026-08-10 18:23:27'::timestamp) - extract(epoch from '2026-08-10 18:23: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'), 48138, 'SRID=4674;POINT (-39.024248 -3.354696)', '2026-08-10 18:23:35', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024246 -3.354703)'), GeomFromEWKT('SRID=4674;POINT (-39.024248 -3.354696)'))) / (select extract(epoch from '2026-08-10 18:23:35'::timestamp) - extract(epoch from '2026-08-10 18:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024246 -3.354703)'), GeomFromEWKT('SRID=4674;POINT (-39.024248 -3.354696)'))) / (select extract(epoch from '2026-08-10 18:23:35'::timestamp) - extract(epoch from '2026-08-10 18:23: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'), 48138, 'SRID=4674;POINT (-39.024243 -3.354701)', '2026-08-10 18:23:44', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024248 -3.354696)'), GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354701)'))) / (select extract(epoch from '2026-08-10 18:23:44'::timestamp) - extract(epoch from '2026-08-10 18:23:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024248 -3.354696)'), GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354701)'))) / (select extract(epoch from '2026-08-10 18:23:44'::timestamp) - extract(epoch from '2026-08-10 18:23: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'), 48138, 'SRID=4674;POINT (-39.024237 -3.354707)', '2026-08-10 18:23:56', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354701)'), GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354707)'))) / (select extract(epoch from '2026-08-10 18:23:56'::timestamp) - extract(epoch from '2026-08-10 18:23:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354701)'), GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354707)'))) / (select extract(epoch from '2026-08-10 18:23:56'::timestamp) - extract(epoch from '2026-08-10 18:23: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'), 48138, 'SRID=4674;POINT (-39.024237 -3.354715)', '2026-08-10 18:24:07', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354707)'), GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354715)'))) / (select extract(epoch from '2026-08-10 18:24:07'::timestamp) - extract(epoch from '2026-08-10 18:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354707)'), GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354715)'))) / (select extract(epoch from '2026-08-10 18:24:07'::timestamp) - extract(epoch from '2026-08-10 18:23: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'), 48138, 'SRID=4674;POINT (-39.024238 -3.354721)', '2026-08-10 18:24:12', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354715)'), GeomFromEWKT('SRID=4674;POINT (-39.024238 -3.354721)'))) / (select extract(epoch from '2026-08-10 18:24:12'::timestamp) - extract(epoch from '2026-08-10 18:24:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354715)'), GeomFromEWKT('SRID=4674;POINT (-39.024238 -3.354721)'))) / (select extract(epoch from '2026-08-10 18:24:12'::timestamp) - extract(epoch from '2026-08-10 18:24: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'), 48138, 'SRID=4674;POINT (-39.024227 -3.354728)', '2026-08-10 18:24:21', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024238 -3.354721)'), GeomFromEWKT('SRID=4674;POINT (-39.024227 -3.354728)'))) / (select extract(epoch from '2026-08-10 18:24:21'::timestamp) - extract(epoch from '2026-08-10 18:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024238 -3.354721)'), GeomFromEWKT('SRID=4674;POINT (-39.024227 -3.354728)'))) / (select extract(epoch from '2026-08-10 18:24:21'::timestamp) - extract(epoch from '2026-08-10 18:24: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'), 48138, 'SRID=4674;POINT (-39.024224 -3.354724)', '2026-08-10 18:24:30', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024227 -3.354728)'), GeomFromEWKT('SRID=4674;POINT (-39.024224 -3.354724)'))) / (select extract(epoch from '2026-08-10 18:24:30'::timestamp) - extract(epoch from '2026-08-10 18:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024227 -3.354728)'), GeomFromEWKT('SRID=4674;POINT (-39.024224 -3.354724)'))) / (select extract(epoch from '2026-08-10 18:24:30'::timestamp) - extract(epoch from '2026-08-10 18:24: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'), 48138, 'SRID=4674;POINT (-39.02422 -3.354725)', '2026-08-10 18:24:37', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024224 -3.354724)'), GeomFromEWKT('SRID=4674;POINT (-39.02422 -3.354725)'))) / (select extract(epoch from '2026-08-10 18:24:37'::timestamp) - extract(epoch from '2026-08-10 18:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024224 -3.354724)'), GeomFromEWKT('SRID=4674;POINT (-39.02422 -3.354725)'))) / (select extract(epoch from '2026-08-10 18:24:37'::timestamp) - extract(epoch from '2026-08-10 18:24: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'), 48138, 'SRID=4674;POINT (-39.024232 -3.354726)', '2026-08-10 18:24:44', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02422 -3.354725)'), GeomFromEWKT('SRID=4674;POINT (-39.024232 -3.354726)'))) / (select extract(epoch from '2026-08-10 18:24:44'::timestamp) - extract(epoch from '2026-08-10 18:24:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02422 -3.354725)'), GeomFromEWKT('SRID=4674;POINT (-39.024232 -3.354726)'))) / (select extract(epoch from '2026-08-10 18:24:44'::timestamp) - extract(epoch from '2026-08-10 18:24: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'), 48138, 'SRID=4674;POINT (-39.024223 -3.354725)', '2026-08-10 18:24:52', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024232 -3.354726)'), GeomFromEWKT('SRID=4674;POINT (-39.024223 -3.354725)'))) / (select extract(epoch from '2026-08-10 18:24:52'::timestamp) - extract(epoch from '2026-08-10 18:24:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024232 -3.354726)'), GeomFromEWKT('SRID=4674;POINT (-39.024223 -3.354725)'))) / (select extract(epoch from '2026-08-10 18:24:52'::timestamp) - extract(epoch from '2026-08-10 18:24: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'), 48138, 'SRID=4674;POINT (-39.024213 -3.354722)', '2026-08-10 18:24:59', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024223 -3.354725)'), GeomFromEWKT('SRID=4674;POINT (-39.024213 -3.354722)'))) / (select extract(epoch from '2026-08-10 18:24:59'::timestamp) - extract(epoch from '2026-08-10 18:24:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024223 -3.354725)'), GeomFromEWKT('SRID=4674;POINT (-39.024213 -3.354722)'))) / (select extract(epoch from '2026-08-10 18:24:59'::timestamp) - extract(epoch from '2026-08-10 18:24: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'), 48138, 'SRID=4674;POINT (-39.024226 -3.354723)', '2026-08-10 18:25:04', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024213 -3.354722)'), GeomFromEWKT('SRID=4674;POINT (-39.024226 -3.354723)'))) / (select extract(epoch from '2026-08-10 18:25:04'::timestamp) - extract(epoch from '2026-08-10 18:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024213 -3.354722)'), GeomFromEWKT('SRID=4674;POINT (-39.024226 -3.354723)'))) / (select extract(epoch from '2026-08-10 18:25:04'::timestamp) - extract(epoch from '2026-08-10 18:24: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'), 48138, 'SRID=4674;POINT (-39.024223 -3.354722)', '2026-08-10 18:25:12', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024226 -3.354723)'), GeomFromEWKT('SRID=4674;POINT (-39.024223 -3.354722)'))) / (select extract(epoch from '2026-08-10 18:25:12'::timestamp) - extract(epoch from '2026-08-10 18:25:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024226 -3.354723)'), GeomFromEWKT('SRID=4674;POINT (-39.024223 -3.354722)'))) / (select extract(epoch from '2026-08-10 18:25:12'::timestamp) - extract(epoch from '2026-08-10 18:25: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'), 48138, 'SRID=4674;POINT (-39.024226 -3.354721)', '2026-08-10 18:25:21', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024223 -3.354722)'), GeomFromEWKT('SRID=4674;POINT (-39.024226 -3.354721)'))) / (select extract(epoch from '2026-08-10 18:25:21'::timestamp) - extract(epoch from '2026-08-10 18:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024223 -3.354722)'), GeomFromEWKT('SRID=4674;POINT (-39.024226 -3.354721)'))) / (select extract(epoch from '2026-08-10 18:25:21'::timestamp) - extract(epoch from '2026-08-10 18:25:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024234 -3.354714)', '2026-08-10 18:25:28', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024226 -3.354721)'), GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354714)'))) / (select extract(epoch from '2026-08-10 18:25:28'::timestamp) - extract(epoch from '2026-08-10 18:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024226 -3.354721)'), GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354714)'))) / (select extract(epoch from '2026-08-10 18:25:28'::timestamp) - extract(epoch from '2026-08-10 18:25:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024232 -3.354717)', '2026-08-10 18:25:34', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354714)'), GeomFromEWKT('SRID=4674;POINT (-39.024232 -3.354717)'))) / (select extract(epoch from '2026-08-10 18:25:34'::timestamp) - extract(epoch from '2026-08-10 18:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354714)'), GeomFromEWKT('SRID=4674;POINT (-39.024232 -3.354717)'))) / (select extract(epoch from '2026-08-10 18:25:34'::timestamp) - extract(epoch from '2026-08-10 18:25: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'), 48138, 'SRID=4674;POINT (-39.024234 -3.354724)', '2026-08-10 18:25:39', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024232 -3.354717)'), GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354724)'))) / (select extract(epoch from '2026-08-10 18:25:39'::timestamp) - extract(epoch from '2026-08-10 18:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024232 -3.354717)'), GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354724)'))) / (select extract(epoch from '2026-08-10 18:25:39'::timestamp) - extract(epoch from '2026-08-10 18:25: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'), 48138, 'SRID=4674;POINT (-39.024223 -3.354724)', '2026-08-10 18:25:44', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354724)'), GeomFromEWKT('SRID=4674;POINT (-39.024223 -3.354724)'))) / (select extract(epoch from '2026-08-10 18:25:44'::timestamp) - extract(epoch from '2026-08-10 18:25:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354724)'), GeomFromEWKT('SRID=4674;POINT (-39.024223 -3.354724)'))) / (select extract(epoch from '2026-08-10 18:25:44'::timestamp) - extract(epoch from '2026-08-10 18:25: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'), 48138, 'SRID=4674;POINT (-39.024227 -3.354723)', '2026-08-10 18:25:49', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024223 -3.354724)'), GeomFromEWKT('SRID=4674;POINT (-39.024227 -3.354723)'))) / (select extract(epoch from '2026-08-10 18:25:49'::timestamp) - extract(epoch from '2026-08-10 18:25:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024223 -3.354724)'), GeomFromEWKT('SRID=4674;POINT (-39.024227 -3.354723)'))) / (select extract(epoch from '2026-08-10 18:25:49'::timestamp) - extract(epoch from '2026-08-10 18:25: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'), 48138, 'SRID=4674;POINT (-39.024237 -3.354708)', '2026-08-10 18:25:55', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024227 -3.354723)'), GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354708)'))) / (select extract(epoch from '2026-08-10 18:25:55'::timestamp) - extract(epoch from '2026-08-10 18:25:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024227 -3.354723)'), GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354708)'))) / (select extract(epoch from '2026-08-10 18:25:55'::timestamp) - extract(epoch from '2026-08-10 18:25: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'), 48138, 'SRID=4674;POINT (-39.024242 -3.354703)', '2026-08-10 18:26:02', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354708)'), GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354703)'))) / (select extract(epoch from '2026-08-10 18:26:02'::timestamp) - extract(epoch from '2026-08-10 18:25:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354708)'), GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354703)'))) / (select extract(epoch from '2026-08-10 18:26:02'::timestamp) - extract(epoch from '2026-08-10 18:25: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'), 48138, 'SRID=4674;POINT (-39.024243 -3.354703)', '2026-08-10 18:26:09', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354703)'), GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354703)'))) / (select extract(epoch from '2026-08-10 18:26:09'::timestamp) - extract(epoch from '2026-08-10 18:26:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354703)'), GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354703)'))) / (select extract(epoch from '2026-08-10 18:26:09'::timestamp) - extract(epoch from '2026-08-10 18:26: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'), 48138, 'SRID=4674;POINT (-39.02424 -3.354713)', '2026-08-10 18:26:16', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354703)'), GeomFromEWKT('SRID=4674;POINT (-39.02424 -3.354713)'))) / (select extract(epoch from '2026-08-10 18:26:16'::timestamp) - extract(epoch from '2026-08-10 18:26:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354703)'), GeomFromEWKT('SRID=4674;POINT (-39.02424 -3.354713)'))) / (select extract(epoch from '2026-08-10 18:26:16'::timestamp) - extract(epoch from '2026-08-10 18:26: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'), 48138, 'SRID=4674;POINT (-39.024247 -3.354709)', '2026-08-10 18:26:26', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02424 -3.354713)'), GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354709)'))) / (select extract(epoch from '2026-08-10 18:26:26'::timestamp) - extract(epoch from '2026-08-10 18:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02424 -3.354713)'), GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354709)'))) / (select extract(epoch from '2026-08-10 18:26:26'::timestamp) - extract(epoch from '2026-08-10 18:26: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'), 48138, 'SRID=4674;POINT (-39.024237 -3.354699)', '2026-08-10 18:26:34', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354709)'), GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354699)'))) / (select extract(epoch from '2026-08-10 18:26:34'::timestamp) - extract(epoch from '2026-08-10 18:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354709)'), GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354699)'))) / (select extract(epoch from '2026-08-10 18:26:34'::timestamp) - extract(epoch from '2026-08-10 18:26: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'), 48138, 'SRID=4674;POINT (-39.024241 -3.354699)', '2026-08-10 18:26:40', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354699)'), GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354699)'))) / (select extract(epoch from '2026-08-10 18:26:40'::timestamp) - extract(epoch from '2026-08-10 18:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354699)'), GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354699)'))) / (select extract(epoch from '2026-08-10 18:26:40'::timestamp) - extract(epoch from '2026-08-10 18:26:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024243 -3.354696)', '2026-08-10 18:26:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354699)'), GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354696)'))) / (select extract(epoch from '2026-08-10 18:26:46'::timestamp) - extract(epoch from '2026-08-10 18:26:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354699)'), GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354696)'))) / (select extract(epoch from '2026-08-10 18:26:46'::timestamp) - extract(epoch from '2026-08-10 18:26: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'), 48138, 'SRID=4674;POINT (-39.024234 -3.354698)', '2026-08-10 18:26:52', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354696)'), GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354698)'))) / (select extract(epoch from '2026-08-10 18:26:52'::timestamp) - extract(epoch from '2026-08-10 18:26:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354696)'), GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354698)'))) / (select extract(epoch from '2026-08-10 18:26:52'::timestamp) - extract(epoch from '2026-08-10 18:26: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'), 48138, 'SRID=4674;POINT (-39.024227 -3.354701)', '2026-08-10 18:26:59', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354698)'), GeomFromEWKT('SRID=4674;POINT (-39.024227 -3.354701)'))) / (select extract(epoch from '2026-08-10 18:26:59'::timestamp) - extract(epoch from '2026-08-10 18:26:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354698)'), GeomFromEWKT('SRID=4674;POINT (-39.024227 -3.354701)'))) / (select extract(epoch from '2026-08-10 18:26:59'::timestamp) - extract(epoch from '2026-08-10 18:26: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'), 48138, 'SRID=4674;POINT (-39.024217 -3.354707)', '2026-08-10 18:27:09', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024227 -3.354701)'), GeomFromEWKT('SRID=4674;POINT (-39.024217 -3.354707)'))) / (select extract(epoch from '2026-08-10 18:27:09'::timestamp) - extract(epoch from '2026-08-10 18:26:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024227 -3.354701)'), GeomFromEWKT('SRID=4674;POINT (-39.024217 -3.354707)'))) / (select extract(epoch from '2026-08-10 18:27:09'::timestamp) - extract(epoch from '2026-08-10 18:26:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024213 -3.35471)', '2026-08-10 18:27:15', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024217 -3.354707)'), GeomFromEWKT('SRID=4674;POINT (-39.024213 -3.35471)'))) / (select extract(epoch from '2026-08-10 18:27:15'::timestamp) - extract(epoch from '2026-08-10 18:27:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024217 -3.354707)'), GeomFromEWKT('SRID=4674;POINT (-39.024213 -3.35471)'))) / (select extract(epoch from '2026-08-10 18:27:15'::timestamp) - extract(epoch from '2026-08-10 18:27: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'), 48138, 'SRID=4674;POINT (-39.024213 -3.354714)', '2026-08-10 18:27:21', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024213 -3.35471)'), GeomFromEWKT('SRID=4674;POINT (-39.024213 -3.354714)'))) / (select extract(epoch from '2026-08-10 18:27:21'::timestamp) - extract(epoch from '2026-08-10 18:27:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024213 -3.35471)'), GeomFromEWKT('SRID=4674;POINT (-39.024213 -3.354714)'))) / (select extract(epoch from '2026-08-10 18:27:21'::timestamp) - extract(epoch from '2026-08-10 18:27: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'), 48138, 'SRID=4674;POINT (-39.024214 -3.354722)', '2026-08-10 18:27:30', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024213 -3.354714)'), GeomFromEWKT('SRID=4674;POINT (-39.024214 -3.354722)'))) / (select extract(epoch from '2026-08-10 18:27:30'::timestamp) - extract(epoch from '2026-08-10 18:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024213 -3.354714)'), GeomFromEWKT('SRID=4674;POINT (-39.024214 -3.354722)'))) / (select extract(epoch from '2026-08-10 18:27:30'::timestamp) - extract(epoch from '2026-08-10 18:27:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024217 -3.354723)', '2026-08-10 18:27:36', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024214 -3.354722)'), GeomFromEWKT('SRID=4674;POINT (-39.024217 -3.354723)'))) / (select extract(epoch from '2026-08-10 18:27:36'::timestamp) - extract(epoch from '2026-08-10 18:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024214 -3.354722)'), GeomFromEWKT('SRID=4674;POINT (-39.024217 -3.354723)'))) / (select extract(epoch from '2026-08-10 18:27:36'::timestamp) - extract(epoch from '2026-08-10 18:27:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024224 -3.354717)', '2026-08-10 18:27:43', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024217 -3.354723)'), GeomFromEWKT('SRID=4674;POINT (-39.024224 -3.354717)'))) / (select extract(epoch from '2026-08-10 18:27:43'::timestamp) - extract(epoch from '2026-08-10 18:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024217 -3.354723)'), GeomFromEWKT('SRID=4674;POINT (-39.024224 -3.354717)'))) / (select extract(epoch from '2026-08-10 18:27:43'::timestamp) - extract(epoch from '2026-08-10 18:27: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'), 48138, 'SRID=4674;POINT (-39.024235 -3.354716)', '2026-08-10 18:27:51', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024224 -3.354717)'), GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354716)'))) / (select extract(epoch from '2026-08-10 18:27:51'::timestamp) - extract(epoch from '2026-08-10 18:27:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024224 -3.354717)'), GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354716)'))) / (select extract(epoch from '2026-08-10 18:27:51'::timestamp) - extract(epoch from '2026-08-10 18:27: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'), 48138, 'SRID=4674;POINT (-39.024239 -3.354713)', '2026-08-10 18:28:01', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354716)'), GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354713)'))) / (select extract(epoch from '2026-08-10 18:28:01'::timestamp) - extract(epoch from '2026-08-10 18:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354716)'), GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354713)'))) / (select extract(epoch from '2026-08-10 18:28:01'::timestamp) - extract(epoch from '2026-08-10 18:27:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024235 -3.354711)', '2026-08-10 18:28:09', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354713)'), GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354711)'))) / (select extract(epoch from '2026-08-10 18:28:09'::timestamp) - extract(epoch from '2026-08-10 18:28:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024239 -3.354713)'), GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354711)'))) / (select extract(epoch from '2026-08-10 18:28:09'::timestamp) - extract(epoch from '2026-08-10 18:28: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'), 48138, 'SRID=4674;POINT (-39.024234 -3.354715)', '2026-08-10 18:28:16', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354711)'), GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354715)'))) / (select extract(epoch from '2026-08-10 18:28:16'::timestamp) - extract(epoch from '2026-08-10 18:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024235 -3.354711)'), GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354715)'))) / (select extract(epoch from '2026-08-10 18:28:16'::timestamp) - extract(epoch from '2026-08-10 18:28: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'), 48138, 'SRID=4674;POINT (-39.024234 -3.354718)', '2026-08-10 18:28:21', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354715)'), GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354718)'))) / (select extract(epoch from '2026-08-10 18:28:21'::timestamp) - extract(epoch from '2026-08-10 18:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354715)'), GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354718)'))) / (select extract(epoch from '2026-08-10 18:28:21'::timestamp) - extract(epoch from '2026-08-10 18:28: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'), 48138, 'SRID=4674;POINT (-39.024225 -3.354717)', '2026-08-10 18:28:27', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354718)'), GeomFromEWKT('SRID=4674;POINT (-39.024225 -3.354717)'))) / (select extract(epoch from '2026-08-10 18:28:27'::timestamp) - extract(epoch from '2026-08-10 18:28:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354718)'), GeomFromEWKT('SRID=4674;POINT (-39.024225 -3.354717)'))) / (select extract(epoch from '2026-08-10 18:28:27'::timestamp) - extract(epoch from '2026-08-10 18:28: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'), 48138, 'SRID=4674;POINT (-39.024236 -3.35471)', '2026-08-10 18:28:35', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024225 -3.354717)'), GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.35471)'))) / (select extract(epoch from '2026-08-10 18:28:35'::timestamp) - extract(epoch from '2026-08-10 18:28:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024225 -3.354717)'), GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.35471)'))) / (select extract(epoch from '2026-08-10 18:28:35'::timestamp) - extract(epoch from '2026-08-10 18:28: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'), 48138, 'SRID=4674;POINT (-39.024245 -3.3547)', '2026-08-10 18:28:42', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.35471)'), GeomFromEWKT('SRID=4674;POINT (-39.024245 -3.3547)'))) / (select extract(epoch from '2026-08-10 18:28:42'::timestamp) - extract(epoch from '2026-08-10 18:28:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.35471)'), GeomFromEWKT('SRID=4674;POINT (-39.024245 -3.3547)'))) / (select extract(epoch from '2026-08-10 18:28:42'::timestamp) - extract(epoch from '2026-08-10 18:28:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024247 -3.354702)', '2026-08-10 18:28:52', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024245 -3.3547)'), GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354702)'))) / (select extract(epoch from '2026-08-10 18:28:52'::timestamp) - extract(epoch from '2026-08-10 18:28:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024245 -3.3547)'), GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354702)'))) / (select extract(epoch from '2026-08-10 18:28:52'::timestamp) - extract(epoch from '2026-08-10 18:28: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'), 48138, 'SRID=4674;POINT (-39.024246 -3.354709)', '2026-08-10 18:29:00', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354702)'), GeomFromEWKT('SRID=4674;POINT (-39.024246 -3.354709)'))) / (select extract(epoch from '2026-08-10 18:29:00'::timestamp) - extract(epoch from '2026-08-10 18:28:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354702)'), GeomFromEWKT('SRID=4674;POINT (-39.024246 -3.354709)'))) / (select extract(epoch from '2026-08-10 18:29:00'::timestamp) - extract(epoch from '2026-08-10 18:28: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'), 48138, 'SRID=4674;POINT (-39.024254 -3.354709)', '2026-08-10 18:29:10', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024246 -3.354709)'), GeomFromEWKT('SRID=4674;POINT (-39.024254 -3.354709)'))) / (select extract(epoch from '2026-08-10 18:29:10'::timestamp) - extract(epoch from '2026-08-10 18:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024246 -3.354709)'), GeomFromEWKT('SRID=4674;POINT (-39.024254 -3.354709)'))) / (select extract(epoch from '2026-08-10 18:29:10'::timestamp) - extract(epoch from '2026-08-10 18:29:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024266 -3.354717)', '2026-08-10 18:29:21', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024254 -3.354709)'), GeomFromEWKT('SRID=4674;POINT (-39.024266 -3.354717)'))) / (select extract(epoch from '2026-08-10 18:29:21'::timestamp) - extract(epoch from '2026-08-10 18:29:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024254 -3.354709)'), GeomFromEWKT('SRID=4674;POINT (-39.024266 -3.354717)'))) / (select extract(epoch from '2026-08-10 18:29:21'::timestamp) - extract(epoch from '2026-08-10 18:29: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'), 48138, 'SRID=4674;POINT (-39.024259 -3.354707)', '2026-08-10 18:29:26', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024266 -3.354717)'), GeomFromEWKT('SRID=4674;POINT (-39.024259 -3.354707)'))) / (select extract(epoch from '2026-08-10 18:29:26'::timestamp) - extract(epoch from '2026-08-10 18:29:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024266 -3.354717)'), GeomFromEWKT('SRID=4674;POINT (-39.024259 -3.354707)'))) / (select extract(epoch from '2026-08-10 18:29:26'::timestamp) - extract(epoch from '2026-08-10 18:29: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'), 48138, 'SRID=4674;POINT (-39.024268 -3.354708)', '2026-08-10 18:29:34', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024259 -3.354707)'), GeomFromEWKT('SRID=4674;POINT (-39.024268 -3.354708)'))) / (select extract(epoch from '2026-08-10 18:29:34'::timestamp) - extract(epoch from '2026-08-10 18:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024259 -3.354707)'), GeomFromEWKT('SRID=4674;POINT (-39.024268 -3.354708)'))) / (select extract(epoch from '2026-08-10 18:29:34'::timestamp) - extract(epoch from '2026-08-10 18:29: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'), 48138, 'SRID=4674;POINT (-39.024272 -3.354709)', '2026-08-10 18:29:43', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024268 -3.354708)'), GeomFromEWKT('SRID=4674;POINT (-39.024272 -3.354709)'))) / (select extract(epoch from '2026-08-10 18:29:43'::timestamp) - extract(epoch from '2026-08-10 18:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024268 -3.354708)'), GeomFromEWKT('SRID=4674;POINT (-39.024272 -3.354709)'))) / (select extract(epoch from '2026-08-10 18:29:43'::timestamp) - extract(epoch from '2026-08-10 18:29: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'), 48138, 'SRID=4674;POINT (-39.024273 -3.354715)', '2026-08-10 18:29:57', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024272 -3.354709)'), GeomFromEWKT('SRID=4674;POINT (-39.024273 -3.354715)'))) / (select extract(epoch from '2026-08-10 18:29:57'::timestamp) - extract(epoch from '2026-08-10 18:29:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024272 -3.354709)'), GeomFromEWKT('SRID=4674;POINT (-39.024273 -3.354715)'))) / (select extract(epoch from '2026-08-10 18:29:57'::timestamp) - extract(epoch from '2026-08-10 18:29: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'), 48138, 'SRID=4674;POINT (-39.02428 -3.354729)', '2026-08-10 18:30:06', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024273 -3.354715)'), GeomFromEWKT('SRID=4674;POINT (-39.02428 -3.354729)'))) / (select extract(epoch from '2026-08-10 18:30:06'::timestamp) - extract(epoch from '2026-08-10 18:29:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024273 -3.354715)'), GeomFromEWKT('SRID=4674;POINT (-39.02428 -3.354729)'))) / (select extract(epoch from '2026-08-10 18:30:06'::timestamp) - extract(epoch from '2026-08-10 18:29: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'), 48138, 'SRID=4674;POINT (-39.024286 -3.354737)', '2026-08-10 18:30:14', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02428 -3.354729)'), GeomFromEWKT('SRID=4674;POINT (-39.024286 -3.354737)'))) / (select extract(epoch from '2026-08-10 18:30:14'::timestamp) - extract(epoch from '2026-08-10 18:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02428 -3.354729)'), GeomFromEWKT('SRID=4674;POINT (-39.024286 -3.354737)'))) / (select extract(epoch from '2026-08-10 18:30:14'::timestamp) - extract(epoch from '2026-08-10 18:30: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'), 48138, 'SRID=4674;POINT (-39.024292 -3.35473)', '2026-08-10 18:30:22', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024286 -3.354737)'), GeomFromEWKT('SRID=4674;POINT (-39.024292 -3.35473)'))) / (select extract(epoch from '2026-08-10 18:30:22'::timestamp) - extract(epoch from '2026-08-10 18:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024286 -3.354737)'), GeomFromEWKT('SRID=4674;POINT (-39.024292 -3.35473)'))) / (select extract(epoch from '2026-08-10 18:30:22'::timestamp) - extract(epoch from '2026-08-10 18:30: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'), 48138, 'SRID=4674;POINT (-39.024282 -3.35473)', '2026-08-10 18:30:28', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024292 -3.35473)'), GeomFromEWKT('SRID=4674;POINT (-39.024282 -3.35473)'))) / (select extract(epoch from '2026-08-10 18:30:28'::timestamp) - extract(epoch from '2026-08-10 18:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024292 -3.35473)'), GeomFromEWKT('SRID=4674;POINT (-39.024282 -3.35473)'))) / (select extract(epoch from '2026-08-10 18:30:28'::timestamp) - extract(epoch from '2026-08-10 18:30: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'), 48138, 'SRID=4674;POINT (-39.024288 -3.354742)', '2026-08-10 18:30:34', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024282 -3.35473)'), GeomFromEWKT('SRID=4674;POINT (-39.024288 -3.354742)'))) / (select extract(epoch from '2026-08-10 18:30:34'::timestamp) - extract(epoch from '2026-08-10 18:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024282 -3.35473)'), GeomFromEWKT('SRID=4674;POINT (-39.024288 -3.354742)'))) / (select extract(epoch from '2026-08-10 18:30:34'::timestamp) - extract(epoch from '2026-08-10 18:30: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'), 48138, 'SRID=4674;POINT (-39.024293 -3.354728)', '2026-08-10 18:30:41', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024288 -3.354742)'), GeomFromEWKT('SRID=4674;POINT (-39.024293 -3.354728)'))) / (select extract(epoch from '2026-08-10 18:30:41'::timestamp) - extract(epoch from '2026-08-10 18:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024288 -3.354742)'), GeomFromEWKT('SRID=4674;POINT (-39.024293 -3.354728)'))) / (select extract(epoch from '2026-08-10 18:30:41'::timestamp) - extract(epoch from '2026-08-10 18:30:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024289 -3.354734)', '2026-08-10 18:30:48', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024293 -3.354728)'), GeomFromEWKT('SRID=4674;POINT (-39.024289 -3.354734)'))) / (select extract(epoch from '2026-08-10 18:30:48'::timestamp) - extract(epoch from '2026-08-10 18:30:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024293 -3.354728)'), GeomFromEWKT('SRID=4674;POINT (-39.024289 -3.354734)'))) / (select extract(epoch from '2026-08-10 18:30:48'::timestamp) - extract(epoch from '2026-08-10 18:30: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'), 48138, 'SRID=4674;POINT (-39.024289 -3.354741)', '2026-08-10 18:31:00', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024289 -3.354734)'), GeomFromEWKT('SRID=4674;POINT (-39.024289 -3.354741)'))) / (select extract(epoch from '2026-08-10 18:31:00'::timestamp) - extract(epoch from '2026-08-10 18:30:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024289 -3.354734)'), GeomFromEWKT('SRID=4674;POINT (-39.024289 -3.354741)'))) / (select extract(epoch from '2026-08-10 18:31:00'::timestamp) - extract(epoch from '2026-08-10 18:30: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'), 48138, 'SRID=4674;POINT (-39.02429 -3.354739)', '2026-08-10 18:31:11', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024289 -3.354741)'), GeomFromEWKT('SRID=4674;POINT (-39.02429 -3.354739)'))) / (select extract(epoch from '2026-08-10 18:31:11'::timestamp) - extract(epoch from '2026-08-10 18:31:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024289 -3.354741)'), GeomFromEWKT('SRID=4674;POINT (-39.02429 -3.354739)'))) / (select extract(epoch from '2026-08-10 18:31:11'::timestamp) - extract(epoch from '2026-08-10 18:31: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'), 48138, 'SRID=4674;POINT (-39.024291 -3.354729)', '2026-08-10 18:31:19', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02429 -3.354739)'), GeomFromEWKT('SRID=4674;POINT (-39.024291 -3.354729)'))) / (select extract(epoch from '2026-08-10 18:31:19'::timestamp) - extract(epoch from '2026-08-10 18:31:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02429 -3.354739)'), GeomFromEWKT('SRID=4674;POINT (-39.024291 -3.354729)'))) / (select extract(epoch from '2026-08-10 18:31:19'::timestamp) - extract(epoch from '2026-08-10 18:31: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'), 48138, 'SRID=4674;POINT (-39.024292 -3.354716)', '2026-08-10 18:31:31', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024291 -3.354729)'), GeomFromEWKT('SRID=4674;POINT (-39.024292 -3.354716)'))) / (select extract(epoch from '2026-08-10 18:31:31'::timestamp) - extract(epoch from '2026-08-10 18:31:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024291 -3.354729)'), GeomFromEWKT('SRID=4674;POINT (-39.024292 -3.354716)'))) / (select extract(epoch from '2026-08-10 18:31:31'::timestamp) - extract(epoch from '2026-08-10 18:31: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'), 48138, 'SRID=4674;POINT (-39.024284 -3.354703)', '2026-08-10 18:31:41', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024292 -3.354716)'), GeomFromEWKT('SRID=4674;POINT (-39.024284 -3.354703)'))) / (select extract(epoch from '2026-08-10 18:31:41'::timestamp) - extract(epoch from '2026-08-10 18:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024292 -3.354716)'), GeomFromEWKT('SRID=4674;POINT (-39.024284 -3.354703)'))) / (select extract(epoch from '2026-08-10 18:31:41'::timestamp) - extract(epoch from '2026-08-10 18:31: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'), 48138, 'SRID=4674;POINT (-39.024286 -3.354698)', '2026-08-10 18:31:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024284 -3.354703)'), GeomFromEWKT('SRID=4674;POINT (-39.024286 -3.354698)'))) / (select extract(epoch from '2026-08-10 18:31:46'::timestamp) - extract(epoch from '2026-08-10 18:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024284 -3.354703)'), GeomFromEWKT('SRID=4674;POINT (-39.024286 -3.354698)'))) / (select extract(epoch from '2026-08-10 18:31:46'::timestamp) - extract(epoch from '2026-08-10 18:31: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'), 48138, 'SRID=4674;POINT (-39.024281 -3.354698)', '2026-08-10 18:31:54', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024286 -3.354698)'), GeomFromEWKT('SRID=4674;POINT (-39.024281 -3.354698)'))) / (select extract(epoch from '2026-08-10 18:31:54'::timestamp) - extract(epoch from '2026-08-10 18:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024286 -3.354698)'), GeomFromEWKT('SRID=4674;POINT (-39.024281 -3.354698)'))) / (select extract(epoch from '2026-08-10 18:31:54'::timestamp) - extract(epoch from '2026-08-10 18:31: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'), 48138, 'SRID=4674;POINT (-39.024282 -3.354694)', '2026-08-10 18:32:02', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024281 -3.354698)'), GeomFromEWKT('SRID=4674;POINT (-39.024282 -3.354694)'))) / (select extract(epoch from '2026-08-10 18:32:02'::timestamp) - extract(epoch from '2026-08-10 18:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024281 -3.354698)'), GeomFromEWKT('SRID=4674;POINT (-39.024282 -3.354694)'))) / (select extract(epoch from '2026-08-10 18:32:02'::timestamp) - extract(epoch from '2026-08-10 18:31: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'), 48138, 'SRID=4674;POINT (-39.024283 -3.354694)', '2026-08-10 18:32:07', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024282 -3.354694)'), GeomFromEWKT('SRID=4674;POINT (-39.024283 -3.354694)'))) / (select extract(epoch from '2026-08-10 18:32:07'::timestamp) - extract(epoch from '2026-08-10 18:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024282 -3.354694)'), GeomFromEWKT('SRID=4674;POINT (-39.024283 -3.354694)'))) / (select extract(epoch from '2026-08-10 18:32:07'::timestamp) - extract(epoch from '2026-08-10 18:32: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'), 48138, 'SRID=4674;POINT (-39.024284 -3.354694)', '2026-08-10 18:32:16', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024283 -3.354694)'), GeomFromEWKT('SRID=4674;POINT (-39.024284 -3.354694)'))) / (select extract(epoch from '2026-08-10 18:32:16'::timestamp) - extract(epoch from '2026-08-10 18:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024283 -3.354694)'), GeomFromEWKT('SRID=4674;POINT (-39.024284 -3.354694)'))) / (select extract(epoch from '2026-08-10 18:32:16'::timestamp) - extract(epoch from '2026-08-10 18:32: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'), 48138, 'SRID=4674;POINT (-39.024283 -3.354697)', '2026-08-10 18:32:24', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024284 -3.354694)'), GeomFromEWKT('SRID=4674;POINT (-39.024283 -3.354697)'))) / (select extract(epoch from '2026-08-10 18:32:24'::timestamp) - extract(epoch from '2026-08-10 18:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024284 -3.354694)'), GeomFromEWKT('SRID=4674;POINT (-39.024283 -3.354697)'))) / (select extract(epoch from '2026-08-10 18:32:24'::timestamp) - extract(epoch from '2026-08-10 18:32: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'), 48138, 'SRID=4674;POINT (-39.024278 -3.354695)', '2026-08-10 18:32:32', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024283 -3.354697)'), GeomFromEWKT('SRID=4674;POINT (-39.024278 -3.354695)'))) / (select extract(epoch from '2026-08-10 18:32:32'::timestamp) - extract(epoch from '2026-08-10 18:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024283 -3.354697)'), GeomFromEWKT('SRID=4674;POINT (-39.024278 -3.354695)'))) / (select extract(epoch from '2026-08-10 18:32:32'::timestamp) - extract(epoch from '2026-08-10 18:32: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'), 48138, 'SRID=4674;POINT (-39.024276 -3.354697)', '2026-08-10 18:32:37', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024278 -3.354695)'), GeomFromEWKT('SRID=4674;POINT (-39.024276 -3.354697)'))) / (select extract(epoch from '2026-08-10 18:32:37'::timestamp) - extract(epoch from '2026-08-10 18:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024278 -3.354695)'), GeomFromEWKT('SRID=4674;POINT (-39.024276 -3.354697)'))) / (select extract(epoch from '2026-08-10 18:32:37'::timestamp) - extract(epoch from '2026-08-10 18:32: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'), 48138, 'SRID=4674;POINT (-39.024281 -3.354704)', '2026-08-10 18:32:46', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024276 -3.354697)'), GeomFromEWKT('SRID=4674;POINT (-39.024281 -3.354704)'))) / (select extract(epoch from '2026-08-10 18:32:46'::timestamp) - extract(epoch from '2026-08-10 18:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024276 -3.354697)'), GeomFromEWKT('SRID=4674;POINT (-39.024281 -3.354704)'))) / (select extract(epoch from '2026-08-10 18:32:46'::timestamp) - extract(epoch from '2026-08-10 18:32: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'), 48138, 'SRID=4674;POINT (-39.024272 -3.354706)', '2026-08-10 18:32:53', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024281 -3.354704)'), GeomFromEWKT('SRID=4674;POINT (-39.024272 -3.354706)'))) / (select extract(epoch from '2026-08-10 18:32:53'::timestamp) - extract(epoch from '2026-08-10 18:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024281 -3.354704)'), GeomFromEWKT('SRID=4674;POINT (-39.024272 -3.354706)'))) / (select extract(epoch from '2026-08-10 18:32:53'::timestamp) - extract(epoch from '2026-08-10 18:32: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'), 48138, 'SRID=4674;POINT (-39.024254 -3.354711)', '2026-08-10 18:33:02', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024272 -3.354706)'), GeomFromEWKT('SRID=4674;POINT (-39.024254 -3.354711)'))) / (select extract(epoch from '2026-08-10 18:33:02'::timestamp) - extract(epoch from '2026-08-10 18:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024272 -3.354706)'), GeomFromEWKT('SRID=4674;POINT (-39.024254 -3.354711)'))) / (select extract(epoch from '2026-08-10 18:33:02'::timestamp) - extract(epoch from '2026-08-10 18:32: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'), 48138, 'SRID=4674;POINT (-39.024255 -3.354721)', '2026-08-10 18:33:11', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024254 -3.354711)'), GeomFromEWKT('SRID=4674;POINT (-39.024255 -3.354721)'))) / (select extract(epoch from '2026-08-10 18:33:11'::timestamp) - extract(epoch from '2026-08-10 18:33:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024254 -3.354711)'), GeomFromEWKT('SRID=4674;POINT (-39.024255 -3.354721)'))) / (select extract(epoch from '2026-08-10 18:33:11'::timestamp) - extract(epoch from '2026-08-10 18:33: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'), 48138, 'SRID=4674;POINT (-39.024247 -3.354724)', '2026-08-10 18:33:19', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024255 -3.354721)'), GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354724)'))) / (select extract(epoch from '2026-08-10 18:33:19'::timestamp) - extract(epoch from '2026-08-10 18:33:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024255 -3.354721)'), GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354724)'))) / (select extract(epoch from '2026-08-10 18:33:19'::timestamp) - extract(epoch from '2026-08-10 18:33:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024242 -3.354724)', '2026-08-10 18:33:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354724)'), GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354724)'))) / (select extract(epoch from '2026-08-10 18:33:28'::timestamp) - extract(epoch from '2026-08-10 18:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024247 -3.354724)'), GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354724)'))) / (select extract(epoch from '2026-08-10 18:33:28'::timestamp) - extract(epoch from '2026-08-10 18:33: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'), 48138, 'SRID=4674;POINT (-39.024237 -3.354714)', '2026-08-10 18:33:33', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354724)'), GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354714)'))) / (select extract(epoch from '2026-08-10 18:33:33'::timestamp) - extract(epoch from '2026-08-10 18:33:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.354724)'), GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354714)'))) / (select extract(epoch from '2026-08-10 18:33:33'::timestamp) - extract(epoch from '2026-08-10 18:33: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'), 48138, 'SRID=4674;POINT (-39.024243 -3.354714)', '2026-08-10 18:33:43', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354714)'), GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354714)'))) / (select extract(epoch from '2026-08-10 18:33:43'::timestamp) - extract(epoch from '2026-08-10 18:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354714)'), GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354714)'))) / (select extract(epoch from '2026-08-10 18:33:43'::timestamp) - extract(epoch from '2026-08-10 18:33: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'), 48138, 'SRID=4674;POINT (-39.024248 -3.354714)', '2026-08-10 18:33:52', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354714)'), GeomFromEWKT('SRID=4674;POINT (-39.024248 -3.354714)'))) / (select extract(epoch from '2026-08-10 18:33:52'::timestamp) - extract(epoch from '2026-08-10 18:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.354714)'), GeomFromEWKT('SRID=4674;POINT (-39.024248 -3.354714)'))) / (select extract(epoch from '2026-08-10 18:33:52'::timestamp) - extract(epoch from '2026-08-10 18:33: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'), 48138, 'SRID=4674;POINT (-39.02424 -3.354715)', '2026-08-10 18:34:00', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024248 -3.354714)'), GeomFromEWKT('SRID=4674;POINT (-39.02424 -3.354715)'))) / (select extract(epoch from '2026-08-10 18:34:00'::timestamp) - extract(epoch from '2026-08-10 18:33:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024248 -3.354714)'), GeomFromEWKT('SRID=4674;POINT (-39.02424 -3.354715)'))) / (select extract(epoch from '2026-08-10 18:34:00'::timestamp) - extract(epoch from '2026-08-10 18:33: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'), 48138, 'SRID=4674;POINT (-39.024245 -3.354715)', '2026-08-10 18:34:11', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02424 -3.354715)'), GeomFromEWKT('SRID=4674;POINT (-39.024245 -3.354715)'))) / (select extract(epoch from '2026-08-10 18:34:11'::timestamp) - extract(epoch from '2026-08-10 18:34:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02424 -3.354715)'), GeomFromEWKT('SRID=4674;POINT (-39.024245 -3.354715)'))) / (select extract(epoch from '2026-08-10 18:34:11'::timestamp) - extract(epoch from '2026-08-10 18:34: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'), 48138, 'SRID=4674;POINT (-39.024249 -3.354711)', '2026-08-10 18:34:22', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024245 -3.354715)'), GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354711)'))) / (select extract(epoch from '2026-08-10 18:34:22'::timestamp) - extract(epoch from '2026-08-10 18:34:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024245 -3.354715)'), GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354711)'))) / (select extract(epoch from '2026-08-10 18:34:22'::timestamp) - extract(epoch from '2026-08-10 18:34: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'), 48138, 'SRID=4674;POINT (-39.024241 -3.354712)', '2026-08-10 18:34:31', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354711)'), GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354712)'))) / (select extract(epoch from '2026-08-10 18:34:31'::timestamp) - extract(epoch from '2026-08-10 18:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024249 -3.354711)'), GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354712)'))) / (select extract(epoch from '2026-08-10 18:34:31'::timestamp) - extract(epoch from '2026-08-10 18:34: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'), 48138, 'SRID=4674;POINT (-39.024228 -3.35471)', '2026-08-10 18:34:42', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354712)'), GeomFromEWKT('SRID=4674;POINT (-39.024228 -3.35471)'))) / (select extract(epoch from '2026-08-10 18:34:42'::timestamp) - extract(epoch from '2026-08-10 18:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024241 -3.354712)'), GeomFromEWKT('SRID=4674;POINT (-39.024228 -3.35471)'))) / (select extract(epoch from '2026-08-10 18:34:42'::timestamp) - extract(epoch from '2026-08-10 18:34: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'), 48138, 'SRID=4674;POINT (-39.024224 -3.354708)', '2026-08-10 18:34:48', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024228 -3.35471)'), GeomFromEWKT('SRID=4674;POINT (-39.024224 -3.354708)'))) / (select extract(epoch from '2026-08-10 18:34:48'::timestamp) - extract(epoch from '2026-08-10 18:34:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024228 -3.35471)'), GeomFromEWKT('SRID=4674;POINT (-39.024224 -3.354708)'))) / (select extract(epoch from '2026-08-10 18:34:48'::timestamp) - extract(epoch from '2026-08-10 18: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'), 48138, 'SRID=4674;POINT (-39.024234 -3.354708)', '2026-08-10 18:34:56', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024224 -3.354708)'), GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354708)'))) / (select extract(epoch from '2026-08-10 18:34:56'::timestamp) - extract(epoch from '2026-08-10 18:34:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024224 -3.354708)'), GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354708)'))) / (select extract(epoch from '2026-08-10 18:34:56'::timestamp) - extract(epoch from '2026-08-10 18: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'), 48138, 'SRID=4674;POINT (-39.02424 -3.354714)', '2026-08-10 18:35:02', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354708)'), GeomFromEWKT('SRID=4674;POINT (-39.02424 -3.354714)'))) / (select extract(epoch from '2026-08-10 18:35:02'::timestamp) - extract(epoch from '2026-08-10 18:34:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354708)'), GeomFromEWKT('SRID=4674;POINT (-39.02424 -3.354714)'))) / (select extract(epoch from '2026-08-10 18:35:02'::timestamp) - extract(epoch from '2026-08-10 18:34: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'), 48138, 'SRID=4674;POINT (-39.024237 -3.354712)', '2026-08-10 18:35:15', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02424 -3.354714)'), GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354712)'))) / (select extract(epoch from '2026-08-10 18:35:15'::timestamp) - extract(epoch from '2026-08-10 18:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02424 -3.354714)'), GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354712)'))) / (select extract(epoch from '2026-08-10 18:35:15'::timestamp) - extract(epoch from '2026-08-10 18:35: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'), 48138, 'SRID=4674;POINT (-39.02423 -3.354703)', '2026-08-10 18:35:26', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354712)'), GeomFromEWKT('SRID=4674;POINT (-39.02423 -3.354703)'))) / (select extract(epoch from '2026-08-10 18:35:26'::timestamp) - extract(epoch from '2026-08-10 18:35:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354712)'), GeomFromEWKT('SRID=4674;POINT (-39.02423 -3.354703)'))) / (select extract(epoch from '2026-08-10 18:35:26'::timestamp) - extract(epoch from '2026-08-10 18:35: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'), 48138, 'SRID=4674;POINT (-39.02423 -3.35471)', '2026-08-10 18:35:35', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02423 -3.354703)'), GeomFromEWKT('SRID=4674;POINT (-39.02423 -3.35471)'))) / (select extract(epoch from '2026-08-10 18:35:35'::timestamp) - extract(epoch from '2026-08-10 18:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02423 -3.354703)'), GeomFromEWKT('SRID=4674;POINT (-39.02423 -3.35471)'))) / (select extract(epoch from '2026-08-10 18:35:35'::timestamp) - extract(epoch from '2026-08-10 18:35: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'), 48138, 'SRID=4674;POINT (-39.024237 -3.354725)', '2026-08-10 18:35:43', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02423 -3.35471)'), GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354725)'))) / (select extract(epoch from '2026-08-10 18:35:43'::timestamp) - extract(epoch from '2026-08-10 18:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02423 -3.35471)'), GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354725)'))) / (select extract(epoch from '2026-08-10 18:35:43'::timestamp) - extract(epoch from '2026-08-10 18:35: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'), 48138, 'SRID=4674;POINT (-39.024236 -3.354724)', '2026-08-10 18:35:51', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354725)'), GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354724)'))) / (select extract(epoch from '2026-08-10 18:35:51'::timestamp) - extract(epoch from '2026-08-10 18:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024237 -3.354725)'), GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354724)'))) / (select extract(epoch from '2026-08-10 18:35:51'::timestamp) - extract(epoch from '2026-08-10 18:35: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'), 48138, 'SRID=4674;POINT (-39.024233 -3.354731)', '2026-08-10 18:35:59', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354724)'), GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.354731)'))) / (select extract(epoch from '2026-08-10 18:35:59'::timestamp) - extract(epoch from '2026-08-10 18:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354724)'), GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.354731)'))) / (select extract(epoch from '2026-08-10 18:35:59'::timestamp) - extract(epoch from '2026-08-10 18:35: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'), 48138, 'SRID=4674;POINT (-39.024224 -3.354739)', '2026-08-10 18:36:10', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.354731)'), GeomFromEWKT('SRID=4674;POINT (-39.024224 -3.354739)'))) / (select extract(epoch from '2026-08-10 18:36:10'::timestamp) - extract(epoch from '2026-08-10 18:35:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.354731)'), GeomFromEWKT('SRID=4674;POINT (-39.024224 -3.354739)'))) / (select extract(epoch from '2026-08-10 18:36:10'::timestamp) - extract(epoch from '2026-08-10 18:35: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'), 48138, 'SRID=4674;POINT (-39.024218 -3.354728)', '2026-08-10 18:36:14', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024224 -3.354739)'), GeomFromEWKT('SRID=4674;POINT (-39.024218 -3.354728)'))) / (select extract(epoch from '2026-08-10 18:36:14'::timestamp) - extract(epoch from '2026-08-10 18:36:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024224 -3.354739)'), GeomFromEWKT('SRID=4674;POINT (-39.024218 -3.354728)'))) / (select extract(epoch from '2026-08-10 18:36:14'::timestamp) - extract(epoch from '2026-08-10 18:36:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024205 -3.354731)', '2026-08-10 18:36:23', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024218 -3.354728)'), GeomFromEWKT('SRID=4674;POINT (-39.024205 -3.354731)'))) / (select extract(epoch from '2026-08-10 18:36:23'::timestamp) - extract(epoch from '2026-08-10 18:36:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024218 -3.354728)'), GeomFromEWKT('SRID=4674;POINT (-39.024205 -3.354731)'))) / (select extract(epoch from '2026-08-10 18:36:23'::timestamp) - extract(epoch from '2026-08-10 18:36: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'), 48138, 'SRID=4674;POINT (-39.024216 -3.354728)', '2026-08-10 18:36:32', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024205 -3.354731)'), GeomFromEWKT('SRID=4674;POINT (-39.024216 -3.354728)'))) / (select extract(epoch from '2026-08-10 18:36:32'::timestamp) - extract(epoch from '2026-08-10 18:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024205 -3.354731)'), GeomFromEWKT('SRID=4674;POINT (-39.024216 -3.354728)'))) / (select extract(epoch from '2026-08-10 18:36:32'::timestamp) - extract(epoch from '2026-08-10 18: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'), 48138, 'SRID=4674;POINT (-39.024224 -3.354726)', '2026-08-10 18:36:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024216 -3.354728)'), GeomFromEWKT('SRID=4674;POINT (-39.024224 -3.354726)'))) / (select extract(epoch from '2026-08-10 18:36:46'::timestamp) - extract(epoch from '2026-08-10 18:36:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024216 -3.354728)'), GeomFromEWKT('SRID=4674;POINT (-39.024224 -3.354726)'))) / (select extract(epoch from '2026-08-10 18:36:46'::timestamp) - extract(epoch from '2026-08-10 18:36: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'), 48138, 'SRID=4674;POINT (-39.024227 -3.354718)', '2026-08-10 18:36:52', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024224 -3.354726)'), GeomFromEWKT('SRID=4674;POINT (-39.024227 -3.354718)'))) / (select extract(epoch from '2026-08-10 18:36:52'::timestamp) - extract(epoch from '2026-08-10 18:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024224 -3.354726)'), GeomFromEWKT('SRID=4674;POINT (-39.024227 -3.354718)'))) / (select extract(epoch from '2026-08-10 18:36:52'::timestamp) - extract(epoch from '2026-08-10 18:36:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024233 -3.354707)', '2026-08-10 18:37:01', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024227 -3.354718)'), GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.354707)'))) / (select extract(epoch from '2026-08-10 18:37:01'::timestamp) - extract(epoch from '2026-08-10 18:36:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024227 -3.354718)'), GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.354707)'))) / (select extract(epoch from '2026-08-10 18:37:01'::timestamp) - extract(epoch from '2026-08-10 18:36: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'), 48138, 'SRID=4674;POINT (-39.02423 -3.354696)', '2026-08-10 18:37:08', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.354707)'), GeomFromEWKT('SRID=4674;POINT (-39.02423 -3.354696)'))) / (select extract(epoch from '2026-08-10 18:37:08'::timestamp) - extract(epoch from '2026-08-10 18:37:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024233 -3.354707)'), GeomFromEWKT('SRID=4674;POINT (-39.02423 -3.354696)'))) / (select extract(epoch from '2026-08-10 18:37:08'::timestamp) - extract(epoch from '2026-08-10 18:37: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'), 48138, 'SRID=4674;POINT (-39.024232 -3.354708)', '2026-08-10 18:37:16', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02423 -3.354696)'), GeomFromEWKT('SRID=4674;POINT (-39.024232 -3.354708)'))) / (select extract(epoch from '2026-08-10 18:37:16'::timestamp) - extract(epoch from '2026-08-10 18:37:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02423 -3.354696)'), GeomFromEWKT('SRID=4674;POINT (-39.024232 -3.354708)'))) / (select extract(epoch from '2026-08-10 18:37:16'::timestamp) - extract(epoch from '2026-08-10 18:37:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
